joshnajera / godot-vim

VIM bindings for godot 4
MIT License
245 stars 27 forks source link

Support for escaping insert mode with Ctrl+[ #22

Closed zer0divider closed 2 months ago

zer0divider commented 10 months ago

I am used to leaving insert mode with Ctrl+[ rather than Escape. It is just a little faster as your left hand does not have to move all the way to the top left corner to reach the Escape key. Maybe this small feature is useful for other people too 😺 Merry Christmas by the way 🎄

seemikehack commented 8 months ago

This does exit to normal mode for me, but it also prints a bracket before exiting, which Godot also automatically closes. Maybe some additional modification of the input_state when the Ctrl+[ escape sequence is used? Not sure.

sebajun9 commented 4 months ago

Works great for me on v4.3 beta 1

binury commented 3 months ago

This does exit to normal mode for me, but it also prints a bracket before exiting, which Godot also automatically closes. Maybe some additional modification of the input_state when the Ctrl+[ escape sequence is used? Not sure.

I couldn't replicate this. Does this always happen for you or only sometimes?

zer0divider commented 2 months ago

@seemikehack I also can't replicate it... I tested it with Godot v4.2.2 on Ubuntu and Windows. Further I will close this pull request as @binury implemented this together with another hot-key in https://github.com/joshnajera/godot-vim/pull/29