diff --git a/.vimrc b/.vimrc index 8d3528d..fe0bbf9 100644 --- a/.vimrc +++ b/.vimrc @@ -27,9 +27,6 @@ map k map l -" Replace all is aliased to S. - nnoremap S :%s//g - " Open my bibliography file in split map :vsp~/Documents/LaTeX/uni.bib @@ -38,6 +35,9 @@ xnoremap o "oy:sp o vnoremap o "oy:sp o +" Replace all is aliased to S. + nnoremap S :%s//g + "For saving view folds: "au BufWinLeave * mkview "au BufWinEnter * silent loadview @@ -69,9 +69,11 @@ inoremap :Goyoa " Enable Goyo by default for mutt writting + " Goyo's width will be the line limit in mutt. autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=72 autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo - " Goyo's width will be the line limit in mutt. + " Automatically start in insert mode. + autocmd BufRead,BufNewFile /tmp/neomutt* :exe "normal! O" " Enable autocompletion: set wildmode=longest,list,full