Skip to content

charlyx/vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-config

My ViM config

Bindings

Standard

gd : Go to definition

ga : LSP Code action

g[ : Go to previous warning/error

g] : Go to next warning/error

<leader>ff : Fuzzy find file

<leader>fg : Fuzzy find in file (live grep)

<leader>fb : Find in buffer

<leader>fh : Help tags

gh : Show definition and references

<leader>ca : Code action

<leader>ca :<C-U> : Range code action

K : Hover doc

gs : Signature Help

gr : Rename

<leader>cd : Show line diagnostic`

<leader>cc : Show cursor diagnostic

[e : Show previous diagnostic

]e : Show next diagnostic`

ff : Format file

Completion

<C-p> | <S-Tab> : Previous item

<C-n> | <Tab> : Next item

<C-d> : Scroll docs -4

<C-f> : Scroll docs +4

<C-Space> : Mapping complete

<C-e> : Mapping close

<CR> : Mapping confirm

Requirements

Install python 3

brew install python3

Install neovim client python

pip3 install neovim

Install tree sitter

brew install tree-sitter

Install other Requirements

brew install rg fd

Install plugins

PlugInstall

nvim +PlugInstall +qall

Install specific autocompletions

nvim +"TSUpdate rust" +qall

Install specific tools (for example rust-analyzer for rust)

brew install rust-analyzer

About

My ViM config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published