neotree follow
This commit is contained in:
parent
5dc5b06933
commit
8ed02b751e
|
|
@ -11,6 +11,10 @@ vim.keymap.set('n', '\\', '<Cmd>Neotree reveal<CR>', { desc = 'NeoTree reveal',
|
||||||
|
|
||||||
require('neo-tree').setup {
|
require('neo-tree').setup {
|
||||||
filesystem = {
|
filesystem = {
|
||||||
|
follow_current_file = {
|
||||||
|
enabled = true, -- This finds and focuses the file in the active buffer every time a new file is opened
|
||||||
|
leave_dirs_open = false, -- Closes folders when you leave them (set to true if you prefer keeping them open)
|
||||||
|
},
|
||||||
window = {
|
window = {
|
||||||
mappings = {
|
mappings = {
|
||||||
['\\'] = 'close_window',
|
['\\'] = 'close_window',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue