h - move cursor left j - move cursor down k - move cursor up l - move cursor right
e - jump forwards to the end of a word b - jump backwards to the start of a word 0 - jump to the start of the line $ - jump to the end of the line
-
Install vim-plug so that it auto-loads at launch $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -
Check if ~/.vimrc file exists $ ls -a ~/.vimrc
-
if previous command error file doesn't exist then create and open file in vim $ vim ~/.vimrc #open file in vim
-
Paste following text. Example below install emmet call plug#begin() Plug 'mattn/emmet-vim' call plug#end()
-
Save File using write function :w
-
Run plugin install prompt :PlugInstall