oni icon indicating copy to clipboard operation
oni copied to clipboard

Escaping

Open binamkayastha opened this issue 8 years ago • 3 comments

Oni Version: 0.3.6 Operating System: Mac High Sierra

Issue: When in :terminal mode, in ranger, ESC doesn't register in ranger (or other terminal programs, like running vim in :terminal mode), and goes to vim editing mode

Expected behavior: ESC should register in ranger (Testing in terminal version of neovim)

Actual behavior: ESC causes you to go to vim mode, making it impossible to esc out

Steps to reproduce: Just try and run vim in :terminal mode, and you'll see how the ESC is registered very confusingly.

I'd love to help work on this issue as well, but I have no idea where to start.

binamkayastha avatar Jul 26 '18 13:07 binamkayastha

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Jul 26 '18 13:07 oni-bot

This is most likely due to the Oni default config having this in it: https://github.com/onivim/oni/blob/b2ef17fde057d55eeb6ac78e1e3c0a73bd279c18/vim/default/bundle/oni-vim-defaults/plugin/init.vim#L21

You can disable the default config if you want (with "oni.useDefaultConfig": false,), which would stop this. Though, if you do that you may want to move some of the settings from the default config into any custom vim config you have. There is some more details on that at the bottom of: https://github.com/onivim/oni/wiki/How-To:-Minimal-Oni-Configuration

Ideally, we'd remove that entirely, and move the config into an Oni option, so its more easily changed.

CrossR avatar Jul 27 '18 20:07 CrossR

Thank you!!!

binamkayastha avatar Jul 28 '18 19:07 binamkayastha