From 6646e6a41c8a6a99d5aa6d6d4f6b35aa2ed4c86a Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 25 Jun 2018 17:06:48 +0100 Subject: Clean vimrc --- vim/.vimrc | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 7cc45b1..4d98614 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -210,7 +210,6 @@ let g:NERDTreeHijackNetrw = 0 " Remembrall nnoremap ,, :call remembrall#remind('n', '') nnoremap y :call remembrall#remind('n', 'y') -let g:remembrall_window='botright 10new' augroup remembrall autocmd FileType tex nnoremap ,l Remembrall('n', ',l') @@ -311,6 +310,11 @@ if has("nvim") endif " }}} "" Mappings {{{ + +" .rst headings +nnoremap 1 m`yypVr=`` +nnoremap 2 m`yypVr-`` + nnoremap n nzz nnoremap N Nzz @@ -524,18 +528,5 @@ if has("nvim") nnoremap :b # \| norm A tnoremap nnoremap t :b term \| norm A - - tnoremap h - tnoremap j - tnoremap k - tnoremap l - inoremap h - inoremap j - inoremap k - inoremap l - nnoremap h - nnoremap j - nnoremap k - nnoremap l endif " }}} -- cgit v1.2.3