X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=keymaps.vim;h=1cbfbf95256ff57156ddd5a2910a90b3af185325;hp=20f32339b40b68bbb2eab99fc0239ff203898216;hb=bb415e77a5be19d4f4cc0481151be9338b1edc72;hpb=0b8d10cf3795f7ce103de2165e3aae15c0f52ec7 diff --git a/keymaps.vim b/keymaps.vim index 20f3233..1cbfbf9 100644 --- a/keymaps.vim +++ b/keymaps.vim @@ -6,8 +6,6 @@ nnoremap pumvisible() ? "\" : "\" nnoremap :NERDTreeToggle nnoremap :TagbarToggle -au Filetype tex nmap :VimtexTocToggle -au Filetype tex nmap :VimtexLabelsToggle au Filetype gnuplot map :call OpenIn("gnuplot -persist") nmap :bn @@ -21,9 +19,9 @@ xmap (neosnippet_expand_target) au Filetype c,cpp,objc map :vsplit:FSRight au Filetype c,cpp,objc map :FSHere -au BufNewFile *.{h,hpp,hxx} call AddIncludeGuards() -au Filetype html,xml imap / +au Filetype markdown map :call RunMarkdown() +au Filetype asciidoc map :call RunAsciidoc() " Start interactive EasyAlign in visual mode (e.g. vipga) vmap (EasyAlign)