Skip to content

Latest commit

 

History

History
72 lines (60 loc) · 2.77 KB

README.md

File metadata and controls

72 lines (60 loc) · 2.77 KB

My Neovim Config

demo with a few files open

Dependencies

Main Plugins

Plugins are managed with lazy.nvim.

For installed plugins see .vim/init.lua.

Install

git clone https://github.com/brentlintner/vim-settings.git ~/.vim-settings

ln -s ~/.vim-settings/.vimrc ~/.vimrc
ln -s ~/.vim-settings/.vim ~/.vim
ln -s ~/.vim-settings/.vim ~/.config/nvim

brew install the_silver_searcher
pip install pynvim
gem install solargraph

nvim +Lazy
nvim +UpdateRemotePlugins +CocInstall
nvim +checkhealth

Commands

cmd description
space Search for pattern in file
<c-w>space Clear search highlight
\g WORD Grep files
\b View git commit message for current line
\B View git blame
\l View git file history
\d Search current word in Dash
\cc Comment out selected lines
\ci Uncomment selected lines
\{-,=} Resize vertically split windows
<c-p> Search files / Cycling autocomplete reverse (Insert)
<c-n> Search buffers / Cycle autocomplete (Insert)
<c-c> Close a buffer
<c-w>c Delete a buffer
<c-w>w Save all buffers
<c-w>v Split buffer window vertically
<c-w>s Split buffer window horizontally
<c-w>c Delete a buffer
<c-w>{p,P} Toggle spell check
<c-{h,j,k,l}> Move around windows
<c-V> Paste from clipboard
<c-e><c-f> Open file tree browser
<c-e><c-p> Open lsp symbol browser
<c-e><c-l> Show lint/compile errors
gr Show all files/instances that reference type
gd Go to definition of type
gi Go to type definition of type
gh Show function signature
gh Show function signature
zc Fold at syntax
zo Fold open at syntax
zR Fold open all
b,B Backword jumps
w,W Forward jumps