vim command

Writing shell scripts in vim I usually go search for functions or something. Copy lines and then go back to where I was and modify the code. However, I need to manually navigate way back to the previous / last position. How can I automatically go back to where I was when I started my search operation under vim?

{ 2 comments }

I am a new Linux/Unix user. How do I exit the VIM / vi editor on Linux/Unix-like operating systems?

{ 0 comments }