You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried setting up this terminal so it will automatically enter cwd on the current buffer when is opened, but cannot achieve it. Here' s what I tried:
-- this opens normally but doesn't change cwd
vim.api.nvim_create_user_command('FTermToggle', require('FTerm').toggle, { bang = true })
vim.keymap.set('n', '<C-\\>', '<CMD>FTermToggle<CR>')
vim.keymap.set('t', '<C-\\>', '<CMD>FTermToggle<CR>')
-- returns: `No such group or event: FTermToggle * :lcd%:p:h`
vim.cmd("autocmd! FTermToggle * :lcd%:p:h")
I don't use any terminal in Neovim right now, but when I deleted all stuff connected to it, my file manager (in Neovim) is now always on cwd of the current buffer (when previously sometimes it would not change).
Hi, I tried setting up this terminal so it will automatically enter cwd on the current buffer when is opened, but cannot achieve it. Here' s what I tried:
And tried setting
cmd
option to:But nothing works like it should. Also I have enabled
autochdir
but it doesn't do anything.The text was updated successfully, but these errors were encountered: