]> git.rmz.io Git - dotfiles.git/commit
vim: set g:mapleader instead of remapping <space>
authorSamir Benmendil <me@rmz.io>
Mon, 10 Apr 2023 22:36:29 +0000 (23:36 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:36:18 +0000 (17:36 +0000)
commitdd4a806cf3918fc6b20de40f1c9d344f5ece4f0a
tree8c18ce603a400bd86652a923cfd13ab1bf92789c
parente314c901f6f92e39a4bbda5de79be77957f10c78
vim: set g:mapleader instead of remapping <space>

This is technically the correct way, I used the remap before to support
both <space> and the default \ as leader keys.

Remapping interferes with nvim's which-key though. It's just a warning
and I'm not sure if it actually causes features to break. I'm only
setting mapleader for now to silence this.

I think the mapping was also convenient to be able to map \<key> ad hoc
rather than use <space><key> or something. We'll deal with this later.
vim/vimrc