For setting up properly you have to take advice on these instructions.
- git clone this gist on your $HOME directory :
git clone https://gist.github.com/amc1981/5641e9a794f07334fd6f144611c5042a
. - Change the name of the new folder to another more legible:
mv 5641e9a794f07334fd6f144611c5042a gist-vimrc
. - Create a symbolic link from your $HOME to the
.vimrc
file:ln -s $HOME/gist-vimrc/.vimrc $HOME/.vimrc
Now we need to activate de plugins. But first we have to install plug
. Out plugins manager for vim.
- Execute this curl command:
➜ ~ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
The expected output seems like that:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 83127 100 83127 0 0 83905 0 --:--:-- --:--:-- --:--:-- 84392
- Enter inside your
.vimrc
file and execute this inCommand Mode
:PlugInstall
For correct use of neoclide/coc.nvim
plugin we need to instal nodejs
on our system and run this command inside our .vimrc
in Command Mode
:
:CocInstall coc-json coc-tsserver coc-prettier coc-emmet coc-pyright coc-markdownlint coc-css coc-sh
With this execution, we will activate highlighting syntax for the next programming and markup languages: json, typscript, html, python, markdown, css and bash.
Select any theme of your interest. If onedark
seems incompatible with your Screen configuration comment this line on the .vimrc
file.
" colorscheme onedark
Here, you can find a list of vim themes try them out, select one of them and configure it on your own .vimrc
.
Maybe this Gist is useful for you. If you have a GitHub account you can fork this Gist and make your own modifications and improvements. An advantage of forking is that you can make changes and track them like in a GitHub repo as you can see here.