neovim: use , as leader

This commit is contained in:
John Bowdre 2025-01-07 09:54:41 -06:00
parent 4753c6e08c
commit fdab035596
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -1,8 +1,8 @@
{ config, lib, ... }: {
programs.nixvim = {
globals = {
mapleader = " ";
maplocalleader = " ";
mapleader = ",";
maplocalleader = ",";
};
keymaps = let
@ -10,7 +10,7 @@
mode = "n";
inherit action key;
}) {
"<Space>" = "<NOP>";
"," = "<NOP>";
# Esc to clear search results
"<esc>" = ":noh<CR>";