til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Use vim-plug

vim-plug is a minimalist Vim plugin manager.

I have just started using it, and it is very easy to use.

I ran into a single problem when installing the Nord theme, but that was due to a challenge with the plugin.

The installation is problematic as it using curl so I would recommend evaluating the contents downloaded first:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Add the following to your: .vimrc:

call plug#begin()

" List your plugins here
Plug 'tpope/vim-sensible'

call plug#end()

Restart vim and you get a new set of commands you can use in vim

:PlugInstall to install the plugins :PlugUpdate to install or update the plugins :PlugDiff to review the changes from the last update :PlugClean to remove plugins no longer in the list

There are a plethora of plugins, do have a look at: vim awesome

Resources and References