Skip to content

Conversation

@wesalvaro
Copy link

Currently, when pasting character-wise, the selection is kept at the beginning. In VIM, the behavior is placing the cursor at the end of the pasted content.

Example of current behavior:
d_o_g - Denotes the cursor is under the letter "o" in "dog".
d>og< - Denotes the selection is "og" in "dog".

>something< - Let's yank(y) this selection "something".
_s_omething - Place the cursor over "s"

Put(p) in Sublime result:
s_s_omethingomething

Put(p) in VIM result:
ssomethin_g_omething

This minor change fixes Sublime's character-wise put to behave like VIM's.

Currently, when pasting character-wise, the selection is kept at the beginning. In VIM, the behavior is placing the cursor at the end of the pasted content.
Example of current behavior:
  d_o_g - Denotes the cursor is under the letter "o" in "dog".
  d>og< - Denotes the selection is "og" in "dog".
  
  >something< - Let's yank(y) this selection "something".
  _s_omething - Place the cursor over "s"

  Put(p) in Sublime result:
  s_s_omethingomething

  Put(p) in VIM result:
  ssomethin_g_omething

This minor change fixes Sublime's character-wise put to behave like VIM's.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant