Skip to content

Instantly share code, notes, and snippets.

@sirusdas
Last active April 29, 2018 18:16
Show Gist options
  • Save sirusdas/d51e2a6da1a7ac3861b4eb148a222dcb to your computer and use it in GitHub Desktop.
Save sirusdas/d51e2a6da1a7ac3861b4eb148a222dcb to your computer and use it in GitHub Desktop.
Vim plugins commands

#scrooloose/nerdtree

Description: A tree file structure for easy access in VIM.


Git Link: https://github.com/scrooloose/nerdtree


Commands: 1. Switch NERDTree on and off: + " or NERDTreeToggle 2. Open file in a new tab: t NOTE: Press ? for all the available commands

#majutsushi/tagbar

Description: Displays a simplified structure of nested codes for easy understanding of class and models.


Git Link: https://github.com/majutsushi/tagbar


Commands: 1. Switch on or off: TagbarToggle

#kien/ctrlp.vim

Description: Easy file access, Vim's regexp as search pattern, root finder, multiple file at once, create new files and directories


GIT Link: https://github.com/kien/ctrlp.vim


Commands: Other Links: https://www.youtube.com/watch?v=9XrHk3xjYsw

#rosenfeld/conque-term

Description: It is a terminal emulator which uses a Vim buffer to display the program output.


GIT Link: https://github.com/rosenfeld/conque-term


Commands: :ConqueTerm bash :ConqueTermSplit mysql -h localhost -u joe -p sock_collection :ConqueTermTab Powershell.exe :ConqueTermVSplit C:\Python27\python.exe


Other Links: https://code.google.com/archive/p/conque/

#tpope/vim-surround

Description: Used to (change, delete) any parentheses, brackets, quotes, XML tags, and more in a sentence eg: "hi" to 'hi'


GIT Link: https://github.com/tpope/vim-surround


Commands: cs"' inside "hi" to change to 'hi' ds" to remove quotes from "hi" yssb or yss) to wrap entire line with (). eg: Hello World will be converted to (Hello World) ysiw (iw is a text object). eg: ysiw( on Hello World when cursor is on Hello will output as (Hello) World

#flazz/vim-colorschemes

Description: Makes your Vim and what you type beautiful.


GIT Link: https://github.com/flazz/vim-colorschemes


Commands: Add to your .vimrc file - colorscheme nameofcolorscheme


Other Links: https://www.youtube.com/watch?v=9pX9zMIKeuY

#garbas/vim-snipmate , MarcWeber/vim-addon-mw-utils , tomtom/tlib_vim , honza/vim-snippets

Description: They all combined together work to help and build easy snippets.


GIT Link: https://github.com/garbas/vim-snipmate


Commands: Should work just by pressing 'tab' or can be mapped with imap. Use :h SnipMate-mappings for any help


Other Links: https://code.tutsplus.com/tutorials/vim-essential-plugin-snipmate--net-19356 https://www.youtube.com/watch?v=vwFqxE8tX4c

#tpope/vim-commentary

Description: Used to comment lines, paragraps etc


GIT Link: https://github.com/tpope/vim-commentary


Commands: Comment a line: gcc Comment a section in Visual: gc Comment a paragraph: gcap

#scrooloose/syntastic

Description: Used to check syntax of your code


GIT Link: https://github.com/vim-syntastic/syntastic


Commands: Disable Syntax check passive :SyntasticToggleMode Check a file using :SyntasticCheck Ignore few errors add below line in .vimrc let g:syntastic_python_checkers=['flake8 --ignore=E225,E501,E302,E261,E262,E701,E241,E126,E127,E128,W801','python3']

#prettier/vim-prettier

Description: Used to format the Javascript Code.

#w0rp/ale

Syntax analyser, Linter much more for Python, JS etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment