Skip to content

Vim configuration file for python, javascript and basic web development

Notifications You must be signed in to change notification settings

amritghimire/vim-conf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-conf

Vim configuration file with lots of improved features and mappings that will help you be productive while coding.

Basic settings

  • Leader key - " , " (comma)
  • ColorScheme - GruvBox

Plugins Used

others

Shortcuts

  • <F5> - Show whitespace characters(eol, space, trail, etc.)
  • <space> - Toggle code folding
  • <leader>s - Save session
  • <leader>a - Call Ag (silver searcher for searching)
  • <leader>t - Nerdtree toggle
  • <leader>u - Gundo toggle
  • <leader>n - Toggle Relative line number
  • <leader>w - Strip trailing whitespaces
  • z/ - Toggle Highlight all occurences of word currently under cursor

Installation

  • Install git
    Get the specific package for your system from here and install

  • Install vundle
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

  • Now clone this file
    git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc

  • Install all the plugins
    To install all the plugins used in this .vimrc file:

    • open your terminal
    • open vim by typing typing vim and pressing enter you might get some errors at first, ignore them for now
    • run :PluginInstall in vim
    • to run form terminal type vim +PluginInstall +qall

Or run the following command after installing git

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc && vim +PluginInstall +qall

About

Vim configuration file for python, javascript and basic web development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 85.3%
  • Shell 14.7%