Compare commits

...

2 commits

View file

@ -592,7 +592,9 @@
vim.keymap.set("n", "<Leader>fk", ts.keymaps) vim.keymap.set("n", "<Leader>fk", ts.keymaps)
vim.keymap.set("n", "<Leader>fm", ts.marks) vim.keymap.set("n", "<Leader>fm", ts.marks)
vim.keymap.set("n", "<Leader>fo", ts.oldfiles) vim.keymap.set("n", "<Leader>fo", ts.oldfiles)
vim.keymap.set("n", "<Leader>fq", ts.quickfix)
vim.keymap.set("n", "<Leader>fr", ts.registers) vim.keymap.set("n", "<Leader>fr", ts.registers)
vim.keymap.set("n", "<Leader>fs", ts.lsp_dynamic_workspace_symbols)
vim.keymap.set("n", "<Leader>f/", ts.current_buffer_fuzzy_find) vim.keymap.set("n", "<Leader>f/", ts.current_buffer_fuzzy_find)
vim.keymap.set("n", "<Leader>F", ts.resume) vim.keymap.set("n", "<Leader>F", ts.resume)
vim.keymap.set("n", "<Leader>fW", function() ts.live_grep({additional_args={"--hidden", "--no-ignore"}}) end) vim.keymap.set("n", "<Leader>fW", function() ts.live_grep({additional_args={"--hidden", "--no-ignore"}}) end)
@ -842,6 +844,25 @@
require("lualine").setup({}) require("lualine").setup({})
''; '';
} }
# A File Explorer For Neovim Written In Lua.
# https://github.com/nvim-tree/nvim-tree.lua
{
plugin = nvim-tree-lua;
type = "lua";
config =
# lua
''
require("nvim-tree").setup({
filters = {
custom = {
"^\\.git",
},
},
})
vim.keymap.set("n", "<Leader>e", vim.cmd.NvimTreeToggle)
'';
}
]; ];
extraPackages = [ extraPackages = [
nixpkgs-unstable.legacyPackages.${pkgs.system}.basedpyright nixpkgs-unstable.legacyPackages.${pkgs.system}.basedpyright