summaryrefslogtreecommitdiff
path: root/fnl/config/cmd.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
commit86fc163e549d78136855ac2b45e91ffb2f43affc (patch)
tree20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/cmd.fnl
parent0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff)
Refactor config loading
Diffstat (limited to 'fnl/config/cmd.fnl')
-rw-r--r--fnl/config/cmd.fnl7
1 files changed, 7 insertions, 0 deletions
diff --git a/fnl/config/cmd.fnl b/fnl/config/cmd.fnl
index e548839..735bbc4 100644
--- a/fnl/config/cmd.fnl
+++ b/fnl/config/cmd.fnl
@@ -84,3 +84,10 @@
(let [persistence (util.prequire :persistence)]
(persistence.stop)))
{:nargs 0})
+
+(nvim.create_user_command :FindFiles
+ (lambda []
+ (util.telescope-builtin :find_files
+ {:theme :get_dropdown
+ :previewer false}))
+ {:nargs 0})