Normal Mode
@normalmo.de
26 followers 8 following 64 posts
Don't Stop BelieVim.
Posts Media Videos Starter Packs
normalmo.de
Hah! mT was one I was planning on submitting to you!
normalmo.de
The exact command without -q would open up a file descriptor or temporary filewith the output of the ripgrep command, which wouldn’t be that useful.

But if you tweak the bash command to just pass multiple paths then Vim will populate the arglist with them e.g.

vim $(rg -l needle)
normalmo.de
Yep! On the Apple keyboards for various regions (I’m in the UK) it’s a key under the Escape key.
normalmo.de
Full line completion is one of those things I miss so much when I have to use another editor.
normalmo.de
Here’s one I learned from romainl. A use for select mode!

nnoremap § *``gn<C-g>
inoremap § <C-o>gn<C-g>
snoremap <expr> . @.
normalmo.de
Vim’s -q argument allows you to prepopulate the quickfix list directly on startup.

e.g. using ripgrep via bash’s process substitution:

vim -q <(rg --vimgrep needle)
normalmo.de
Vim has a built in MRU list.

Use :oldfiles to view it, and e.g. :e #<5 to open the fifth entry in the list.
normalmo.de
Please do write about it. I would like to read that!
normalmo.de
I think that’s the most effusive praise I’ve heard for a multicursor plugin from someone with your Vim bona fides. What kind of task do you find is better handled with multicursors?
normalmo.de
I was fast enough to use Vim at work without a productivity hit after about a week of playing with it in my lunch breaks.

It was *years* before I could use it in a crisis with someone looking over my shoulder.
abaune.bsky.social
About 3 weeks into vim motions, why not use them during a demo. What could go wrong??
normalmo.de
Is it a plugin? Could be that it’s doing something that breaks macro playback somehow. I have a vague recollection that there are some things that don’t work during playback without workarounds, although the only one I can remember right now is that undo doesn’t work normally.
normalmo.de
What are your exact keystrokes?
I just tested with the built in dictionary completion and if I mashed <C-K> a few times to pick an option and then pressed Space the completion wasn’t included when I played it back, but if I hit <C-Y> to accept the completion instead then the macro worked correctly.
Reposted by Normal Mode
chris--martin.functional.cafe.ap.brid.gy
Getting out of the emoji search thing on the ios keyboard is much harder than exiting vim
normalmo.de
Whatcha gonna replace it with?
normalmo.de
In Xcode 16 they’re finally good enough that I didn’t immediately switch them off again, but I still trip over missing/inaccurate things daily.
normalmo.de
An alternative technique in bash or zsh, using process substitution instead of a pipe, is:

```
vim -q <(rg --vimgrep search)
```
josh.fail
`rg --vimgrep search | vim -c cb -`

Opens Vim with the results from `rg` in the quickfix list.

Kinda neat if I remember how to do it. I'll usually search around with `rg` first then hop over to vim and use a custom `:Rg` command I have to search again.
Reposted by Normal Mode
hillelwayne.com
What's your favorite vscode/emacs/vim plugin or script that you've written for yourself?

Bonus points if it's something you can't morally make into a mass-installable plugin, like it executes untrusted code or needs a hardcoded secret or something

(Please remove hardcoded secrets before sharing)
normalmo.de
There are a *bunch* of great g-commands (have a skim through **:h g** and see what you find) but the most life-altering for me were **g;** and **g-** & **g+**.
normalmo.de
In Xcode’s Vim mode? What kind of things are slowing you down?
normalmo.de
Having already learned it, I enjoy using it for editing prose, emails etc. but I’d say it’s not *as* useful in that context. If you have a spare half hour, try out vimtutor and see if you find it compelling.