aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/plantuml/plantuml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/plantuml/plantuml.vim')
-rw-r--r--files/vim/ftplugin/plantuml/plantuml.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/vim/ftplugin/plantuml/plantuml.vim b/files/vim/ftplugin/plantuml/plantuml.vim
index eaa8911..e493e5b 100644
--- a/files/vim/ftplugin/plantuml/plantuml.vim
+++ b/files/vim/ftplugin/plantuml/plantuml.vim
@@ -10,6 +10,10 @@ setlocal list
call matchadd('ColorColumn', '\%81v', 100)
setlocal textwidth=80
+let mapleader = " "
+
+nnoremap <buffer> <leader>temp :-1r ~/.vim/ftplugin/plantuml/snips/template.txt<CR>Gdd?<+++><CR>cf>
+
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/plantuml/plantuml.vim<CR>
nnoremap <buffer> <leader>e :Errors<CR>