<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vim on Arek's Blog</title><link>https://blog.kalandyk.xyz/tags/vim/</link><description>Recent content in Vim on Arek's Blog</description><generator>Hugo -- 0.147.8</generator><language>en-us</language><lastBuildDate>Wed, 03 Apr 2024 12:50:26 +0100</lastBuildDate><atom:link href="https://blog.kalandyk.xyz/tags/vim/index.xml" rel="self" type="application/rss+xml"/><item><title>Yank to system clipboard in Obsidian (with Vim keybindings)</title><link>https://blog.kalandyk.xyz/posts/yank-to-clipboard-obsidian/</link><pubDate>Wed, 03 Apr 2024 12:50:26 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/yank-to-clipboard-obsidian/</guid><description>&lt;p>If you use Obsidian, and you are used to using Vim, then you&amp;rsquo;ve probably enabled Vim key bindings in Obsidian&amp;rsquo;s settings.&lt;/p>
&lt;p>And everything was fine until you wanted to yank (copy with &lt;code>y&lt;/code>) something from your notes, and paste in a different place (for example, in a browser).&lt;/p>
&lt;p>Your system clipboard didn&amp;rsquo;t paste yanked text, right?&lt;/p>
&lt;p>Well, you should expect that it won&amp;rsquo;t work - Yanking to system clipboard is not configured by default in Vim, and apparently, it&amp;rsquo;s not configured in Obsidian either.&lt;/p></description></item><item><title>Spell checking in Vim</title><link>https://blog.kalandyk.xyz/posts/vim-spell-check/</link><pubDate>Wed, 28 Oct 2020 10:21:09 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/vim-spell-check/</guid><description>&lt;p>Is it possible to have spell checking in vim? No, it&amp;rsquo;s not. EOP (End Of Post).&lt;/p>
&lt;p>I&amp;rsquo;m joking of course. It is!&lt;/p>
&lt;h2 id="how-to-do-it">How to do it?&lt;/h2>
&lt;p>The only thing you need to type is:&lt;/p>
&lt;pre tabindex="0">&lt;code>:set spell spelllang=en
&lt;/code>&lt;/pre>&lt;p>or if you want spell checking for Polish language:&lt;/p>
&lt;pre tabindex="0">&lt;code>:set spell spelllang=pl
&lt;/code>&lt;/pre>&lt;p>&lt;em>Note: when you set spelllang for language different than English, file with stuff for that language will be downloaded (if one is not already in ~/.vim/spell directory), so vim will prompt you some question like where to save that file (answering with default/only one option worked for me).&lt;/em>&lt;/p></description></item></channel></rss>