dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 966daa2b9f411dc190559be2d32e3274fefe6dc6
parent 27334df2dd0934c7a165263ae602c98f3081bbe5
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Tue, 25 Aug 2026 11:43:08 +0200

Use neo-tree instaed of NVIMTree

Diffstat:
Mnvim/.config/nvim/lua/plugins.lua | 48+++++++++++++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 15 deletions(-)

diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua @@ -189,7 +189,7 @@ require('lazy').setup({ options = { offsets = { { - filetype = "NvimTree", + filetype = "neo-tree", text = "File Explorer", text_align = "center", separator = true @@ -200,25 +200,42 @@ require('lazy').setup({ end }, - { 'nvim-tree/nvim-tree.lua', - dependencies = 'nvim-tree/nvim-web-devicons', - config = function() - vim.g.loaded_netrw = 1 - vim.g.loaded_netrwPlugin = 1 + { "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", + }, + }, - vim.opt.termguicolors = true + { "Crysthamus/nvim-file-operations", + -- branch = "compat" -- if you are on Neovim <= 0.10 + dependencies = { + "nvim-neo-tree/neo-tree.nvim", -- makes sure that this loads after Neo-tree. + }, + config = function() + require("nvim-file-operations").setup() + end, + }, - require("nvim-tree").setup({ - view = { - preserve_window_proportions = true, - }, - actions = { - open_file = { - resize_window = false, + { "s1n7ax/nvim-window-picker", + version = "2.*", + config = function() + require("window-picker").setup({ + filter_rules = { + include_current_win = false, + autoselect_one = true, + -- filter using buffer options + bo = { + -- if the file type is one of following, the window will be ignored + filetype = { "neo-tree", "neo-tree-popup", "notify" }, + -- if the buffer type is one of following, the window will be ignored + buftype = { "terminal", "quickfix" }, }, }, }) - end + end, }, { "lukas-reineke/indent-blankline.nvim", @@ -245,6 +262,7 @@ require('lazy').setup({ opts = { formatters_by_ft = { cpp = {"clang-format"}, + c = {"clang-format"}, }, format_on_save = { timeout_ms = 500,