Code exclusively from the console!
- Changes binding of tmux activation key to
Ctrl->a
. - Changes default color scheme to synthetic via
~/.vim/colors/synthetic.vim
- Adds preconfigured
.vimrc
and.tmux.conf
files to current user’s home directory. - Clones vim plugin repos into
~/.vim/bundles/
.
Assuming dependencies have been satisfied, simply run ./install.sh
from the Repo root.
This is in no way meant to be a complete reference, but rather a collection
of various things I'm picking up (and probably absolutely forgetting) over
time.
- Press
ctrl+p
orctrl+n
while in insert mode. - Continue pressing either to cycle up/down through suggestions.
- Press
/
and your exact text to search for - Press
cgn
to remove the first occurenence and be put in insert mode - Press the replacement text and return to normal mode (caps / esc)
- Find next or prev with
n
orN
and repeat replacement with.
Press [line number]
then G
- Press
gg
to jump to beginning of file - Press
G
to jump to end of file
- Press
H
to jump to top - Press
M
to jump to middle - Press
L
to jump to bottom
Press [line number]
then G
Define a selection with shift+v
then press gc
.
Press ctrl+w
followed by shift+n
. Leave this state with i
.