You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have fzf, git pre installed & $PATH config done. Refer the .vimrc
Also have alternative tools avail for enriched experience - Tabby on Windows
Commands
For gaming : :VimGame...
Rest - follow the exercise & notes from the above pdf
summary - basic
#
area
purpose/action
command
short-form
short-cut key combination
1
basic
display line numbers
:set number
:se nu
2
basic
display off numbers
:set nonumber
:se nonu
summary - windows
#
area
purpose/action
command
short-form
short-cut key comb
1
window
new window horiz
:new
-
CTRL-w n
2
window
new window vertical
:vnew
-
-
3
window
split window horiz
:split <file>
:sp <file>
CTRL-w s
4
window
split window vertical
:vsplit <file>
:vs <file>
CTRL-w v
5
window
close current window
:close
:clo
CTRL-w c
6
window
quit current window
:quit
:q
CTRL-w q
7
window
quit all window
:quitall
:qa
8
window
write & quit current window
:wquit
:wq
CTRL-w q
9
window
quit all window
:quitall
:wqa
CTRL-w qN
summary - buffers
#
area
purpose/action
command
short-form
short-cut key com
1
buffers
open next buffer
:bnext
:bn
2
buffers
open previous buffer
:bprevious
:bp
3
buffers
goto first/last buffer
:bfirst :blast
:bl :bf
4
buffers
open 5th buffer
:b5
5
buffers
open Nth buffer
:bN
6
buffers
*open buffer xyz.php
:b xy
7
buffers
^delete buffer - safer way
:bdelete
:bd
8
buffers
^wipe[out] buffer - dangerous way
:bwipeout:bwipe
:bw
* smart-case, open closest matching file into buffer ^ delete just unload buffer from buffer-list, but wipe will completely remove all settings, [book]marks related to the file
summary - session
#
area
purpose/action
command
short-form
short-cut key com
1
session
make a new session
:mksession <path>
:mks <path>
2
session
load the session
:source <path>
:so <path>
session commands will you help organize a project and keep project level settings