]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Attempt to map backslash as a second leader key
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 30 Mar 2025 17:57:00 +0000 (14:57 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 30 Mar 2025 17:57:00 +0000 (14:57 -0300)
vimrc.dot.link

index 6fe389fe3e0e0d159ea7ec147d5a92191ff5ee5b..22f135b9e2aedcdd486a7323ee879d32dbdee6b4 100644 (file)
@@ -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 {{{