I don't know why anyone else would want to clone this, but if you do:
- Beware that the
setup.sh
is written for Ubuntu systems and probably installs things you don't want. - My mappings and snippets will probably annoy you.
First, if you have an existing .vim
directory or .vimrc
file, back them
up. They'll be overwritten by the commands below.
rm -rf ~/.vim
git clone https://github.com/rleemorlang/dot-vim ~/.vim
~/.vim/setup.sh
CoffeeCompile
orCoffeeCompile vert
CoffeeWatch
orCoffeeWatch vert
- may want to try
setl scrollbind
on each buffer CoffeeRun
CoffeeLint
gcc
to toggle commenting on the current linegcap
to comment a paragraphautocmd FileType apache set commentstring=#\ %s
- ctrl-p to open. once open:
- ctrl-d for filename only mode
- ctrl-r for regexp mode
- ctrl-j/k to navigate
- ctrl-t/v/x to open in new tab/split
- ctrl-z to mark multiple, ctrl-o to open
- hit enter on a selection in visual mode
- or something like
gaip=
to align around=
for the current paragraph - use
<c-x>
to supply a regular expression - use
<c-p>
to enter "live interactive mode", if using regexes you can hit<c-x>
a second time to see the result of the regex - prefix a delimiter a number to align around the nth delimiter
- with
-
to align around the last delimiter - with
*
to align around all delimiters - with
-<num>
to align around the nth-last delimiter - try "-" to align in-line comments
,,u
to open
- ctrl-n when over a word to highlight, again to highlight next
- ctrl-p to unhighlight
- ctrl-x to skip
- change mode with
set background=light
- for proper terminal colors, see https://github.com/ghuntley/terminator-solarized
TypeScript syntax highlighting. (See tsuquyomi for language support/magic)
c-k
to complete the match and/or move to the next stopc-h
to list completionss-c-j
to move back- :UltiSnips to edit the snips for the current filetype
]e
or[e
to move the current line up/down]<space>
or[<space>
to add lines above or below- others...