Awesome
Make VIM Look & Work like VS Code for Web Development
Automatic Install:
Simply run the ./install.sh
script to set everything up automatically. The script may take a little bit of time so be patient. This script will not install ripgrep
automatically because it depends on which distro you are on. And you might not need it anyway.
Manual Install Instructions:
- Install VIM Plug with this command
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-
Copy
.vimrc
file to your home directory (overwrite existing file you never edited it before). -
Go to terminal and type
vim
and then type:PlugInstall
. Wait for the process to complete. -
Type
:q
:q
(twice) to quit vim. And typevim
in terminal again. -
Install required plugins by
coc
, type::CocInstall coc-json coc-tsserver
-
Install Ripgrep (https://github.com/BurntSushi/ripgrep)
For ubuntu, it'll go like this: sudo apt-get install ripgrep
For other operating systems, please read their README.
- Install the font (
Cousine Regular Nerd Font Complete
) from the directory where you cloned this repository.
Custom settings:
- Pressing
CTRL
+Down
andCTRL
+Up
moves the lines of code up and down. d
is mapped to"_d
which means it will delete the text instead of cutting it, and won't change clipboard. To Actuallycut
, you can usec
followed by movement keys.- Also
x
will delete 1 charachter, instead of changing the clipboard. Ctrl + /
toggles comments.