Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Installing plugins with vim-plug

1. 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
  
2. Check if ~/.vimrc file exists
 $ ls -a ~/.vimrc

3. if previous command error file doesn't exist then create and open file in vim
 $ vim ~/.vimrc #open file in vim
 
4. Paste following text. Example below install emmet
call plug#begin()
Plug 'mattn/emmet-vim' 
call plug#end()

5. Save File using write function
:w 

6. Run plugin install prompt
:PlugInstall
 
 
 
 
Comment

how to setup vim plugins

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

PREVIOUS NEXT
Code Example
Shell :: -bash: docker: command not found mac 
Shell :: firebase install 
Shell :: firebase hosting 
Shell :: docker rmi dangling=true 
Shell :: git discard all local changes 
Shell :: add a new line at the end of this file in powershell 
Shell :: git cheat sheet 
Shell :: laravel sail composer 
Shell :: meteor uninstall 
Shell :: git clone https 
Shell :: bash printf format 
Shell :: batch file 
Shell :: how to untrack a file in git 
Shell :: git diff of a file between two commits 
Shell :: install mongo ubuntu 20.04 
Shell :: using yarn in docker 
Shell :: bash scripts arguments 
Shell :: install ssl certificate ubuntu nginx 
Shell :: wslconfig example 
Shell :: inkscape svg to pdflatex 
Shell :: aws cli create ecr repository if not exists 
Shell :: brave installation ubuntu 
Shell :: kde increase fpsz 
Shell :: install cocoapi 
Shell :: ssh git clone 
Shell :: hide hidden files mac 
Shell :: check connected wifi details on kali 
Shell :: how to zip and unzip tar 
Shell :: remove gitignore files 
Shell :: install visual studio on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =