diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 041a1e3..ff97da5 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -181,6 +181,7 @@ require("nvim-tree").setup({ view = { -- Ensures files open in the window where nvim-tree was triggered preserve_window_proportions = true, + centralize_selection = true, }, update_focused_file = { enable = true, -- update the tree to focus the current file @@ -306,7 +307,7 @@ map("n", "N", "Nzzzv", { noremap = true, silent = true }) map("n", "g", ":LazyGitCurrentFile", { noremap = true, silent = true }) -- File browser -map("n", "e", ":NvimTreeToggle", { noremap = true, silent = true }) +map("n", "e", ":NvimTreeFindFileToggle!", { noremap = true, silent = true }) map("n", "f", ":Pick files", { noremap = true, silent = true }) map("n", "h", ":Pick help", { noremap = true, silent = true }) diff --git a/update_arch.sh b/update_arch.sh index 911829a..6dfbf87 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -318,7 +318,7 @@ fi if [ "${ROLES[DESKTOP_WORK]}" == "yes" ]; then printf -- '\033[33m Installing desktop work utilities\n\033[37m' - sudo pacman --noconfirm --needed -S kicad freecad + sudo pacman --noconfirm --needed -S kicad kicad-library freecad flatpak install -y flathub org.kde.krita flatpak install -y flathub com.prusa3d.PrusaSlicer flatpak install -y flathub com.jgraph.drawio.desktop