Skip to content

ryankanno/vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My .vim configuration

Here be dragons.

I periodically walk my configuration file and fix things that aren't working for me and/or try to better optimize my development environment. As humans, we're generally terrible about it since we're resistant to change. If that doesn't suit you, you've been warned. On the flip, if this does suit you, it means you'll have an amazing dev editing environment.

Quick Setup

Install

curl -L -o - https://raw.github.com/ryankanno/vim-config/main/install.sh | bash

Note If you already have this installed, the installation script will instead just pull instead of update.

Uninstall

Just pass "UNINSTALL" to the install.sh script.

Shortcuts

Shortcut Action
jk/kj ESC in insert mode
; :
<TAB> %
<Leader>" Open peekup register window
<Leader>"p Open peekup register window + paste after
<Leader>"P Open peekup register window + paste before
<Leader>B Start a `:Buffers` search using FZF
<Leader>DD Open https://devdocs.io using word under cursor
<Leader>f Start a `:Rg` search using FZF
<Leader>F Start a `:Files` search using FZF
<Leader>h/l Next/prev in jumplist
<Leader>nt Toggle NvimTree
<Leader>nf Reveal active buffer in NvimTree
<Leader>num Toggle Numbers.vim (relative/absolute)
<Leader>p Ctrl-P
<Leader>(s/S) Open scratch buffer in split window
<Leader>T Toggle terminal (nvim)
<Leader>tag Generate tags
<Leader>tb Toggle Tagbar
<Leader>tn Test nearest (vim-test)
<Leader>tc Test class (vim-test)
<Leader>tf Test file (vim-test)
<Leader>ta Test suite (vim-test)
<Leader>tl Test last (vim-test)
<Leader>tlv Test visit (vim-test)
<Leader>u Toggle Mundo
<Leader>W Start a `:Windows` search using FZF
<Leader>ws Clean whitespace
<Leader>x Show TODOs in its own buffer
<Leader>Y Bring up YankRing history
<Leader>z Toggle zoom of current window
<Leader><Leader> Toggle HopWord
<Leader>_ Toggle HopLineStart
<Ctrl-y>, Enable emmet expansion
<F2> Toggle invisible characters
<F3> Toggle Autoformat

Plugins

Here are the plugins I use on the daily. They are pretty amazing. :D

Note: Some are only loaded in vim

About

My vim configuration. Complete with plugin goodness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages