neotree follow
This commit is contained in:
parent
843ab62e01
commit
3284a97a1e
|
@ -134,7 +134,7 @@ return {
|
|||
event = 'InsertEnter',
|
||||
dependencies = { 'rafamadriz/friendly-snippets' },
|
||||
build = (not jit.os:find('Windows'))
|
||||
and "echo 'NOTE: jsregexp is optional, so not a big deal if it fails to build'; make install_jsregexp"
|
||||
and "echo 'jsregexp is optional, so not a big deal if it fails to build'; make install_jsregexp"
|
||||
or nil,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
|
|
|
@ -170,6 +170,11 @@ return {
|
|||
},
|
||||
},
|
||||
filesystem = {
|
||||
follow_current_file = {
|
||||
enabled = true, -- This will find and focus the file in the active buffer every time
|
||||
-- -- the current file is changed while the tree is open.
|
||||
leave_dirs_open = true, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
|
||||
},
|
||||
window = {
|
||||
mappings = {
|
||||
['H'] = 'toggle_hidden',
|
||||
|
@ -196,7 +201,7 @@ return {
|
|||
end,
|
||||
},
|
||||
},
|
||||
group_empty_dirs = true,
|
||||
group_empty_dirs = false,
|
||||
use_libuv_file_watcher = true,
|
||||
bind_to_cwd = false,
|
||||
cwd_target = {
|
||||
|
@ -227,7 +232,7 @@ return {
|
|||
},
|
||||
},
|
||||
buffers = {
|
||||
bind_to_cwd = false,
|
||||
bind_to_cwd = true,
|
||||
window = {
|
||||
mappings = {
|
||||
['<BS>'] = 'navigate_up',
|
||||
|
|
Loading…
Reference in New Issue