aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/plugins/neo_tree.fnl1
-rw-r--r--fnl/plugins/which_key.fnl4
-rw-r--r--init.fnl4
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 "<cmd>Neotree toggle<CR>" "fs")
+ (wmap :f "<cmd>Neotree position=left toggle<CR>" "fs")
(wmap :w "<cmd>WinShift<CR>" "win shift")
(wmap :t "<cmd>ToggleTerm direction=horizontal<CR>" "hterm")
(wmap :d "<cmd>Glance references<CR>" "references")
(wmap :s "<cmd>Telescope live_grep<CR>" "search")
- (wmap :z "<cmd>Telescope find_files<CR>" "open file")
+ (wmap :z "<cmd>Oil --float<CR> toggle" "open file")
(wmap :b "<cmd>JABSOpen<CR>" "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))