techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#vim

46 posts45 participants2 posts today
VimLinks<p>Some convenient completion-related features have been making their way into Vim via PRs. Check out a summary in this reddit post: <a href="https://www.reddit.com/r/vim/comments/1m9mr2v/whats_new_in_vim_insert_mode_autocomplete_and/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">reddit.com/r/vim/comments/1m9m</span><span class="invisible">r2v/whats_new_in_vim_insert_mode_autocomplete_and/</span></a></p><p><a href="https://hachyderm.io/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://hachyderm.io/tags/vim9" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim9</span></a></p>
NegativePrimes<p>Browsing the Vim help documents on mapping and unmapping key commands, and ran across this unexpected comment:</p><p>":nunmap can also be used outside of a monastery."</p><p><a href="https://urusai.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://urusai.social/tags/GetTheeToANunnery" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GetTheeToANunnery</span></a></p>
Darren<p><span class="h-card" translate="no"><a href="https://aus.social/@twt" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>twt</span></a></span> I think it gets a liquid glass makeover? no ? <a href="https://sfba.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a></p>
Zimer<p>Do you guys use AI plugins in Neovim?</p><p><a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.social/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> <a href="https://mastodon.social/tags/Neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Neovim</span></a> <a href="https://mastodon.social/tags/Unix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Unix</span></a> <a href="https://mastodon.social/tags/Technology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Technology</span></a> <a href="https://mastodon.social/tags/Tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tech</span></a></p>
minnix<p><strong>Vimcat Is Great - Lugcast Clips Ep 266</strong></p> <p><a href="https://nightshift.minnix.dev/w/fqtn5bPpSianQVca8b19VW" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nightshift.minnix.dev/w/fqtn5b</span><span class="invisible">PpSianQVca8b19VW</span></a></p>
veer66<p>Vim is great, but it may not be the minimal text editor you were inspired to use from '80s memes. You might want to try nvi instead. <a href="https://mstdn.in.th/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://mstdn.in.th/tags/vi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vi</span></a></p>
Paul Kater<p><span class="h-card" translate="no"><a href="https://mementomori.social/@rolle" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>rolle</span></a></span> Last week I saw a colleague struggle to exit vim and save a file.</p><p>It hurt.</p><p>ZZ<br>or<br>:wq</p><p><a href="https://writing.exchange/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a></p>
btree<p>My log calendar week 30 / 2025 is available: <a href="https://github.com/vbd/Fieldnotes/blob/main/public-log/2025-cw30.md" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/vbd/Fieldnotes/blob</span><span class="invisible">/main/public-log/2025-cw30.md</span></a><br>Everyone is welcome to read, have fun and a good time!<br><a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://mastodon.social/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a> <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://mastodon.social/tags/agile" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>agile</span></a> <a href="https://mastodon.social/tags/ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ai</span></a></p>
Nikolay Robotoev 🥞🎙️<p>Vim mode in editors is like non-alcoholic beer - not a real thing. I switched from VS Code to neovim using Lunar Vim (as I understand, it’s a preset of configurations and plugins that you can keep tweaking further but it’s a good starting point).<br><a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://mastodon.social/tags/vscode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vscode</span></a></p>
David Blume<p>"mggggqG'g" means "format this buffer nicely" in vim, but sounds like a dying Klingon.</p><p>1. mg: mark g<br>2. gg: go to the top<br>3. gq: format (need a direction)<br>4. G: to the bottom<br>5. 'g: return to the mark in step 1.</p><p><a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a></p>
Дед Цуфершенкин<p><span class="h-card" translate="no"><a href="https://masto.ai/@tosbourn" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tosbourn</span></a></span> Why have you chosen manual plugin management instead of simple-as-one-line <a href="https://social.tchncs.de/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a>-plug, btw?</p>
Ludde<p>I started to use <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a>. It feels a bit like playing guitar hero when you get it right</p>
Adam Katz<p>It's not often that I deploy a quick change to my <code>~/.vimrc</code> and it so thoroughly improves my life, but setting <code>&lt;Shift&gt;+&lt;Tab&gt;</code> to correct the most recent misspelled word has done exactly that, right up there with when I learned about <code>&lt;Ctrl&gt;+p</code> and <code>&lt;Ctrl&gt;+n</code> in insert mode. <a href="https://infosec.exchange/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> </p><pre><code>" Correct the closest misspelled word (with spellcheck off, the current word)<br>" assuming the #1 option is the best (`2&lt;S-Tab&gt;` in normal mode uses #2, etc.)<br>if exists('&amp;spell')<br> function! SpellFix(count)<br> if (&amp;spell)<br> normal [S<br> endif<br> exec "normal " . a:count . "z="<br> endfunction<br> " corrections have their own undo: https://stackoverflow.com/a/16481737/519360<br> imap &lt;silent&gt;&lt;S-Tab&gt; &lt;C-g&gt;u&lt;Esc&gt;:call SpellFix(1)&lt;CR&gt;`]a&lt;C-g&gt;u<br> nmap &lt;silent&gt;&lt;S-Tab&gt; :&lt;C-u&gt;call SpellFix(v:count1)&lt;CR&gt;`'<br>endif<br></code></pre>
tusharhero<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@cleantext" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cleantext</span></a></span> OK but what does that have to do with <a href="https://mathstodon.xyz/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a>?</p>
Yavo<p>Top comment I've read today:</p><p>"Emacs takes a lifetime to learn. So the earlier you start, the longer it will take you."</p><p>Credit: <span class="h-card" translate="no"><a href="https://mastodon.social/@evilenx" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>evilenx</span></a></span> <br><a href="https://fosstodon.org/tags/emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emacs</span></a> <a href="https://fosstodon.org/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://fosstodon.org/tags/jokes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jokes</span></a></p>
John-Mark Gurney<p><span class="h-card" translate="no"><a href="https://chaos.social/@scy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>scy</span></a></span></p><p>My idle/thinking command is jobs to see what vi editor sessions I need to fg to continue working on what I was doing.</p><p><a href="https://flyovercountry.social/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> <a href="https://flyovercountry.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://flyovercountry.social/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> <a href="https://flyovercountry.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a></p>
R.L. Dane :Debian: :OpenBSD: 🍵 :MiraLovesYou:<p>Learned a couple neat <a href="https://polymaths.social/tags/nvim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nvim</span></a> tricks from your <a href="https://polymaths.social/tags/blost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blost</span></a>, <span class="h-card"><a href="https://lazybear.social/@hyde" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hyde</span></a></span>!</p><p>The way you set up your notes script is somewhat similar to my journalling script, except that mine is just plain bash with no fun vim tricks. ;)</p><p><span class="h-card"><a href="https://polymaths.social/@orbitalmartian" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>orbitalmartian</span></a></span></p><p><a href="https://polymaths.social/tags/neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NeoVim</span></a> <a href="https://polymaths.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a></p>
Toby<p>I’m moving back to Vim. </p><p>Unsurprised to have forgotten almost all muscle memory.</p><p>I’m starting my .vimrc from scratch because frankly the one I had was a bit of a Frankenstein’s monster. </p><p>I’m also manually handling plugins instead of going via a toolkit.</p><p>Trying to ease into it slowly and deliberately. </p><p>:wq </p><p><a href="https://masto.ai/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a></p>
Jay 🆘<p>I think I have to switch <a href="https://social.coop/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> completion plugins soon. Choosing between nvim-cmp and vimcomplete, probably gonna go with nvim-cmp. This is gonna be like a whole Saturday afternoon project.</p>
mr_daemon<p>This is actually good?</p><p>It sure beats vimtutor. If you've been meaning to pick up vim but always put it off due to the learning cliff, this could be the way</p><p><a href="https://www.vim-hero.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">vim-hero.com/</span><span class="invisible"></span></a></p><p><a href="https://untrusted.website/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://untrusted.website/tags/vi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vi</span></a></p>