dont auto open nvim-tree

This commit is contained in:
Christoph J. Scherr 2023-09-25 13:48:17 +02:00
parent 376288fe21
commit 6eec4b4636
3 changed files with 17 additions and 7 deletions

View File

@ -14,13 +14,14 @@ vim.api.nvim_create_autocmd({ 'FocusGained', 'TermClose', 'TermLeave' }, {
command = 'checktime',
})
-- Open Neotree in new tabs
vim.api.nvim_create_autocmd({'TabNewEntered' }, {
group = augroup('automatic_neotree'),
callback = function()
vim.cmd('Neotree')
end,
})
-- Caution: Causes Errors?
-- -- Open Neotree in new tabs
-- vim.api.nvim_create_autocmd({'TabNewEntered' }, {
-- group = augroup('automatic_neotree'),
-- callback = function()
-- vim.cmd('Neotree')
-- end,
-- })
-- Go to last loc when opening a buffer, see ':h last-position-jump'
vim.api.nvim_create_autocmd('BufReadPost', {

View File

@ -153,3 +153,12 @@ struct
enum
priorisierbar
仕方がない
Gleichzeitigkeitsmechanismen
ServiceWrapper
Repräsentierung
Docstrings
Backends
dirs
MessageFrame
Addressor
init

Binary file not shown.