Vim Tidbits

From ChipWiki
Jump to navigation Jump to search

Navigation Things I Forget

ctrl+w hjkl Move between windows
ctrl+w T Move window to tab
gt gT nnngt go to previous/next/nnnth tab
sp / vs split or vertical split window
:mksession Save session to Session.vim
:mksession! Overwrite existing saved session
:qa :wqa quit all tabs and windows (optionally write first)
vim -S Session.vim Load session from Session.vim