aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index d168226..03bf64f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -12,7 +12,6 @@ set shiftwidth=4
set expandtab
set softtabstop=4
-set textwidth=80
set wrap
"set nowrap
"set wrapmargin=4
@@ -31,6 +30,8 @@ set autoread
set wildmenu
set wildmode=longest:list,full
+set backspace=indent,eol,start
+
" mapping
let mapleader=',' " change the key <leader>
nnoremap <leader>n :bn<CR>
@@ -58,3 +59,4 @@ call plug#end()
colorscheme molokai
let g:airline='molokai'
let g:airline#extensions#tabline#enabled = 1
+map <C-n> :NERDTreeToggle<CR>