summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-04-23 19:28:28 +0200
committerAlan Pearce2023-04-23 21:55:29 +0200
commit558c0d61af4eafc64c1df3ca56711530b90403c0 (patch)
tree68d78821f68f6f971f38528d5a8b67cbfd5df291
parent98db86c5351406f6c173aa965a0d0bb25973ae3c (diff)
downloadnixfiles-558c0d61af4eafc64c1df3ca56711530b90403c0.tar.lz
nixfiles-558c0d61af4eafc64c1df3ca56711530b90403c0.tar.zst
nixfiles-558c0d61af4eafc64c1df3ca56711530b90403c0.zip
neovim: set a <leader> key
-rw-r--r--user/nvim/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua
index 59ad8a0a..ddeb6940 100644
--- a/user/nvim/init.lua
+++ b/user/nvim/init.lua
@@ -6,6 +6,8 @@ vim.opt.tabstop = 2
 vim.opt.expandtab = false
 vim.opt.number = true
 
+vim.g.mapleader = ","
+
 local keyset = vim.keymap.set
 -- Autocomplete
 function _G.check_back_space()