vim text editor

I am new to Linux sysadmin work. I am using vi / vim text editor to edit files located in /etc/ directory. I open files using

vi /etc/resolv.conf /etc/hosts

I can edit the /etc/resolv.conf file only. How do I switch between the two open files while using vim text editor under Linux / BSD / Apple OS X / Unix like operating systems?

{ 11 comments }

How do I open a text file using VIM or VI and go to specific line? How do I open a file using vim and go to specific function() in my source code?

{ 8 comments }

I‘m new to Linux or UNIX like operating system. I just wanted to create a file called demo.txt and save & close it using vi text editor. How do I save a file using vi?

{ 10 comments }

I can use less or more pagers to view a file. How do I start an editor (such as vi or other text editor) to edit the current file without leaving the less or more pager command?

{ 6 comments }

How do I open and edit multiple files under VIM text editor running under Ubuntu Linux / UNIX operating systems to improve my productivity?

{ 25 comments }

I’m just starting in vim text editor but I’m annoying typing and retyping similar statements. Can you address me about it?

{ 5 comments }

Can you tell me few useful vim text editor keyboard short cuts for moving around while editing text files?

{ 2 comments }