mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-01-14 21:19:13 +00:00
neovim: use , as leader
This commit is contained in:
parent
4753c6e08c
commit
fdab035596
1 changed files with 3 additions and 3 deletions
|
@ -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>";
|
||||||
|
|
Loading…
Reference in a new issue