Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(nvim): missing keybindings and neotree

+34
+5
config/nvim/lua/keybindings.lua
··· 1 + vim.keymap.set('n', '<A-Right>', '<cmd>tabnext<CR>') 2 + vim.keymap.set('n', '<A-Left>', '<cmd>tabprevious<CR>') 3 + -- Neotree 4 + vim.keymap.set('n', '<A-&>', '<cmd>Neotree<CR>') 5 + vim.api.nvim_create_user_command('Gs', 'Neotree float git_status git_base=main', {})
+29
config/nvim/lua/plugins/neotree.lua
··· 1 + return { 2 + 'nvim-neo-tree/neo-tree.nvim', 3 + branch = "v3.x", 4 + dependencies = { 5 + "nvim-lua/plenary.nvim", 6 + "MunifTanjim/nui.nvim", 7 + "nvim-tree/nvim-web-devicons", -- optional, but recommended 8 + }, 9 + lazy = false, -- neo-tree will lazily load itself 10 + opts = { 11 + close_if_last_window = true, 12 + enable_git_status = true, 13 + default_component_configs = { 14 + indent = { 15 + ident_size = 4, 16 + padding = 2 17 + } 18 + }, 19 + window = { 20 + mappings = { 21 + ["<cr>"] = "open", 22 + ["esc"] = "cancel", 23 + ["<A-cr>"] = "open_tabnew", 24 + ["<r>"] = "rename", 25 + ["<d>"] = "delete" 26 + } 27 + } 28 + } 29 + }