aboutsummaryrefslogtreecommitdiff
path: root/lua/user/keys.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-05-04 00:28:37 +0200
committersrdusr <trevorgray@srdusr.com>2023-05-04 00:28:37 +0200
commitbfd6d83ef02489bc996a2bd2a51a310c9fdde25b (patch)
treec98dbaded85c3c17ed2f73c59294973fda790625 /lua/user/keys.lua
parent07c4d02200ea7fa6de9fbeeab3a18343952383bb (diff)
downloaddotfiles-bfd6d83ef02489bc996a2bd2a51a310c9fdde25b.tar.gz
dotfiles-bfd6d83ef02489bc996a2bd2a51a310c9fdde25b.zip
Add TODO to Conditional 'q' to not work in Zen Mode
Diffstat (limited to 'lua/user/keys.lua')
-rw-r--r--lua/user/keys.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/user/keys.lua b/lua/user/keys.lua
index c0592da..ad9ca6d 100644
--- a/lua/user/keys.lua
+++ b/lua/user/keys.lua
@@ -29,6 +29,7 @@ map("n", "<leader><CR>",
--------------- Extended Operations ---------------
-- Conditional 'q' to quit on floating/quickfix/help windows otherwise still use it for macros
+-- TODO: Have a list of if available on system/packages, example "Zen Mode" to not work on it (quit Zen Mode)
map('n', 'q', function()
local config = vim.api.nvim_win_get_config(0)
if config.relative ~= "" then -- is_floating_window?