Neovim config for self development
- Neovim >= 0.9.5
- Nerd Font
- Warp Terminal
cd ~/.config
git clone https://github.com/akatsuki033896/dotfiles_neovim.git
mv dotfiles_nvim nvimwilliamboman/mason-lspconfig.nvim
lukas-reineke/indent-blankline.nvim
<leader> = space
| Key | Effect |
|---|---|
sv |
split window right side |
sh |
split window down side |
<A-h> |
switch to left window |
<A-l> |
switch to right window |
<A-k> |
switch to upside window |
<A-j> |
switch to downside widow |
<C-z> |
revoke |
<C-u> |
scroll up |
<C-d> |
scroll down |
q |
quit |
<C-k> |
Lspsaga hover_doc |
<C-g> |
Lspsaga finder |
<C-a> |
Lspsaga code_action |
<A-d> |
Lspsaga peek_definition (jump to definition) |
<A-m> |
open/close nvim-tree |
a |
create files in nvim-tree |
d |
delete files in nvim-tree |
r |
rename files in nvim-tree |
x |
cut files in nvim-tree |
c |
copy files in nvim-tree |
p |
paste files in nvim-tree |
s |
open files (in system) in nvim-tree |
<C-h> |
switch to previous buffer |
<C-l> |
switch to next buffer |
<C-w> |
delete buffer |
<leader>ta |
open floating terminal |
<leader>tb |
open terminal rightside |
<leader>tc |
open terminal downside |
<C-p> |
find files |
<C-f> |
recent files (live_grep) |
<F1> |
startup page (Dashboard) |
<F2> |
install LSP / Formatter (Mason) |
<F3> |
check LSP information |
| Key | Effect |
|---|---|
<C-c> |
Copy |
<C-v> |
Paste |
< |
Indentation -4 space |
> |
Indenfation +4 space |
gc |
Comment code block |
| Key | Effect |
|---|---|
<C-h> |
jump to line's first character |
<C-l> |
jump to line's last character |
<A-.> |
open completion window |
<A-,> |
close completion window |
<C-k> |
next completion |
<C-j> |
previous completion |
<CR> |
confirm completion |
