Skip to content

Commit

Permalink
dont load nerdtree on start up add key mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
harry committed Jan 8, 2015
1 parent f0fdef5 commit 6df081b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Rakefile
Expand Up @@ -7,7 +7,7 @@ end

def install_github_bundle(user, package)
unless File.exist? File.expand_path("~/.vim/bundle/#{package}")
sh "git clone https://github.com/#{user}/#{package} ~/.vim/bundle/#{package}"
sh "git clone git@github.com:#{user}/#{package}.git ~/.vim/bundle/#{package}"
end
end

Expand All @@ -17,7 +17,8 @@ BUNDLES = {
"junegunn" => "fzf",
"yegappan" => "mru",
"scrooloose" => "nerdtree",
"ervandew" => "supertab"
"ervandew" => "supertab",
"faith" => "vim-go",
}

desc 'Install these config files.'
Expand Down
5 changes: 3 additions & 2 deletions vim/vimrc
Expand Up @@ -9,6 +9,7 @@ autocmd Filetype html setlocal ts=2 sts=2 sw=2
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2
autocmd Filetype javascript setlocal ts=4 sts=4 sw=4

autocmd vimenter * NERDTree

set rtp+=~/.vim/bundle/fzf

map <C-n> :NERDTreeToggle<CR>

0 comments on commit 6df081b

Please sign in to comment.