Also I'm so sodding grateful for Visual Code's search function rn, being able to regex search across files in a repo is lifesaving.
@eden grep -r misses you.
@SoniEx2 ...you're not wrong and this actually misses a lot of the nicer regex features, but it's so convenient!
@eden you can grep -r from within vim. it's just as convenient (if not more, because you don't have to use a mouse).
@eden sorry, I'm probably being annoying. .-. (but I despise MS.)
@SoniEx2 nah you're cool. :) like I said, I don't like 'em either.
I really want to learn emacs tbh, but I find it so stressful learning a new way of typing/using a program like that. I've tried 3 or 4 times but like eventually I stopped because of all the bindings I kept messing up just to do basic things.
@eden get DroidVim and a git client (pick your favorite) on your phone. you'll learn vim (at least the basics) in a month. print out a visual cheatsheet for it.
the same could be done for emacs, probably, but I personally can't stand the pinky usage.
(only mildly annoying thing with vim is when you start typing but you're not in insert mode. it's usually not a big deal tho so it doesn't bother me much.)
@eden (I wonder, do they make emacs keyboards? those would probably help with the pinky usage...)
@eden (that also goes for pretty much anything you wanna do: start with the very basics. wanna make an IRC lib? DON'T start trying to make an RFC 1459 (or w/e) lib. start with something that just sends PING replies, then start parsing commands and stuff.)
@eden (in any case, don't learn any)
@eden (also I still use arrow keys with vim)
@eden (also... I'll just stop talking, I'm sorry)
@SoniEx2 So my issue with emacs was that I wanted to set it up with Clojure, so I needed several packages.
I also was on Mac, and Clojure's app for Emacs was unstable for Mac at the time, so I had to vary between installing things, uninstalling other attempts, and actually using it.
And then opening different 'windows' alongside REPLs to edit broke me. :')
I think all the bindings were
Install
Swap to REPL
Swap to edit screen 1
Swap to edit screen 2
regex find
delete line
@eden When I use vim for rust, all I do is `:!cargo build` and it builds stuff for me. I deliberately don't use auto-complete, build integration is unnecessary, etc. I tend to go for the bare minimum because it's easier that way, but it's a matter of personal preference I guess.
@SoniEx2 Huh. I do use VC's autocheck stuff to manage errors, is there any equivalent or do I just have to go back to build -> read error messages -> rewrite?
@eden I'm pretty sure there *is* a linter plugin for vim, I just don't use it.
@eden (but maybe I'm misunderstanding what you mean by bindings)