aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc.dot.link14
1 files changed, 14 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index 4f027fb..22f135b 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -20,9 +20,23 @@ set shortmess+=I
set ignorecase
set smartcase
set timeoutlen=1000
+" }}}
+
+" Leader key {{{
+" This one seems handy, but a bit far to type
"let mapleader="-"
+
+" This one is nice, but easier to conflict with text being typed.
"let mapleader=" "
+
+" This one is handy to access keys in the left.
let mapleader=";"
+
+" This maps the leader to backslash: handy for keys on the right.
+" But is not working.
+" https://stackoverflow.com/questions/8395531/how-do-i-map-multiple-leader-keys-in-vim#8397808
+" https://stackoverflow.com/questions/16105504/how-to-set-vims-local-leader-to-backslash#16105660
+map <Bslash> <leader>
" }}}
" Filetype and syntax handling {{{