This config requires a patched font to display file icons. Your terminal emulator must be configured to use that font, usually Hack Nerd Font
git clone https:/ajatdarojat45/ajats-nvim-config.git ~/.config/nvim
vim-plug is a minimalist Vim plugin manager.
You can follow this link: https:/junegunn/vim-plug
nvim
:PlugInstall
:TSInstall <language_to_install>
Check supported languages here
:CocInstall <extensions_to_install>
Check extentions list here
:call mkdp#util#install()
Mappings | Action | State |
---|---|---|
i |
Enter to insert mode | Normal Mode |
leader + s |
Run Prettier and save changes |
Normal Mode |
leader + q |
Quit | Normal Mode |
jj |
Exit insert mode quickly | Insert Mode |
o |
Creating a new line below the current line | Normal Mode |
O |
Creating a new line above the current line | Normal Mode |
Y |
Yank/copy from cursor to the end of line | Normal Mode |
p |
Paste | Normal Mode |
D |
Delete from cursor to the end of line | Normal Mode |
Shift + h |
Move to previous buffers tab | Normal Mode |
Shift + l |
Move to next buffers tab | Normal Mode |
Shift + k |
Move to first buffers tab | Normal Mode |
Shift + j |
Move to last buffers tab | Normal Mode |
mp |
Markdown Preview | Normal Mode |
leader + ee |
Toggle file explorer or open NvimTree | Normal Mode |
a |
Create a new folder or file | NvimTree |
c |
Copy a folder or file | NvimTree |
x |
Cut a folder or file | NvimTree |
p |
Paste a folder or file | NvimTree |
r |
Rename a folder or file | NvimTree |
d |
Delete a folder or file | NvimTree |
leader + ff |
Find files | Normal Mode |
leader + fg |
Live grep or find words or characters | Normal Mode |
leader + fb |
Find buffers | Normal Mode |
I map the
leader
to thespace
. You can customize it if you need.