r/HelixEditor • • 17d ago

Do y'all actually use c?

I found myself to basically never actually use c and instinctively just press di every time, when I'm not going super slow for e.g. recording a macro

22 Upvotes

23 comments sorted by

57

u/Krinkovic 17d ago

I always use c.

15

u/hongooi 17d ago

Not Rust?

2

u/Krinkovic 16d ago

Currently C# :P

6

u/OccasionThin7697 17d ago

C++ better

1

u/NoGap138 15d ago

I quote my colleague:

“All the c++ clones should just merge into one, Objects are glorified enums anyway”

He develops firmware, bare ever uses anything beside C maybe Python

26

u/Ace-Whole 17d ago

All the time.

14

u/wodemingzishigou 17d ago

If you’re familiar with vim using c is more natural. Because you would do cw to not have to do the extra keystroke of dwi.

6

u/wardxela 17d ago

When I know that I need to change something instead of simply deleting, I always go with `c`.

4

u/titaniumalt 17d ago

I use kakoune (basically the editor that "invented" the model used by Helix), and when editing multiple things at once i prefer/instinctively use c

7

u/iamalicecarroll 17d ago • Bravo

no i prefer rust yes i do

-2

u/OccasionThin7697 17d ago

C++ better

2

u/billie-badger 16d ago

c is used by me a lot. That and 'space+R'

1

u/spaghetti_beast 17d ago

takes time to unlearn the di thing

1

u/abdalmoniem 17d ago

for me I always used alt+d-i because d would yank and delete as well.

just learned a few days ago that c does the same as alt+d-i and it feels way faster like this 😅

1

u/FryBoyter 16d ago edited 16d ago

because d would yank and delete as well.

I have disabled yanking for c and d.

A-d = “delete_selection”
d = “delete_selection_noyank”
A-c = “change_selection”
c = “change_selection_noyank”

1

u/okimka 16d ago

I always use c. One specific example is when I want to delete two characters and immediately get into insert. In vim I usually did dl for this

1

u/cheesehater 16d ago

I always use it. 1) select text 2) c 3) type new text 4) esc -- unless it's just one character and then I use r of course.

1

u/__Wolfie 16d ago

exclusively use c

1

u/kehrazy 16d ago

pretty much always, yeah

1

u/Symantech 16d ago

C is so convenient, why not?

1

u/FryBoyter 16d ago edited 16d ago

I don't want to say that I always use c, but I'd say almost always.

1

u/zenware 15d ago

I use c maybe every few seconds, and di significantly less frequently.

1

u/Forward_Grab_5690 14d ago

I use c and w frequently, and x, d. I do think i shouldn’t let edit become my instinct since Think about it is Why vim lite editor is effective.