2016年7月21日 星期四

[VIM] How to add submodule package into .vim

Install instruction :
To install a new plugin as a git submoudle, type the following commands.
     cd ~/.vim

     git submodule add [GIT-REPOSITORY-URL] bundle/[PLUGIN-NAME]

Ex:
        Because CCTree have plugin under it folder, so vim can load it.
     git submodule add git@github.com:hari-rangarajan/CCTree.git bundle/CCTree

Related Posts:

  • [vim] E73: tag stack empty Error Place : " jump out of the tag stack (undo Ctrl-]) map <C-t> <ESC>:po<CR> Fix : " [[ jump out of the tag stack (undo Ctrl-]) m… Read More
  • [Vim] taglist Need Install Package pacman -S ctags Settings Download Adjust window size : ctr-w > or ctr-w < Reference: 1.taglist.vim : Source code b… Read More
  • [Vim] Vim script for default settingSeting load configuration path /etc/vimrc --> /usr/share/vim/vim74 --> ~/.vim/vimrc Create a file was called happy.vim " Highlight the synt… Read More
  • [vim] How to use ack.vim ### Ack You have to install [ack](http://betterthangrep.com/), of course. Install on Debian / Ubuntu with: sudo apt-get install ack-grep ## Us… Read More
  • [vim] NERD Commenter Edit ~/.vimrc or ~/.vim/vimrc " set leader to , let mapleader="," let g:mapleader="," Usage [count]\cc |NERDComComment| Comment out the current li… Read More

0 意見:

張貼留言