summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorlouie <louie@example.com>2022-07-17 13:53:29 -0700
committerlouie <louie@example.com>2022-07-17 13:53:29 -0700
commit874c0bb152fbbc31900418940718184ed9d8495a (patch)
tree6c64e679c4493024071c31215f2dd1b7c755740e /lua
parentc491d6d3af6d607930d220b7e70617a535521cad (diff)
Added termguicolors toggle
Diffstat (limited to 'lua')
-rw-r--r--lua/user/keymaps.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua
index 44c8d79..8725c59 100644
--- a/lua/user/keymaps.lua
+++ b/lua/user/keymaps.lua
@@ -85,3 +85,6 @@ keymap("t", "<C-j>", "<C-\\><C-N><C-w>j", term_opts)
keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts)
keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts)
]]
+
+-- Toggle GUI colors
+keymap("n", "<leader>g", ":set termguicolors!<CR>", opts)