Normal Mode's Avatar

Normal Mode

@normalmo.de

Don't Stop BelieVim.

29
Followers
8
Following
66
Posts
05.03.2024
Joined
Posts Following

Latest posts by Normal Mode @normalmo.de

Post image

imho

16.01.2026 16:39 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

Nightmare when I try to Vim on someone else’s computer now, though.

01.01.2026 20:37 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I’m not sure whether I agree with this or not, but I think Bill Joy probably does.

21.10.2025 19:21 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

Hah! mT was one I was planning on submitting to you!

13.10.2025 21:38 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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)

13.10.2025 21:37 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yep! On the Apple keyboards for various regions (I’m in the UK) it’s a key under the Escape key.

13.10.2025 21:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Full line completion is one of those things I miss so much when I have to use another editor.

13.10.2025 19:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Here’s one I learned from romainl. A use for select mode!

nnoremap Β§ *``gn<C-g>
inoremap Β§ <C-o>gn<C-g>
snoremap <expr> . @.

13.10.2025 19:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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)

13.10.2025 19:45 πŸ‘ 7 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1

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.

13.10.2025 19:36 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1

Is this cool? https://gist.github.com/sedm0784/4443120

09.10.2025 20:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1

Please do write about it. I would like to read that!

20.09.2025 19:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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?

15.09.2025 21:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Hi

01.08.2025 19:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

01.08.2025 11:59 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Heredocs Can Make Your Bash Scripts Self-Documenting Comments

Heredocs Can Make Your #Bash Scripts Self-Documenting | Hold The Robot
https://holdtherobot.com/blog/heredocs-can-make-your-bash-scripts-self-documenting/

#Markdown #vim #documentation

29.07.2025 11:46 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

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.

26.07.2025 08:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

23.07.2025 19:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Getting out of the emoji search thing on the ios keyboard is much harder than exiting vim

22.07.2025 22:39 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Whatcha gonna replace it with?

09.07.2025 13:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

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.

09.07.2025 13:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

An alternative technique in bash or zsh, using process substitution instead of a pipe, is:

```
vim -q <(rg --vimgrep search)
```

23.06.2025 21:43 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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)

22.04.2025 20:15 πŸ‘ 21 πŸ” 3 πŸ’¬ 18 πŸ“Œ 0

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+**.

03.04.2025 21:51 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I’ve got good(?) news for you: https://github.com/andmarti1424/sc-im

03.04.2025 21:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

And you can do this! https://normalmo.de/vimlife/

03.04.2025 21:36 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

In Xcode’s Vim mode? What kind of things are slowing you down?

04.03.2025 11:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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.

14.02.2025 18:03 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Two prints with :q! Printed on them

Two prints with :q! Printed on them

A close up of a screenprint

A close up of a screenprint

A macro image of the halftone of a screenprint

A macro image of the halftone of a screenprint

β€˜There is always a way out’ is my first design making a screenprint. Made for the vim users among us. Or for those who just need a reminder on how to exit the editor.

Made with fluorescent pink and blue ✨ an edition of 10. Available in my little webshop! https://shop.wontfix.me/

#screenprint #vim

10.02.2025 12:43 πŸ‘ 13 πŸ” 6 πŸ’¬ 1 πŸ“Œ 2

Apologies for the drive-by suggestion, but have you tried using Vim’s *cgn* for this? Sounds like it might be a bit closer to your current workflow than macros.

04.02.2025 09:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0