Answers for "Installing plugins with vim-plug"

3

how to setup vim plugins

$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Posted by: Guest on May-14-2020
0

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
 $ ls -a ~/.vimrc #if file exists file name is displayed
 $ touch ~/.vimrc #if previous command error file doesn't exist then create file
 
# 3. Open created file or existing file
 $ 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
Posted by: Guest on May-04-2022
-1

install vim plug

#unix curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Posted by: Guest on April-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language