diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,11 +1,13 @@ +so ~/.vim/plugins.vim + filetype on syntax on colorscheme desert set number filetype indent on set nowrap -set tabstop=4 -set shiftwidth=4 +set tabstop=2 +set shiftwidth=2 set expandtab set smartindent set autoindent @@ -21,4 +23,7 @@ set showmatch autocmd BufWritePre * :%s/\s\+$//e " press esc to cancel search -nnoremap <silent> <Esc> :nohlsearch<Bar>:echo<CR> +noremap <silent> <Esc> :nohlsearch<Bar>:echo<CR> + +" toggle nerdtree with ctrl-o +map <C-o> :NERDTreeToggle<CR> |