aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-10-18 19:40:54 +0200
committerTeddy Wing2021-11-15 20:16:06 +0100
commitd4c135e340426c203a6ab7dda5919465b0e11375 (patch)
treece8b1a135a49d83f2da5908ebe964fd3aadfda11
parent5292cf4d78fdd39743518ad83e264e7e3cc0686d (diff)
downloaddotvim-d4c135e340426c203a6ab7dda5919465b0e11375.tar.bz2
ftplugin/todo.vim: Add `<Space>` as an additional Leader
Provide the option to use a `<Space>` as a leader in addition to my normal Leader, since it can be quicker for some commands.
-rw-r--r--ftplugin/todo.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim
index fa7bd49..a78600c 100644
--- a/ftplugin/todo.vim
+++ b/ftplugin/todo.vim
@@ -6,3 +6,7 @@ setlocal nocursorline
highlight todoUndone ctermbg=220 ctermfg=235
highlight todoUnimportant ctermfg=7
+
+
+" Use <Space> as an additional Leader
+nmap <buffer> <Space> <Leader>