vim dotfiles
Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
UltiSnips
after/ftplugin
autoload
.gitignore
README.md
sensible.vim
vimrc

README.md

Installation

git clone https://github.com/RobbieClarken/vim ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
vim +PlugInstall +qall

Tips

Non-greedy search

For a non-greedy search, use {-} instead of *. For example, the following will capture what is between the quotes

/\v"(.{-})"

Swapping panes

<C-w>L
<C-w>J

Typing unicode characters

<C-v>u{4 hex bytes}
<C-v>U{up to 8 hex bytes}

For example, <C-v>u0e3f for ฿. The Unicode Consortium provide lists of unicode characters by name and by script.

You can also use digraphs which are easier to remember:

<C-k>{2 digraph characters}

A list of digraphs can be found at :h digraph-table but some examples are:

α = a*
β = b*
π = p*
→ = ->
× = *X
± = +-
∆ = DE
€ = Eu
£ = Pd