summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/bqf.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-03 01:21:03 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-03 01:21:03 +0100
commit1b73f8e8ec924959f4880d7936d71acc6d2e120c (patch)
treeeed861ab7e1797d0819250b162fa9322e9f1e00b /fnl/plugins/editor/bqf.fnl
parentefc8f39a8b2892f7afb9576fce622248cf73968c (diff)
Add keymaps to bqf
Diffstat (limited to 'fnl/plugins/editor/bqf.fnl')
-rw-r--r--fnl/plugins/editor/bqf.fnl26
1 files changed, 25 insertions, 1 deletions
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}