This commit is contained in:
Nikola Savic 2024-09-16 10:40:45 +02:00
parent 3b7eee30c6
commit 59c79a8aa8
7 changed files with 150 additions and 187 deletions

View file

@ -151,7 +151,7 @@ return {
-- see `:h neo-tree-custom-commands-global`
commands = {},
window = {
position = 'right',
position = 'left',
width = 40,
mapping_options = {
noremap = true,
@ -334,7 +334,7 @@ return {
}
-- vim.cmd [[nnoremap \ :Neotree reveal<cr>]]
vim.keymap.set('n', '<leader>e', ':Neotree toggle position=right<CR>', { noremap = true, silent = true }) -- focus file explorer
vim.keymap.set('n', '<leader>e', ':Neotree toggle position=left<CR>', { noremap = true, silent = true }) -- focus file explorer
vim.keymap.set('n', '<leader>gt', ':Neotree float git_status<CR>', { noremap = true, silent = true }) -- open git status window
end,
},