summaryrefslogtreecommitdiff
path: root/lua/ache/config
diff options
context:
space:
mode:
Diffstat (limited to 'lua/ache/config')
-rw-r--r--lua/ache/config/keymaps.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/lua/ache/config/keymaps.lua b/lua/ache/config/keymaps.lua
index 1fd1125..32bcce8 100644
--- a/lua/ache/config/keymaps.lua
+++ b/lua/ache/config/keymaps.lua
@@ -1,4 +1,5 @@
vim.g.mapleader = "!"
+vim.g.maplocalleader = "§" -- Only used in Lazy, to open a terminal in the plugin directory with §tt
-- vim.keymap.set(mode, lhs, rhs, opts?)
-- mode is:
@@ -12,12 +13,12 @@ vim.keymap.set("ca", "tn", "tabnew")
-- Make some unvisible chars visible.
vim.opt.list = true
vim.opt.listchars = {
- tab = "› ",
- -- lead = '·', -- lead is just an invisible normal space
- trail = "ꞏ",
- extends = "♯",
- eol = "¬",
- nbsp = "⍽",
+ tab = "› ",
+ -- lead = '·', -- lead is just an invisible normal space
+ trail = "ꞏ",
+ extends = "♯",
+ eol = "¬",
+ nbsp = "⍽",
}
vim.keymap.set("n", "<space><return>", ":w<return>", { desc = "quick save file" })