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.
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.
Just pass "UNINSTALL" to the install.sh script.
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 |
Here are the plugins I use on the daily. They are pretty amazing. :D
Note: Some are only loaded in vim
- avante.nvim
- barbecue.nvim
- copilot.lua w/ copilot-cmp
- copilot.vim
- ctrlp
- cutlass.nvim
- devdocs.vim
- editorconfig-vim
- emmet-vim
- fzf.vim
- goyo.vim
- hlchunk.nvim
- hop.nvim
- is.vim
- lexima.vim
- limelight.vim
- luasnip
- luasnip-snippets
- mason.nvim
- mason-lspconfig.nvim
- mini.nvim
- notational-fzf-vim
- numbers.vim
- nvim-cmp w/ cmp-buffer, cmp-path, cmp-cmdline, cmp-treesitter
- nvim-dap
- nvim-dap-ui
- nvim-lspconfig
- nvim-treesitter
- nvim-tree.lua
- scratch.vim
- tagbar
- targets.vim
- tasklist
- toggleterm.nvim
- transparent.nvim
- vim-abolish
- vim-autoformat
- vim-commentary
- vim-devicons
- vim-disapprove-deep-indentation
- vim-fold-cycle
- vim-fugitive
- vim-gitgutter
- vim-gutentags
- vim-indent-guides
- vim-matchup
- vim-move
- vim-mundo
- vim-peekaboo
- vim-plug
- vim-polyglot
- vim-projectionist
- vim-repeat
- vim-sandwich
- vim-speeddating
- vim-startify
- vim-startuptime
- vim-template
- vim-test
- vimade
- yanky.nvim