Normal Mode's Avatar

Normal Mode

@normalmo.de.bsky.social

Don't Stop BelieVim.

25 Followers  |  7 Following  |  54 Posts  |  Joined: 05.03.2024  |  1.9056

Latest posts by normalmo.de on Bluesky

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 โ€” ๐Ÿ‘ 2    ๐Ÿ” 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    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 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

Thereโ€™s no *good* way to do it. Hereโ€™s a plugin that achieves it by padding lines with virtual text, though:

https://github.com/rickhowe/wrapwidth

02.02.2025 23:00 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Since you asked ;)

https://normalmo.de/vimlife/
(Edited 7:54โ€ฏpm via @skeetsapp.com)

30.01.2025 19:53 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Think youโ€™ve got a typo in the first command. In that context the quote mark starts a comment.

30.01.2025 19:52 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Sometimes I see a Vim command or motion written down somewhere and think โ€œI wonder what that doesโ€ and when I look it up it turns out itโ€™s something I use every day.

27.01.2025 20:16 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Iโ€™ve lost work falling victim to this, too.

27.01.2025 20:11 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Are you interested in digging into why it was slow or just venting? Because this doesnโ€™t sound like something that should take *that* long. I just tried it with 5.2MB of C++ code and it was basically instant.

17.01.2025 10:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I donโ€™t use them *often* but I definitely do it more than once a decade!

17.01.2025 10:42 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thatโ€™s how I learned. I still have my cheat sheet, but I donโ€™t need to refer to it any more.

https://developer.ibm.com/tutorials/l-vi/

17.01.2025 10:29 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If you havenโ€™t done vimtutor start there. After that, make a cheat sheet. Keep it next to your keyboard. Whenever you learn a new motion or command that seems helpful write it on the sheet.

Donโ€™t download a cheat sheet off the internet, itโ€™s the writing it down yourself that will help you learn it.

17.01.2025 10:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

If you want to turn it off now you know about it, add this to your vimrc:

:set nofixeol

16.01.2025 20:40 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

c""<Esc>P

14.01.2025 17:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Vim Tips: Feeling lazy about writing .gitignore? Open it in vim and

:read !git status

and then `dd` to delete full lines `dw` to remove indents and `dG/dgg` to delete everything from line until file's beginning/end.

Put comments!

13.01.2025 02:01 โ€” ๐Ÿ‘ 5    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Bad Apple but it's 6,500 regular expressions that i search for one at a time inside of vim

full writeup over here on my blog: eieio.games/blog/bad-app...

10.01.2025 18:18 โ€” ๐Ÿ‘ 92    ๐Ÿ” 19    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 7

@normalmo.de is following 7 prominent accounts