vim tips
Some vim tips.
f"$" - find, move to the position of "$"
^ - move to the head of the current line.
$ - move to the end of the current line.
H - move to the head of the current page.
M - move to the middle of the current page.
L - move to the buttom of the current page.
% - move between '{' and '}'.
:tabnew - create new tab
set foldmethod=indent - set fold based on indent
set foldmethod=syntax - set fold based on syntax
Written by Chao YANG
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#