Vim Notes
Auto complete for file linking
Ctrl-x Ctrl-f
Surround visual selection (with quotes, etc)
Shift-s <char>
Surround word (with quotes, etc)
ysiw
Delete surrounding quotes
ds"
Cterm colours
https://github.com/guns/xterm-color-table.vim
Keybinds
:map
Lag fix: Disable syntax
:syntax off
Write command output into buffer
:r !figlet hello
Normal commands on current line
Executes the ‘q’ macro by the length-of-the-current-line times.
:exe "norm " . col('$') . "@q"
Normal command on every line
Trim off the line after 4 characters for every line.
:%norm 4ld$
Useful variables
:set commentstring
:set filetype