diff --git a/nix/home/neovim/neovim.nix b/nix/home/neovim/neovim.nix index 30319ea..d99f8ce 100644 --- a/nix/home/neovim/neovim.nix +++ b/nix/home/neovim/neovim.nix @@ -63,6 +63,7 @@ vim.opt.expandtab = true vim.opt.smartindent = true + -- load plugins -- neo-tree require("neo-tree").setup({ @@ -76,10 +77,21 @@ window = { position = "left", width = 45, + mapping_options = { + noremap = true, + nowait = true, + }, + mappings = { + [""] = { + "toggle_node", + nowait = false, + }, + }, }, }) require("neo-tree.sources.manager").show("filesystem") + -- nvim-treesitter require("nvim-treesitter").setup({ build = ":TSUpdate", @@ -94,10 +106,12 @@ end }) + -- telescope-nvim local builtin = require("telescope.builtin") vim.keymap.set('n', '', builtin.find_files, {}) + -- vimplugin-catppuccin-nvim require("catppuccin").setup({ flavour = "mocha" }) vim.cmd.colorscheme "catppuccin"