aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-03-30 14:57:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-03-30 14:57:00 -0300
commitfcb7cd20e0396a6b1fdb33bef3e76eec273dae01 (patch)
treeabf95111ba48056ca3bbf231cd63f33a6b0f5f50
parent324dfacb2303e6109e0198c1ca406c3e80545e13 (diff)
downloadvim-master.tar.gz
vim-master.tar.bz2
Attempt to map backslash as a second leader keyHEADmaster
-rw-r--r--vimrc.dot.link8
1 files changed, 7 insertions, 1 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index 6fe389f..22f135b 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -29,8 +29,14 @@ set timeoutlen=1000
" This one is nice, but easier to conflict with text being typed.
"let mapleader=" "
-" This one sems handy!
+" 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 {{{