:g/search-string/norm @h
runs a macro recorded in h for every match of search-string
Vim-style movement:
'h' 'j' 'k' 'l' for movement (Up, Down, Left, Right)
'gg' End
'G' Home
'0' Beginning of line
'$' End of Line
'H' Top of the Screen
'M' Middle of the screen
'L' Bottom of the screen
windows using
:split command or the ^w commands:

runs a macro recorded in h for every match of search-string
Vim-style movement:
'h' 'j' 'k' 'l' for movement (Up, Down, Left, Right)
'gg' End
'G' Home
'0' Beginning of line
'$' End of Line
'H' Top of the Screen
'M' Middle of the screen
'L' Bottom of the screen
windows using
:split command or the ^w commands:
^wn - new window
^ws - horizontal split
^wv - vertical split
^wr - rotate windows
^ww/^wW - move to the next/previous window
^w= - make all windows equal size
^wc - close the active window
No comments:
Post a Comment