Commit 16465d2576030eee441f3c1030642b1abdaead4d Parent: ee9286eb1145b6cadccd75f31aad86bc3e34a3d4 Author: mcol <mcol@posteo.net> Date: 2020-02-15 18:43:37 +0000 Committer: mcol <mcol@posteo.net> Committed: 2020-02-15 18:43:37 +0000 add riv
vimrc Modified
@@ -22,7 +22,7 @@ if stridx(hostname(), "book") != -1 Plugin 'vimwiki/vimwiki' " vimwiki - "Plugin 'gu-fan/riv.vim' + Plugin 'gu-fan/riv.vim' Plugin 'm-col/vimlab' " vimlab "Plugin 'lervag/vimtex' " vimtex Plugin 'airblade/vim-gitgutter' " gitgutter @@ -120,6 +120,9 @@ "endfunction let g:gitgutter_enabled = 0 + + "riv + let g:riv_projects = [{ 'path': '~/wiki', }] endif " Intelligently navigate tmux panes and Vim splits using the same keys.
ftplugin/rst.vim Modified
@@ -2,6 +2,7 @@ "setlocal spell spelllang=en_gb nnoremap <localleader>c :mkview<CR>gqip:silent loadview<CR> -nnoremap <localleader>t= mt0yypv$r= -nnoremap <localleader>t- mt0yypv$r- -nnoremap <localleader>t' mt0yypv$r' + +nnoremap <C-e>t :RivTableCreate<CR> +nnoremap <C-e>l :RivCreateLink<CR> +"<C-e>s[1,2,3] will make current line a heading