Remove unused tree plugin, upgrades to current tree plugin config
This commit is contained in:
parent
4e7b80cdd0
commit
cf742c76af
2 changed files with 68 additions and 12 deletions
1
init.vim
1
init.vim
|
@ -4,7 +4,6 @@ call plug#begin()
|
||||||
Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons
|
Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons
|
||||||
Plug 'kyazdani42/nvim-tree.lua'
|
Plug 'kyazdani42/nvim-tree.lua'
|
||||||
|
|
||||||
Plug 'scrooloose/nerdtree'
|
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'preservim/nerdcommenter'
|
Plug 'preservim/nerdcommenter'
|
||||||
Plug 'mhinz/vim-startify'
|
Plug 'mhinz/vim-startify'
|
||||||
|
|
|
@ -4,17 +4,74 @@ vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
-- OR setup with some options
|
-- OR setup with some options
|
||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
sort_by = "case_sensitive",
|
create_in_closed_folder = true,
|
||||||
|
hijack_cursor = true,
|
||||||
|
open_on_setup = true,
|
||||||
|
open_on_setup_file = true,
|
||||||
|
focus_empty_on_setup = true,
|
||||||
|
sync_root_with_cwd = true,
|
||||||
view = {
|
view = {
|
||||||
adaptive_size = true,
|
adaptive_size = true,
|
||||||
},
|
},
|
||||||
renderer = {
|
renderer = {
|
||||||
|
full_name = true,
|
||||||
group_empty = true,
|
group_empty = true,
|
||||||
|
special_files = {},
|
||||||
|
symlink_destination = false,
|
||||||
|
indent_markers = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
icons = {
|
||||||
|
git_placement = "signcolumn",
|
||||||
|
show = {
|
||||||
|
file = true,
|
||||||
|
folder = false,
|
||||||
|
folder_arrow = false,
|
||||||
|
git = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
update_focused_file = {
|
||||||
|
enable = true,
|
||||||
|
update_root = true,
|
||||||
|
ignore_list = { "help" },
|
||||||
|
},
|
||||||
|
diagnostics = {
|
||||||
|
enable = true,
|
||||||
|
show_on_dirs = true,
|
||||||
},
|
},
|
||||||
filters = {
|
filters = {
|
||||||
dotfiles = true,
|
custom = {
|
||||||
|
"^.git$",
|
||||||
|
"^.mypy_cache$",
|
||||||
},
|
},
|
||||||
})
|
},
|
||||||
|
actions = {
|
||||||
|
change_dir = {
|
||||||
|
enable = false,
|
||||||
|
restrict_above_cwd = true,
|
||||||
|
},
|
||||||
|
open_file = {
|
||||||
|
resize_window = true,
|
||||||
|
},
|
||||||
|
remove_file = {
|
||||||
|
close_window = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
log = {
|
||||||
|
enable = false,
|
||||||
|
truncate = true,
|
||||||
|
types = {
|
||||||
|
all = false,
|
||||||
|
config = false,
|
||||||
|
copy_paste = false,
|
||||||
|
diagnostics = false,
|
||||||
|
git = false,
|
||||||
|
profile = false,
|
||||||
|
watcher = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
--Gruvbox theme settings
|
--Gruvbox theme settings
|
||||||
-- setup must be called before loading the colorscheme
|
-- setup must be called before loading the colorscheme
|
||||||
|
|
Loading…
Reference in a new issue