joshnajera / godot-vim

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

Pressing 'o' on last line shifts current line down. #12

Open zolrath opened 1 year ago

zolrath commented 1 year ago

Hello! Great plugin, very excited for this new version.

When editing a file with the following contents and the cursor in the position marked <cursor>:

first line

third li<cursor>ne

In vim, pressing o would add a new line under the existing line and move your cursor to it.

first line

third line
<cursor>

This currently works as expected in godot-vim except for the final line of the file. Instead, the current line contents are moved down as well:

first line

<cursor>third line