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

Single D press deletes whole line [GD 4.1] #6

Open
wrightwriter opened this issue Jul 11, 2023 · 3 comments
Open

Single D press deletes whole line [GD 4.1] #6

wrightwriter opened this issue Jul 11, 2023 · 3 comments

Comments

@wrightwriter
Copy link

Most people would expect double D press to delete the line. And DIW to delete inside word or DI( to delete inside ()

@joshnajera
Copy link
Owner

Hey, I've been MIA personally... sorry about that.
Odd, I thought I had it programmed differently.

Regardless, someone just contributed a change which I merged. It seems to include your desired functions.

@AnderRasoVazquez
Copy link

di( does nothing, could it be because on the command line instead of appearing di( appears (di ? It looks like it puts the "(" on the beginning.

Captura de pantalla 2023-10-06 025605

@binury
Copy link

binury commented Jul 1, 2024

di( does nothing, could it be because on the command line instead of appearing di( appears (di ? It looks like it puts the "(" on the beginning.

Captura de pantalla 2023-10-06 025605

<i> is not a motion by default. d expects a motion to follow, of course. 🤔 If you check your vim config, I’ll bet you find a custom binding you might have forgotten about creating. (Though it could be a plugin too)

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

No branches or pull requests

4 participants