Skip to content

quchunguang/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotVim

Help vim beginner get a powerful vim environment quickly.

Features

PowerByFeature
a.vimA few of quick commands to swtich between source files and header files quickly.
bufexplorer.zipQuickly and easily switch between buffers by using the one of the default public interfaces.
genutilsSome common functions. Used by, for example, lookupfile.
grep.vimAllows you to search for a pattern by grep in one or more files and jump to them.
lookupfileOpening files by typing a pattern to represent the file you are looking for.
Marks-BrowserProvides a graphical browsers of the user marks for the local file [a-z].
mark.vimHighlight target words.
mkview.vimEmulate the |mkview| function of vim without requiring the creation of |view-file|s.
OmniCppCompleteOmni completion (intellisense) in C and C++ files.
python-modeProvide features like python code looking for bugs, refactoring and some other useful things.
ShowMarksShowMarks provides a visual representation of the location marks.
snipMateAn unobtrusive, concise vim script that implements some of TextMate's snippets features.
supertabSupertab is a vim plugin which allows you to use for all your insert completion needs.
taglist.vimOverview of the structure of source code files and allows efficiently browse through source code files.
vim-matchitConfigure % to match more than just single characters, and allow match by file type.
vim-pandocWriting and editing documents in pandoc's extended markdown.
vim-pathogenEasy to install plugins and runtime files in their own private directories.
vim-surroundSurround.vim is all about "surroundings": parentheses, brackets, quotes, XML tags, and more.
visPerforms an arbitrary Ex command on a visual highlighted block.
VisIncrFacilitates making a column of increasing or decreasing numbers, dates, or daynames.
winmanager--FoxA windows style IDE for vim.
xml.vimA plugin for editing xml.

Installation

  1. Install git and vim.
sudo apt-get install vim git		# for debian/ubuntu
  1. Get Dotvim source.
 # NOTICE: MUST get sources to ~/.vim
git clone git://github.com/quchunguang/dotvim.git ~/.vim
  1. Configure.
 # Backup and remove ~/.vimrc if you already have one.
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule init
git submodule update

Further Notes

Create this repos, synchronizing-plugins-with-git-submodules-and-pathogen, vim-pathogen home for detail,

 # Add  new repos with name "dotvim" in my github, then
cd ~/.vim
mv ~/.vimrc vimrc
ln -s vimrc ~/.vimrc
git init
touch README.md
git add README.md
git commit -m 'Initialize commit'
git remote add origin https://github.com/quchunguang/dotvim.git
git push origin master

Add a new plugin,

cd ~/.vim
git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive
git add .
git commit -m "Install Fugitive.vim bundle as a submodule."

Update all submodules,

cd ~/.vim
git submodule foreach git pull origin master

Reinitialize all resposes from exist bundle/* (not submodules) to this all-in-one repos (as submodules),

cd ~/.vim
for d in bundle/*; do (cd $d && git remote -v show;) done | grep fetch | awk '{print $2}' > /tmp/list
rm -rf bundle && mkdir bundle
for f in `cat /tmp/list`; do name=${f##*/}; git submodule add "$f" "bundle/${name%.git}"; done
git commit -m 'reinitialize all reposes from exist bundle'
git push

Reference

About

Vim config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published