diff options
author | Christian Chiarulli <[email protected]> | 2021-08-27 00:11:01 -0400 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-08-27 21:06:50 +0200 |
commit | df7c3cb8f0512042bd24c10e744718991ae6a9a2 (patch) | |
tree | ea00363c4468835d4c07bc7fc98daf8af7c0abf2 | |
parent | 33af0668baf2df2a27782e2db8c6dd72cdf914b4 (diff) |
q to quit quickfix when focused
-rw-r--r-- | lua/core/autocmds.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/core/autocmds.lua b/lua/core/autocmds.lua index 91ec70b5..041926e5 100644 --- a/lua/core/autocmds.lua +++ b/lua/core/autocmds.lua @@ -9,6 +9,11 @@ lvim.autocommands = { "lua require('utils.ft').do_filetype(vim.fn.expand(\"<amatch>\"))", }, { + "FileType", + "qf", + "nnoremap <silent> <buffer> q :q<CR>", + }, + { "TextYankPost", "*", "lua require('vim.highlight').on_yank({higroup = 'Search', timeout = 200})", |