From beafa11adad1c25ad49e353cd5bfd99c8c558b19 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Sat, 12 Apr 2025 01:42:03 +0200 Subject: [PATCH] nvim oil --- manjaro.sh | 2 +- nvim/init.lua | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/manjaro.sh b/manjaro.sh index 0f77e63..73929db 100755 --- a/manjaro.sh +++ b/manjaro.sh @@ -22,7 +22,7 @@ chsh -s /usr/bin/nu # nushell yay -S oh-my-posh argc git clone https://github.com/sigoden/argc-completions.git ~/.local/share/argc-completions/ -oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/iterm2.omp.json +oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/negligible.omp.json # code yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager diff --git a/nvim/init.lua b/nvim/init.lua index 189bf90..53708bd 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -565,9 +565,12 @@ local function makespec_oil() "stevearc/oil.nvim", dependencies = { "mini.icons" }, cmd = { "Oil" }, + lazy = false, opts = { + default_file_explorer = true, watch_for_changes = true, view_options = { show_hidden = true }, + columns = { "icon", "permissions", "size", "mtime" }, }, keys = { { "fE", "Oil .", desc = "Oil Explorer (buffer)" },