commit bcd4c9b91aa658a91c13f8e5acdc26be8e0c14f2
parent da9afa333c1a0b501b8e43df83f1460654dfef2f
Author: Chris Bracken <chris@bracken.jp>
Date: Sun, 25 Aug 2024 14:18:00 -0700
vim: move mapleader to keymappings.lua
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.config/nvim/lua/config/keymappings.lua b/.config/nvim/lua/config/keymappings.lua
@@ -1,3 +1,6 @@
+-- Globals.
+vim.g.mapleader=' ' -- Set <leader> key.
+
-- Kill arrow keys, for great justice.
vim.keymap.set('n', '<Up>', '<NOP>')
vim.keymap.set('n', '<Down>', '<NOP>')
diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua
@@ -1,6 +1,5 @@
-- Globals.
vim.g.mouse = 0 -- Disable visual-mode mouse select.
-vim.g.mapleader=' ' -- Set <leader> key.
-- Basic options
vim.opt.incsearch = true -- Turn on incremental searching.