diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -30,8 +30,8 @@ set pastetoggle=<F11> " Enable folding by fold markers set foldmethod=marker -" Wrap line longer than the display -"set wrap +" Don't wrap line longer than the display +set nowrap " Textwidth of 100 set textwidth=100 @@ -183,6 +183,7 @@ autocmd vimenter * if !argc() | NERDTree | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif let NERDTreeShowHidden=1 +let NERDTreeIgnore=['\.o$', '\~$', '\.swp'] map <Leader>nt :NERDTreeToggle<CR> " }}} @@ -202,13 +203,15 @@ Plug 'airblade/vim-gitgutter' " git status gutter Plug 'tpope/vim-fugitive' " git commands Plug 'tpope/vim-rhubarb' " GitHub integration Plug 'tpope/vim-commentary' " comment out stuff -Plug 'yegappan/taglist' " code browser using ctags/cscope Plug 'joestringer/cscope_maps' " cscope maps Plug 'google/vim-searchindex' " show how many times a search pattern occurs " fzf (https://github.com/junegunn/fzf.vim) -Plug 'junegunn/fzf', { 'do': './install --bin' } +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' call plug#end() " }}} +" {{{ commands +:command -nargs=+ Ggr execute 'silent Ggrep!' <q-args> | cw | redraw!" +" }}} |