正在加载视频...

视频加载失败

My biggest annoyances with VS Code (and in turn Cursor) is I've never been able to get Find + Multi-Cursor with arrow keys working like I did in Sublime Text I use it a lot to edit lists of text fast I go Cmd+Find "SGD" for example, then Find...

177,632 次观看 • 1 年前 •via X (Twitter)

10 条评论

jorge 的头像
jorge1 年前

Ctrl+D to select the next occurance, Ctrl+F2 for all Alt+Click to place a cursor Ctrl+Shift+Arrow keys to put a cursor above/below (or alt if you're in windows) Also Sourcegraph Cody, Continue and others are better than Cursor. Cursor feels like a nanny, I'm not a kid.

John O'Nolan 的头像
John O'Nolan1 年前

Highlight the thing you want, press cmd+d to highlight the others. If you need the “highlight all” for large number then just need to change the key bindings in settings and then it works the same as Sublime

Lukas 的头像
Lukas1 年前

That’s why I switched to @Neovim as my main IDE/text editor. You named it: Sublime, (Atom), VSCode, Cursor. They come and go. But vi passed the test of time (48 years and counting). Learn vi once and stop learning new text editors. Also a great flex when someone watching your screen 😂

Sahil Lavingia 的头像
Sahil Lavingia1 年前

Command A + Command K + “What you want changed” in English–once AI is instant, will be Pareto superior to this

dbo 的头像
dbo1 年前

Have you tried selecting the pattern and then press cmd+d, it will select the next occurrence. Then press it multiple times to select them all

@levelsio 的头像
@levelsio1 年前

Ok so I did this and then I can't use the arrow keys?

Wifi Money Plant 的头像
Wifi Money Plant1 年前

Cursor has such a bad UI for such a good tool The code replacement is also whacky No option to just add lines in one click without deleting othes

Darkos Aurelius 的头像
Darkos Aurelius1 年前

Cmd D will select the occurrences one by one, dunno if there’s a “select all”. Works for shorter lists, when it’s a long boi it’s annoying to hold the combo for like a minute.

Nikita Agafonov 的头像
Nikita Agafonov1 年前

here you go

crown 👑 的头像
crown 👑1 年前

Just install the vim plugin and type :%s/SGD/(insert replacement here).

相关视频

I asked Garry Tan how to use meta prompting to get better at AI: "My partners at YC Jared Friedman and Pete Koomen showed me how to do this. You can take almost anything that you do all the time and just drop it into a context window. And then say, “Here’s a bunch of inputs and outputs." And maybe you also add a bunch of notes. And then you tell it, “Write me a prompt that can act as an agent that takes this input and makes this output over here.” You can do this for almost any type of knowledge work. And you can even introspect. "What are things you notice that I did to convert this from the input to the output?”. And then you can just start using the prompt. Initially, it’s going to suck. Because it’s just not that smart yet. But what’s funny is now, I also use it to Iterate my writing. You can be very direct, "I would never say that", "Don’t say it like this", or "Oh, you used the long word there, use the short word". Just speak to it conversationally. And then when you're happy with the output, you can use that new output to make a new prompt. "Based on this conversation, give me a better initial prompt that incorporates all the things we talked about." And you can do this with literally everything. And in theory, there’s so much it applies to that people do day-to-day. You could use it for tweets. You could use it for editing podcasts. You can use it for pretty much everything. I have a folder of prompts that I use all the time. My YouTube prompt is on v27 or something. I'll go through this process with all the different max models. I'll use GPT 5.2 Pro. I’ll use Grok. I'll use Claude. Then, I’ll take all the outputs from all the models and put them into Claude and say "Here’s my prompt, here’s the output from four LLMs, including yourself. Rate each response and tell me what the pros and cons of each approach are." And I usually say "give it to me in numbered form". And then you can agree with one, disagree with two, tell it three is this or that. And then after that, you say given all of this, synthesize it."

The Peel

51,632 次观看 • 4 个月前