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
.vimrcand.tmux.conffiles 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+porctrl+nwhile in insert mode. - Continue pressing either to cycle up/down through suggestions.
- Press
/and your exact text to search for - Press
cgnto 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
norNand repeat replacement with.
Press [line number] then G
- Press
ggto jump to beginning of file - Press
Gto jump to end of file
- Press
Hto jump to top - Press
Mto jump to middle - Press
Lto 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.
- Use
:e .to open the file explorer. - Press
dto create a new directory. - Press
%to create a new file.