Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of feature requests #1896

Open
X-Ninja-dev opened this issue Oct 21, 2023 · 2 comments
Open

List of feature requests #1896

X-Ninja-dev opened this issue Oct 21, 2023 · 2 comments
Assignees
Labels

Comments

@X-Ninja-dev
Copy link

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
@fox0430
Copy link
Owner

fox0430 commented Oct 24, 2023

@X-Ninja-dev

ctrl n to reopen the file tree - (unless there's already a keybinding for that?)

Does this mean open the filer mode in the current dir?

@fox0430
Copy link
Owner

fox0430 commented Oct 26, 2023

@X-Ninja-dev

4d or 4c - delete or change the next 4 characters. In Vim you choose the direction 4dl but that's unnecessary

Cannot add 4d and 4c commands. Because it cannot be distinguished from other 4d(x) and 4c(x) commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants