about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-11 13:56:25 +0900
committersefidel <contact@sefidel.net>2022-02-11 13:56:25 +0900
commitbec9a4b5a8bd947ed008fee58e408928de12dd6b (patch)
tree8f4422550b2d1ca59f00bd8caf532e70d648fc67 /fnl/nvrc
parentd4ac498f67aa19a351507aea67daaad1626ebffd (diff)
downloadnvimrc-bec9a4b5a8bd947ed008fee58e408928de12dd6b.tar.gz
nvimrc-bec9a4b5a8bd947ed008fee58e408928de12dd6b.zip
feat(fzf): send all search result to qf
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/pack.fnl2
-rw-r--r--fnl/nvrc/packs/fzf.fnl3
2 files changed, 4 insertions, 1 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index d711002..ccf20ac 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -25,7 +25,7 @@
 (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment})
 (pack! :kyazdani42/nvim-tree.lua {:req :nvimtree :defer :nvim-tree.lua})
 (pack! :ggandor/lightspeed.nvim {:keys [:s :S :x :X :f :F]})
-(pack! :ibhagwan/fzf-lua {:init :fzf-lua :module :fzf-lua :cmd :FzfLua})
+(pack! :ibhagwan/fzf-lua {:req :fzf :module :fzf-lua :cmd :FzfLua})
 
 (pack! :bakpakin/fennel.vim {:ft :fennel})
 
diff --git a/fnl/nvrc/packs/fzf.fnl b/fnl/nvrc/packs/fzf.fnl
new file mode 100644
index 0000000..20186ab
--- /dev/null
+++ b/fnl/nvrc/packs/fzf.fnl
@@ -0,0 +1,3 @@
+(local {: setup} (require :fzf-lua))
+
+(setup {:keymap {:fzf {:alt-a :select-all+accept}}})