mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#vim

16 Beiträge14 Beteiligte1 Beitrag heute
Daniel Düsentrieb<p>Being rather frustrated with programming Clojure in IntelliJ, (mainly because Cursive and IdeaVim don't like each other) I tried to set up Neovim with the Conjure plugin and it 's an absolute blast to use the REPL with it. </p><p>Also I discovered that there is a Lisp on top of Lua called Fennel, which I'm looking forward to play with</p><p><a href="https://social.linux.pizza/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://social.linux.pizza/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a> <a href="https://social.linux.pizza/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> <a href="https://social.linux.pizza/tags/Fennel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fennel</span></a> <a href="https://social.linux.pizza/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> <a href="https://social.linux.pizza/tags/Neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Neovim</span></a> <a href="https://social.linux.pizza/tags/IntelliJ" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IntelliJ</span></a></p>
Lobsters<p>Customize your keyboard shortcuts in Chrome with a Chrome extension <a href="https://lobste.rs/s/ww0yad" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/ww0yad</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/show" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>show</span></a> <a href="https://mastodon.social/tags/browsers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browsers</span></a> <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a><br><a href="https://taupiqueur.github.io/chrome-shortcuts" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">taupiqueur.github.io/chrome-sh</span><span class="invisible">ortcuts</span></a></p>
h-1^[solo]<p>I had tried <a href="https://graphics.social/tags/emacs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>emacs</span></a> in the past… mostly with that german pornographic mental pain in the ass and leaving it shortly. just envying all folks who found it useful after all. It’s been magic to observe emacs people at work. But now with <a href="https://graphics.social/tags/helix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>helix</span></a> being smooth like silk to me… I just figured it out, I’m more a <a href="https://graphics.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> person, not emacs person and that’s fine. :)</p>
Erik L. Midtsveen🏳️‍⚧️🇳🇴<p><a href="https://lemmy.wtf/post/24542104" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lemmy.wtf/post/24542104</span><span class="invisible"></span></a></p><p><a href="https://social.linux.pizza/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://social.linux.pizza/tags/VibeCoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VibeCoding</span></a> <a href="https://social.linux.pizza/tags/DE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DE</span></a> <a href="https://social.linux.pizza/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> <a href="https://social.linux.pizza/tags/Meme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Meme</span></a> <a href="https://social.linux.pizza/tags/Memes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Memes</span></a> <a href="https://social.linux.pizza/tags/Humor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Humor</span></a></p>
Normal Mode<p>One of the things I love about <a href="https://mastodon.social/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> is how easy it is to add little bits of ad hoc personal customisation like this.</p><p><a href="https://urusai.social/@negativeprimes/114802562768646512" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">urusai.social/@negativeprimes/</span><span class="invisible">114802562768646512</span></a></p>
NegativePrimes<p>I wanted to edit some work files in Vim, but in doing so realized that Vim uses straight quotes and apostrophes instead of curly ones (which I needed given the constraints of this project). I added the following to vimrc to make this feasible (note that I have vimwiki installed, so Vim id'd the markdown file I was editing as a vw file):</p><p>augroup vimrc_vimwiki<br> au!<br> au FileType vimwiki inoremap ' ’<br> au FileType vimwiki inoremap &lt;leader&gt;' ‘<br> au FileType vimwiki inoremap &lt;leader&gt;" “<br> au FileType vimwiki inoremap " ”<br>augroup END</p><p>Voila'! Typing a quote converts it to a closing curly quote; adding the Leader key makes it an opening curly quote!</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/editing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>editing</span></a></p>
Lobsters<p>Why I got rid of all my neovim plugins <a href="https://lobste.rs/s/5sxrrp" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/5sxrrp</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a><br><a href="https://yobibyte.github.io/vim.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">yobibyte.github.io/vim.html</span><span class="invisible"></span></a></p>
mysticmode<p>"why I got rid of all my neovim plugins"</p><p><a href="https://yobibyte.github.io/vim.html" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">yobibyte.github.io/vim.html</span><span class="invisible"></span></a></p><p><a href="https://mastodon.sdf.org/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://mastodon.sdf.org/tags/editor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>editor</span></a> <a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Erik L. Midtsveen🏳️‍⚧️🇳🇴<p>Microsoft Edit Is Great Much Better Than Nano</p><p><a href="https://peertube.wtf/w/pSpT173qxoKWykUox1deZp" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">peertube.wtf/w/pSpT173qxoKWykU</span><span class="invisible">ox1deZp</span></a></p><p><a href="https://social.linux.pizza/tags/NowWatching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NowWatching</span></a> <a href="https://social.linux.pizza/tags/msedit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msedit</span></a> <a href="https://social.linux.pizza/tags/Nano" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nano</span></a> <a href="https://social.linux.pizza/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> <a href="https://social.linux.pizza/tags/Microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Microsoft</span></a> <a href="https://social.linux.pizza/tags/DistroTube" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DistroTube</span></a> <a href="https://social.linux.pizza/tags/DT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DT</span></a></p>
Normal Mode<p><span class="h-card" translate="no"><a href="https://chaos.social/@swetland" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>swetland</span></a></span> A few of my favourite less-frequently mentioned <a href="https://mastodon.social/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> tricks:</p><p>1. Using change, put, and a text object or motion as a no-plugin surround operation:</p><p>ciW""&lt;Esc&gt;P</p><p>Further details/variants: <a href="https://vi.stackexchange.com/a/21119/343" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">vi.stackexchange.com/a/21119/3</span><span class="invisible">43</span></a></p><p>2. Using insert mode CTRL-A for a mini "extract variable" refactor: <a href="https://normalmo.de/posts/i_ctrl-a/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">normalmo.de/posts/i_ctrl-a/</span><span class="invisible"></span></a></p><p>3. Global bookmarks. On my work machine I have a "todo.txt" file. I dropped an uppercase mark at the top with:</p><p>mT</p><p>and now I can instantly zap there from any other file by typing:</p><p>'T</p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>Vieb - Vim bindings for the web by design</p><p>Vieb is the Vim Inspired Electron Browser</p><p>✏️ <a href="https://vieb.dev" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">vieb.dev</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://chaos.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://chaos.social/tags/browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browser</span></a> <a href="https://chaos.social/tags/webbrowser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webbrowser</span></a> <a href="https://chaos.social/tags/vieb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vieb</span></a></p>
Régis Haubourg<p><span class="h-card" translate="no"><a href="https://norden.social/@cartocalypse" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cartocalypse</span></a></span> stop messing with qgis XML files now</p><p>Or.</p><p>Accept this, and dive deep into this rabbit hole, to the very end, and learn <a href="https://mastodon.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> to never again touch a mouse when editing a massive text file. This is not faster, but you will feel the joy in your soul.</p>
Larvitz :fedora: :redhat:<p>Created a Neovim :neovim: configuration for writing Ansible playbooks/roles/collections. With linting, auto-completion, highlighting of blocks, indentation, git integration and nice UI.</p><p>If someone is interested, I put it on my Codeberg here: <a href="https://codeberg.org/Larvitz/nvim-ansible" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/Larvitz/nvim-ansi</span><span class="invisible">ble</span></a> together with a README.md, that explains keybindings, installation instructions etc. </p><p>It's also good for Python software development and contains the LSP definitions for that as well. But the primary goal, was to create an Ansible development environment with all bells and whistles :-) </p><p><a href="https://burningboard.net/tags/nvim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nvim</span></a> <a href="https://burningboard.net/tags/neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>neovim</span></a> <a href="https://burningboard.net/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://burningboard.net/tags/ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansible</span></a> <a href="https://burningboard.net/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://burningboard.net/tags/devops" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devops</span></a> <a href="https://burningboard.net/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a></p>
VimLinks<p>Vim has recently merged a PR that compiles in wayland libraries (if available) to enable native access to the clipboard: <a href="https://github.com/ZTHGongJu/vim/commit/b90c2395b2c055aed38e0c5fd40c1841f43dab4b" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/ZTHGongJu/vim/commi</span><span class="invisible">t/b90c2395b2c055aed38e0c5fd40c1841f43dab4b</span></a></p><p>Try `:help wayland` for more information.</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>
elein<p>Spent the afternoon using vim to edit out a schema design plus notes. </p><p>What a relief it is to not have to go back and “fix” the intended spellings and inadvertent capitalizations for each line. </p><p>Stupid AI🔥</p><p>I can type almost as fast as my brain using muscle memory and vim. </p><p>(Yeah, yeah emacs if you prefer)</p><p><a href="https://sfba.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://sfba.social/tags/noai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noai</span></a> <a href="https://sfba.social/tags/ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ai</span></a> <a href="https://sfba.social/tags/typing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>typing</span></a> <a href="https://sfba.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://sfba.social/tags/postgresql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>postgresql</span></a></p>
Dustin<p>Actually, it seems to be more nuanced than that. It seems to be the last place the cursor was moved to, but there seems to be a timeout condition.</p><p><a href="https://mastodon.social/tags/VIM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VIM</span></a></p>
Dustin<p>I have been using VI for almost 20 years I just learned that &lt;leader&gt;&lt;leader&gt; will toggle through the list of set marks.</p><p><a href="https://mastodon.social/tags/VIM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VIM</span></a></p>
GordonZar<p>Software for Vim that allows you to view and insert bible passages:<br><a href="https://www.patreon.com/posts/bibleref-bible-133109884?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">patreon.com/posts/bibleref-bib</span><span class="invisible">le-133109884?utm_medium=clipboard_copy&amp;utm_source=copyLink&amp;utm_campaign=postshare_creator&amp;utm_content=join_link</span></a></p><p><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/editor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>editor</span></a> <a href="https://mastodon.social/tags/plugin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plugin</span></a> <a href="https://mastodon.social/tags/bible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bible</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/god" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>god</span></a></p>
chrysn<p>Tired of copying `src/file/name.ext:42:5` from a compiler's output, carefully stripping the `:42:5` line and column number, opening the file in your favorite <a href="https://chaos.social/tags/VIm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VIm</span></a> variant and then pressing `42G` (provided you remembered the line number)?</p><p>Vm Script 2184 "file:line" has you covered, &lt;<a href="https://www.vim.org/scripts/script.php?script_id=2184" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">vim.org/scripts/script.php?scr</span><span class="invisible">ipt_id=2184</span></a>&gt;, and works both from the command line and when using `:e`.</p><p><a href="https://chaos.social/tags/NeoVIM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NeoVIM</span></a> <a href="https://chaos.social/tags/PSA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PSA</span></a></p>
mirek kratochvil<p><span class="h-card" translate="no"><a href="https://chaos.social/@swetland" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>swetland</span></a></span> random collection of useful randoms</p><p>ZZ instead of :wq</p><p>C-a and C-x , even with numbers like 5 ctrl-a</p><p>:vs and C-w C-w for switching</p><p>gU and gu (example: gUiw)</p><p># and * for jumping over identifier uses (found the super useful regex marks \&lt; and \&gt; from these)</p><p><a href="https://mastodon.online/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a></p>