Skip to content

sjkowal/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim configuration

General Setup

git clone https://github.com/sjkowal/dotvim.git ~/.vim
cd ~/.vim
git submodule init
git submodule update
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc

Next Load vim and re-build the help... :Helptags

Adding a new bundle

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

Pulling latest for all submodules

Since each submodules is tied to a specific commit, it can be nice to get them all up to date with thier master master.

git submodule foreach git pull origin master

After all the submodules have pulled from master add the changes and commit them.

git add .
git commit -m "updated all submodules to current master"
git push

At this time I'm avoiding making any changes to the submodules so there's no modifications made to the submodules files.

Font Setup

Set up fonts for Linux by adding a link to $HOME/.fonts

cd ~/.fonts
ln -s ~/.vim/fonts vimfonts

Set up fonts for Mac by copying font files into /Library/Fonts/

cp ~/.vim/fonts/powerline-fonts/Meslo/Meslo*.ttf /Library/Fonts

Set up fonts for Winsows by double clicking on the following:

  • \vimfiles\fonts\consolas\consola.ttf Then choose install

Windows Setup

If you want to us ack instead of ag it must be installed along with perl

  • Ack - requires Perl (http://strawberryperl.com) then run the command "cpan App::Ack" from the command line...or perl -MCPAN -e "CPAN::Shell->force(qw(install App::Ack));"
  • Modify the vimrc file so that the ack plugin no longer uses ag, e.g. remove - let g:ackprg = 'ag --vimgrep'

About

vim configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published