]> 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>
Tue, 31 Oct 2023 23:08:51 +0000 (23:08 +0000)
commit0059483c5f16391f06fd43b4a59b11922336709c
tree8c18ce603a400bd86652a923cfd13ab1bf92789c
parentcd624c1910a8f2d0b48df74b289712ae37eaf246
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