So right now when I want to move the view I use shift middle mouse button and move. But is it possible to move the view with spacebar and moving the mouse?
In Blender 2.79 (and maybe 2.8, but I haven't seen that) go to File/User Settings, click on the Input tab at the top, and there you have the different areas with their commands and hotkeys. At the top is a field where "Name" is written - click on that and change it to "key binding" then you can type in the known hotkey in the Search field, (where there's a magnifying glass) to find the command you want, and then you can change it.. I typed "shift" and "middle" and before I typed "mouse button" the command was shown underneath with the hotkeys next to it - you can click on "mouse" and change it to keyboard, then in the field beside it and press on the spacebar
Edit - I just reread your question and you want it to be Spacebar plus Mouse - so try clicking around and finding out what your options are - that's the place to do it anyway.
no :) click shift and middle mouse button and drag the mouse to strafe across the screen.
I was able to set such behavior with the following steps in the Blender2.8 keymap.
Added “Pan View ([view3d.move] command)” to 3DView> 3DView (Global). Registers the keyboard space bar in "Click Drag" mode.
Uncheck "Frames> Play Animation" if you don't want it to conflict with animation playback.