we don't need a tree when we got oil + telescope
This commit is contained in:
parent
939e8a45f5
commit
620bad6011
3 changed files with 0 additions and 67 deletions
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
# User Interface Plugins
|
||||
./plugins/ui/lualine.nix
|
||||
./plugins/ui/nvim-tree.nix
|
||||
./plugins/ui/web-devicons.nix
|
||||
./plugins/ui/whichkey.nix
|
||||
|
||||
|
|
|
|||
|
|
@ -1,25 +1,6 @@
|
|||
{...}: {
|
||||
plugins.auto-session = {
|
||||
enable = true;
|
||||
|
||||
# fix: nvim-tree / auto-session
|
||||
settings = {
|
||||
log_level = "error";
|
||||
pre_save_cmds = [
|
||||
"NvimTreeClose"
|
||||
];
|
||||
post_save_cmds = [
|
||||
"NvimTreeOpen"
|
||||
];
|
||||
post_open_cmds = [
|
||||
"NvimTreeOpen"
|
||||
];
|
||||
post_restore_cmds = [
|
||||
"NvimTreeOpen"
|
||||
];
|
||||
cwd_change_handling = true;
|
||||
};
|
||||
# https://github.com/zwhitchcox/auto-session-nvim-tree
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
|
|
|
|||
|
|
@ -1,47 +0,0 @@
|
|||
{...}: {
|
||||
plugins.nvim-tree = {
|
||||
enable = true;
|
||||
|
||||
# Configure nvim-tree
|
||||
settings = {
|
||||
# Set width of nvim-tree
|
||||
view = {
|
||||
width = 38;
|
||||
};
|
||||
|
||||
# Hide dotfiles
|
||||
filters = {
|
||||
dotfiles = true;
|
||||
};
|
||||
|
||||
# fix: nvim-tree / auto-session
|
||||
sync_root_with_cwd = true;
|
||||
actions = {
|
||||
change_dir = {
|
||||
global = true;
|
||||
};
|
||||
};
|
||||
# https://github.com/zwhitchcox/auto-session-nvim-tree
|
||||
};
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<leader>n";
|
||||
action = "<cmd>NvimTreeToggle<cr>";
|
||||
options = {
|
||||
desc = "Toggle file explorer";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<leader>e";
|
||||
action = "<cmd>NvimTreeFocus<cr>";
|
||||
options = {
|
||||
desc = "Focus file explorer";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue