Skip to content

Commit

Permalink
Merge pull request #72 from linkernetworks/johnlin/vimrc-tweak
Browse files Browse the repository at this point in the history
vimrc tweak
  • Loading branch information
Hung-Wei Chiu authored Jul 8, 2018
2 parents af39a72 + ce294af commit 9747c3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Vagrant.configure("2") do |config|
# install vim environment
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
vim +GoInstallBinaries +qall
# init YouCompleteMe vim plugin
sudo apt-get install -y python-dev python3-dev
Expand Down
7 changes: 7 additions & 0 deletions developers/configs/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,12 @@ Plugin 'fatih/vim-go', {'do': ':GoInstallBinaries'}
Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/nerdtree'

function! StartUp()
if 0 == argc()
NERDTree
end
endfunction
autocmd VimEnter * call StartUp()

call vundle#end() " required
filetype plugin indent on " required

0 comments on commit 9747c3d

Please sign in to comment.