remove duplicate mapping

This commit is contained in:
Thomas Ruoff
2019-03-04 23:43:34 +01:00
parent 37283debe0
commit 09a4540500

View File

@@ -240,12 +240,7 @@ let g:sessions_dir = '~/.vim/sessions'
exec 'nnoremap <Leader>ss :mks! ' . g:sessions_dir . '/*.vim<C-D><BS><BS><BS><BS><BS>' exec 'nnoremap <Leader>ss :mks! ' . g:sessions_dir . '/*.vim<C-D><BS><BS><BS><BS><BS>'
exec 'nnoremap <Leader>sr :so ' . g:sessions_dir. '/*.vim<C-D><BS><BS><BS><BS><BS>' exec 'nnoremap <Leader>sr :so ' . g:sessions_dir. '/*.vim<C-D><BS><BS><BS><BS><BS>'
"" session management "" fast editing of config
let g:sessions_dir = '~/.vim/sessions'
exec 'nnoremap <Leader>ss :mks! ' . g:sessions_dir . '/*.vim<C-D><BS><BS><BS><BS><BS>'
exec 'nnoremap <Leader>sr :so ' . g:sessions_dir. '/*.vim<C-D><BS><BS><BS><BS><BS>'
"" fast editing of the .vimrc
nnoremap <silent> <leader>ev :e $MYVIMRC<cr> nnoremap <silent> <leader>ev :e $MYVIMRC<cr>
"" cheatsheet "" cheatsheet
@@ -282,12 +277,12 @@ augroup END
"" txt, mail, tex "" txt, mail, tex
augroup text augroup text
autocmd! autocmd!
autocmd FileType text,markdown,mail,tex set wrap wm=2 nocindent spell textwidth=79 colorcolumn=80 autocmd FileType text,markdown,mail,tex set wrap wm=2 nocindent spell textwidth=79
augroup END augroup END
augroup markdown augroup markdown
autocmd! autocmd!
autocmd FileType markdown set wrap wm=2 nocindent spell textwidth=79 colorcolumn=80 autocmd FileType markdown set wrap wm=2 nocindent spell textwidth=79
augroup END augroup END
"" Web "" Web
@@ -315,6 +310,7 @@ endfunction
" Reloading vim " Reloading vim
augroup VimReload augroup VimReload
autocmd! autocmd!
autocmd BufRead $MYVIMRC :lcd fnamemodify(resolve($MYVIMRC), ':h:p')
autocmd BufWritePost $MYVIMRC source $MYVIMRC | call LightlineReload() autocmd BufWritePost $MYVIMRC source $MYVIMRC | call LightlineReload()
augroup END augroup END