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