- Support
javascript
, typescript
, react
, c
, c#
, bash
, tailwindcss
, html
, css
, sass
, emmet
- Support transparent background
- ⚠️ Backup your configuration before installation
- ⚠️ Open neovim command mode use :
$ pip install neovim
$ ln -s ~/dotfiles/.config/nvim ~/.config
$ nvim
# Command mode
:PackerInstall # Install plugin
Vim action select/yank/delete content between brackets
Action |
Command |
Bracket |
v,y,d |
i |
{, (, [ |
v,y,d |
i |
}, ), ] |
- cs: change surround
- ds: delete surround
- ys: you surround
Old text |
Command |
New text |
"Hello World!" |
cs"' |
'Hello World!' |
'Hello World!' |
cs' |
Hello World! |
Hello World! |
cst" |
"Hello World!" |
"Hello World!" |
dst" |
Hello World! |
Hello World! |
ysiw] |
[ Hello ] World! |
[ Hello ] World! |
yss) |
( [ Hello ] World! ) |
⚠️ Use the closing ), },...
not insert space
- In visual mode, a simple
S
with an argument wraps the selection.
Old text |
Command |
New text |
Hello World! |
S" |
"Hello World!" |
Key |
Mapping |
> |
Indent block right |
< |
Indent block left |
n |
Next word search |
N |
Previous word search |
K |
Move line up |
J |
Move line down |
leader + Enter |
Disable highlight search |
Ctrl + n |
Toggle NvimTree(File explorer) |
Ctrl + h,j,k,l |
Switch Split Window |
leader + v |
New Split Vertical |
leader + x |
Switch Split Horizontal |
leader + sv |
Source reload vim config |
- or + |
Increment/Decrement number |
Ctrl + a |
Select All |
Ctrl + s |
Save File |
Key |
Mapping |
leader + f |
Telescope |
Key |
Mapping |
Alt + . |
Next Buffer |
Alt + , |
Prev Buffer |
Alt + > |
Move Next Buffer |
Alt + < |
Move Prev Buffer |
Alt + c |
Close Buffer |
leader + b |
BufferLine |
Key |
Mapping |
leader + g |
Gitsigns |
Key |
Mapping |
leader + l |
LSP |
] + d |
Diagnostic goto next (error or warning) |
[ + d |
Diagnostic goto previous (error or warning) |
K |
Lsp buffer hover |
Ctrl + k |
Lsp buffer signature help |
Mapping hop (Easy Motion)
Key |
Mapping |
leader + j |
Jump |
Key |
Mapping |
F5 |
Dap Continue (Start) |
F10 |
Dap Step Over |
F11 |
Dap Step Into |
F12 |
Dap Step Out |
leader + d |
Dap |
Key |
Mapping |
leader + t |
Terminal |
Ctrl + t |
Toggle Terminal |
2 + Ctrl + t |
New Split Terminal Bottom. Example: (2 or 3,...) |
Ctrl + \ |
Exit Insert Terminal |
Ctrl + h,j,k,l |
Switch Terminal and Vim Buffer |