git clone http://github.com/FundingCircle/dotvim.git ~/.vim ln -s ~/.vim/vimrc ~/.vimrc cd ~/.vim/ && git submodule init && git submodule update
NB: <leader> is defined as , (comma).
:Ack pattern [directory]
. By default, results show up in the quickfix window. You can use :AckAdd
to append to the quickfix window or prefix 'Ack' with an 'L' to use the location list (just like :grep
's siblings).,f
mapped to the same function.:Gblame
to blame the current file. Press enter on a commit to see the full commit. Do :Gedit
to go back to the current version (or just open it again).:Gread
to check out the current file from git. Very useful if you made some experimental changes that you want to get rid of.:Gbrowse
to open the current file on GitHub, useful for sending links to other people.,/
which comments or uncomments either the current line or the currently selected block. This config has ,/
mapped to the Toggle instead of ,c
as listed in the docs (the rest of the commands use the c
as listed).\
to open it at your project root, or Shift-\
to open it with the current file selected. You can press m
to move, delete, or create files. Press ?
inside the tree to get more help.
gf
and :Rextract
work on partials, highlights Rails functions."yolokitten"
, type cs"'
to switch the surround double quotes to single quotes. t
can generally be used to refer to XML tags, so inside of <tag>Hello</tag>
you can do cit
to modify the word "Hello." To add quotes around something, you can use the command ys
followed by a motion and the character to surround it with. For instance, inside of "hello", typing ysiw(
will change it to "( hello )".>>
in the gutter means there is an error on that line, you can mouse over it for more details.<C-w>o
. You can restore all the closed windows with the same command. Useful with :tabo
to close everything but what you're working on.Vim configuration setup
Resources Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4