summaryrefslogtreecommitdiff
path: root/nvim/lua/config
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2024-12-07 08:48:56 +0100
committerJohannes Ranke <johannes.ranke@jrwb.de>2024-12-07 08:48:56 +0100
commit12253d3e7c209f6aa77fe58e95a644eb355e1548 (patch)
tree28eec5029716e38ce2decda13b6da02f3bfc658b /nvim/lua/config
parent7574a02db9487ca02b15d17d01066c5d5ea8f83c (diff)
Configure airline et al., remap <Leader> to backslashnvim-lua
Having <Space> as a <Leader> lead to a large lag (known for neovim with the configuration).
Diffstat (limited to 'nvim/lua/config')
-rw-r--r--nvim/lua/config/lazy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua
index 11d41e0..a4c6f2a 100644
--- a/nvim/lua/config/lazy.lua
+++ b/nvim/lua/config/lazy.lua
@@ -18,7 +18,7 @@ vim.opt.rtp:prepend(lazypath)
-- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt)
-vim.g.mapleader = " "
+vim.g.mapleader = "\\"
vim.g.maplocalleader = ","
-- Create some keymaps for moving between vim windows without <C-w>, as it

Contact - Imprint