nixvim remap leader to space

This commit is contained in:
Sam 2024-06-17 20:27:57 +01:00
parent f6304cf25f
commit d180075914
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@
enable = true;
enableMan = true; # install man pages for nixvim options
clipboard.register = "unnamedplus"; # use system clipboard instead of internal registers
globals.mapleader = ";";
globals.mapleader = " ";
extraConfigLua = ''
vim.api.nvim_set_keymap("", '<Space>', '<Nop>', { noremap = true, silent = true })
'';
extraConfigVim = ''
" ================ Persistent Undo ==================