diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-24 15:11:05 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-24 15:11:05 +0200 |
commit | 720c31a5dc09cc3c4a8564d16d3a5d309a3b9017 (patch) | |
tree | 68215c6086c6018db62530b11b1d129db28a59d2 /vimrc | |
parent | aacc89d5e81a49e0f0d5fafc3a7833d0e33be6c3 (diff) | |
download | vimrc-720c31a5dc09cc3c4a8564d16d3a5d309a3b9017.tar.gz vimrc-720c31a5dc09cc3c4a8564d16d3a5d309a3b9017.tar.bz2 vimrc-720c31a5dc09cc3c4a8564d16d3a5d309a3b9017.zip |
Use Vundle plugin manager and install nertdree plugin.
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> |