moe icon indicating copy to clipboard operation
moe copied to clipboard

List of feature requests

Open X-Ninja-dev opened this issue 8 months ago • 2 comments

Detailed Description

You asked for it so here's the first list of features I need or would at least love to have :-)

Suggestet commands/features

Important

  • yt(x), yf(x), y$ - yank to, yank find, yank to end of line
  • :s/foo/bar/(g) - search and replace in current line "/g" to replace all occurrences without asking
  • :%s/foo/bar/(g) - search and replace entire file
  • ctrl n to reopen the file tree - (unless there's already a keybinding for that?)
  • . to redo last change another place in the file - Don't know how to explain but if you know Vim you know it
  • 4d or 4c - delete or change the next 4 characters. In Vim you choose the direction 4dl but that's unnecessary

It's kinda important that we have either the regex search and replace or the . key command. Those are really the two normal ways of replacing text. The . of course being used for many other things

Less important

  • 4j, 4k, 4h, 4l - all pretty esential in Vim. Actually any command with a number before it :-)
  • most people uses relative line numbers in Vim
  • undo the last insert instead of deleting 1 character at a time
  • an option to turn off the self-closing of ", ', (, etc. It is a horrible feature that came into editors many years ago and it has never ever saved anyone any time, it only ever gets in the way :-) Most of the time you write one of these characters you are going to type the closing char too because you have to continue the line afterwards so it saves you nothing, but the times you are adding it to existing code you have to write the character, then ESC to get to normal mode, Then 'l' to move to the closing char that was put in, then 'x' to delete it, and then you can go to the other end press 'i', and do the whole thing again :-)
  • OR make it possible to make a visual selection and then surround the selection with (), "", [], etc. by typing the opening char

X-Ninja-dev avatar Oct 21 '23 11:10 X-Ninja-dev