From e59231627c06b147d153774e772db299dcf0aee5 Mon Sep 17 00:00:00 2001 From: ame Date: Sat, 16 Aug 2025 03:33:55 -0500 Subject: use oil for floating --- fnl/plugins/neo_tree.fnl | 1 - fnl/plugins/which_key.fnl | 4 ++-- init.fnl | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fnl/plugins/neo_tree.fnl b/fnl/plugins/neo_tree.fnl index 9925d60..758614b 100644 --- a/fnl/plugins/neo_tree.fnl +++ b/fnl/plugins/neo_tree.fnl @@ -15,7 +15,6 @@ :staged " " :conflict ":("}}} :window { - :position :left :width 30} :filesystem { :use_libuv_file_watcher true}}) diff --git a/fnl/plugins/which_key.fnl b/fnl/plugins/which_key.fnl index 643dfa3..50db6b0 100644 --- a/fnl/plugins/which_key.fnl +++ b/fnl/plugins/which_key.fnl @@ -14,12 +14,12 @@ (local mappings [ ;;common - (wmap :f "Neotree toggle" "fs") + (wmap :f "Neotree position=left toggle" "fs") (wmap :w "WinShift" "win shift") (wmap :t "ToggleTerm direction=horizontal" "hterm") (wmap :d "Glance references" "references") (wmap :s "Telescope live_grep" "search") - (wmap :z "Telescope find_files" "open file") + (wmap :z "Oil --float toggle" "open file") (wmap :b "JABSOpen" "buffers") (wmap :g (fn [] (local buffer (vim.fn.expand :%)) diff --git a/init.fnl b/init.fnl index 36c3f45..59ba6a2 100644 --- a/init.fnl +++ b/init.fnl @@ -32,7 +32,9 @@ (use! :matbme/JABS.nvim :require :plugins.jabs) (use! :CRAG666/code_runner.nvim :config (util.setup! :code_runner)) (use! :sindrets/diffview.nvim) - (use! :luukvbaal/nnn.nvim :config (util.setup! :nnn {:picker {:fullscreen false}})) + (use! :stevearc/oil.nvim :config (util.setup! :oil)) + ;use this to disable preview-tui + ;(use! :luukvbaal/nnn.nvim :config (util.setup! :nnn {:offset true :picker {:fullscreen false}})) ;introduces too many erros:p cool otherwise, might find an altern--mostly covered by outline ;(use! :code-biscuits/nvim-biscuits :config (util.setup! :nvim-biscuits)) -- cgit v1.2.3