kinda upset that I didn't know you could do filename completion in vim with ^X^F

I've been opening the directory listing in a separate pane and yanking/pasting filenames like some rank grade schooler this whole time

but I can't stay mad at you vim 😘

vim: there's more than one way to do it, i.e. the way you're doing it now, and the slightly more convenient way to do it that you'll discover by accident sometime in the next twenty years

@aparrish this one and ^R^W at the prompt for word-under-cursor are the ones i constantly wish i remembered better.

@aparrish ...and then never be able to reproduce ever again. Did it even happen? You can't really be sure.

@aparrish Emacs feels the same way. The init.el never stops growing and the learning never ceases.

@aparrish it's been nearly 30 years for me with vi/vim and I still still stumble upon stuff.

I'm pretty sure I should use more of the marks and folds, for instance.

@aparrish Esc-ZZ for save and exit. It's so much faster and more convenient than :wq

@aparrish C-R recursive search in bash was like that for me. Though I've known it 20 years now.

:w ! <program>

... in vim was novel though. Part of a workflow I'm currently using.

@aparrish I just found out how to easily indent stuff and I'm pretty sure I will forget it by the time I next need it.

@aparrish heck I've been using vim for about ten years and I didn't know that existed until now

@ninjawedding twenty-one years and counting for me and I still learn something new about vim every day

@aparrish interestingly it's keybinding for file-open command in emacs

@aparrish I had used bash for more years than I care to confess before I learned that tab-completion was a thing that existed.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!