yannickperrenet / dotfiles

💛 My dotfiles.
https://github.com/yannickperrenet/iscripts
MIT License
3 stars 0 forks source link

vi-mode in :terminal in Nvim #22

Closed yannickperrenet closed 2 years ago

yannickperrenet commented 3 years ago

Just wanted to list this here: https://github.com/neovim/neovim/issues/8805

Modifying the terminal buffer is not possible, also not with something like:

augroup Terminal
    au!
    au TermEnter * setlocal modifiable
augroup END

Sadly, this makes impossible to use terminal vi-mode like shortcuts to edit commands. Instead I will have to stick to using the terminal's emacs bindings, such as <C-w>.