From 1b73f8e8ec924959f4880d7936d71acc6d2e120c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 3 Jan 2024 01:21:03 +0100 Subject: Add keymaps to bqf --- fnl/plugins/editor/bqf.fnl | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/editor/bqf.fnl b/fnl/plugins/editor/bqf.fnl index e2b0791..387ae19 100644 --- a/fnl/plugins/editor/bqf.fnl +++ b/fnl/plugins/editor/bqf.fnl @@ -1,3 +1,27 @@ ;; Make Neovim's quickfix window better. -{1 :kevinhwang91/nvim-bqf :event :BufReadPost :config true} +(local opts {:auto_enable true + :magic_window true + :auto_resize_height false + :preview {:auto_preview false + :show_title true + :delay_syntax 50 + :wrap false} + :func_map {:tab :t + :openc :o + :drop :O + :split :s + :vsplit :v + :stoggleup :M + :stoggledown :m + :stogglevm :m + :filterr :f + :filter :F + :prevhist "<" + :nexthist ">" + :sclear :c + :ptoggleitem :p + :ptoggleauto :a + :ptogglemode :P}}) + +{1 :kevinhwang91/nvim-bqf :event :BufReadPost : opts} -- cgit v1.2.3-70-g09d2