Summary Files Commits Branches @commit @diff @stats
path: root / lua / mappings.lua
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--lua/mappings.lua9
diff --git a/lua/mappings.lua b/lua/mappings.lua
index 12972f8..ed653f0 100644
--- a/lua/mappings.lua
+++ b/lua/mappings.lua
@@ -97,3 +97,12 @@ map.x.Alt_k(":m '<-2<CR>gv=gv")
-- Special
map.n.Pipe(":tabnew | ter lazygit<CR>")
+map.n.F6(function()
+ if vim.g.colors_name == "gruvbox" then
+ vim.o.spell = true
+ vim.cmd("colorscheme darkblue")
+ else
+ vim.o.spell = false
+ vim.cmd("colorscheme gruvbox")
+ end
+end)