Run the following command in a terminal(*nix)
git clone https://github.com/Emin017/nvim.git ~/.config/nvim
Then open nvim
and enjoy it!
The default leader key is \
, I changed it to <Space>
.
- mode:
N
-> Normal modeI
-> Insert modeV
-> Visual mode
<C-c>
means pressing<Ctrl>
andc
simultaneously.<A-d>
means pressing<Alt>
andd
simultaneously.<Leader>ps
means pressing<Leader>
thenp
thens
.
Effect | Mode | Shorcut |
---|---|---|
show dashboard | N |
<Leader>a |
show explorer | N |
<Leader>e |
kill buffer | N |
<Leader>k |
open plugin manager | N |
<Leader>p |
open mason | N |
<Leader>m |
reformat code | N |
<Leader>r |
quit | N |
<Leader>q |
Search | ||
search for commands | N |
<Leader>sc |
search keymaps | N |
<Leader>sk |
search manpages | N |
<Leader>sm |
search registers | N |
<Leader>sr |
fine help | N |
<Leader>sh |
File Search | ||
search colorscheme | N |
<Leader>fc |
find files | N |
<Leader>ff |
recent files | N |
<Leader>fk |
find text pattern | N |
<Leader>ft |
LSP | ||
go to definition | N |
<Leader>gd |
go to declaration | N |
<Leader>gD |
show references | N |
<Leader>gr |
show type definition | N |
<Leader>go |
show diagnostics in a floating window | N |
<Leader>gf |
show documents symbols | N |
<Leader>ls |
show workspace symbols | N |
<Leader>lS |
show lsp info | N |
<Leader>lI |
Search for more keybindings: <Leader>sk
-
neovim/nvim-lspconfig
-- Required -
williamboman/mason.nvim
-- Optional -
williamboman/mason-lspconfig.nvim
-- OptionalAutocompletion
-
hrsh7th/nvim-cmp
-- Required -
hrsh7th/cmp-nvim-lsp
-- Required -
hrsh7th/cmp-buffer
-- Optional -
hrsh7th/cmp-path
-- Optional -
saadparwaiz1/cmp_luasnip
-- Optional -
hrsh7th/cmp-nvim-lua
-- OptionalSnippets
-
L3MON4D3/LuaSnip
-- Required -
rafamadriz/friendly-snippets
-- Optional