Looking At My .Vimrc
This is a reference guide for my .vimrc that you can find here. This is mainly being written because I keep forgetting what keybindings some of the plugins use. Even though this is not a guide to the .vimrc, if you use Vim you may still find this somewhat useful. If you don't use Vim, you are a bad person and should go away >:(
The leader key has been remapped to the comma key
Move between tabs with
-- to go back and
== to go forward.
Move between buffers with
TAB-k to go back and
TAB-j to forward.
Close buffers with
Move between window panes with
Create a terminal window (only on Vim8) with
LEADER-ht for horizontal and
LEADER-vt for vertical.
Close a terminal window with
Show the weather (for Sydney) with
Reference the current file's path in command line with
Run the current file with Python with
:Pyrun. Do it with interactive mode
Write as root with sudo tee hack with
Rename current file with
Open undotree with
TagBar / CTags
Open TagBar with
Trigger word motion with LEADER LEADER w.
Search ctags with LEADER-..
Taken from the docs (mostly), I haven't played around with this very much:
CTRL-nstart multicursor and add a virtual cursor + selection on the match
CTRL-nadd a new virtual cursor + selection on the next match
CTRL-xskip the next match
ALT-nstar muticursor and directly select all matches You can now change the virtual cursors + selection with visual mode commands. For instance: c, s, I, A work without any issues. You could also go to normal mode by pressing v and use normal commands there.
At any time, you can press
ESC to exit back to regular Vim.
Comment out one line with
Comment out multiple lines (in visual. mode) with
Change the surrounding elements of a word with
Wrap a word with elements with
Trigger word motion with