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 :: docker image get extract dockerfile 
Shell :: kubectl cleanup pods 
Shell :: Package "ngx-material-file-input" 
Shell :: diff from last commit 
Shell :: gitlab ee version check 
Shell :: how to reboot kali linux with commands 
Shell :: split screen into 4 ubuntu 
Shell :: upgrade seaborn version 
Shell :: git push example 
Shell :: gitignore which rule 
Shell :: dual boot kali linux isnt showing 
Shell :: powershell foreach 
Shell :: curl get example 
Shell :: docker compose stop 
Shell :: linux unzip with password 
Shell :: bash shortcuts 
Shell :: bash list processes mac 
Shell :: create package in ros2 
Shell :: run spec file using pyinstaller 
Shell :: post curl request 
Shell :: cpu temp on ubuntu 
Shell :: dotenv installation 
Shell :: composer xampp windows 
Shell :: configure meld as git mergetool ubuntu 
Shell :: linux get full path 
Shell :: whoami command 
Shell :: how to kill a process in powershell 
Shell :: bash delete files with names from subfolder 
Shell :: how to install docker on Debian 10 
Shell :: docker compose multiple command 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =