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
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
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.
Underline the current line in vim
Answer:
Underline the current editing line in vim is very useful, to do so, follow the guide below.
1. Press [ESC] to get into command mode
2. Enter :set cursorline
Set filename in terminal title in vim
Answer:
To display the currently editing filename in the title of terminal of vim, you can try the tricks below:
1. Press [ESC] to get into command mode
2. Enter :set title
Display non-printable character in vim
Answer:
To display non-printable characters, such as control characters in vim, you can try the tricks below:
1. Press [ESC] to get into command mode
2. Enter :set list
If you want to turn off the non-printable character, enter :set nolist will revert the option set above.