aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/plantuml/plantuml.vim
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-07-09 01:10:36 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-07-09 01:10:36 +0200
commitfaeb7cab78f10b8359b2fa86a96e6861e2b86e3f (patch)
tree6925703f1977533e92f621a61ef929fd3f36be7e /files/vim/ftplugin/plantuml/plantuml.vim
parentbac1cf42d0ae8c0afdaf843b6dbff494b30354d9 (diff)
downloadconfigs-faeb7cab78f10b8359b2fa86a96e6861e2b86e3f.tar.gz
configs-faeb7cab78f10b8359b2fa86a96e6861e2b86e3f.zip
Trying space as leader for vim ftplugins.
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>