How to reload an opened file with vim
Answer:
To reload an opened file with vim, you can type in the command mode:
: edit
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to reload an opened file with vim
Answer:
To reload an opened file with vim, you can type in the command mode:
: edit
Automatic code indentation using VIM
Answer:
To auto indent your source code, you can use the built-in feature of vim
1. First highlight the code block using the v and arrow keys
2. Press "=" button.
That's it.
Search for tab characters in vim
Answer:
To search for any tab characters in vim, you can enter the command mode by typing esc key, then type
/\t
How to jump to previous page or next page in vim?
Answer:
To move to previous page or next page in vim, you can use the ctrl+b or ctrl+f combinations.
Move cursor to the start of line in VIM
Answer:
In our previous article, we learned how to move cursor to the end of line in VIM, so how about move to the start of the line?
The answer is simple:
0