diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-04 00:28:37 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-04 00:28:37 +0200 |
| commit | bfd6d83ef02489bc996a2bd2a51a310c9fdde25b (patch) | |
| tree | c98dbaded85c3c17ed2f73c59294973fda790625 | |
| parent | 07c4d02200ea7fa6de9fbeeab3a18343952383bb (diff) | |
| download | dotfiles-bfd6d83ef02489bc996a2bd2a51a310c9fdde25b.tar.gz dotfiles-bfd6d83ef02489bc996a2bd2a51a310c9fdde25b.zip | |
Add TODO to Conditional 'q' to not work in Zen Mode
| -rw-r--r-- | lua/user/keys.lua | 1 |
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? |
