<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by bwacx on Medium]]></title>
        <description><![CDATA[Stories by bwacx on Medium]]></description>
        <link>https://medium.com/@bwacx?source=rss-11e4b9a7c8ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*O2flnhQ806OmTGOb.png</url>
            <title>Stories by bwacx on Medium</title>
            <link>https://medium.com/@bwacx?source=rss-11e4b9a7c8ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 08:45:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bwacx/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automatically switch Python Virtualenv when entering a directory]]></title>
            <link>https://medium.com/@bwacx/automatically-switch-python-virtualenv-when-entering-a-directory-450adfa56649?source=rss-11e4b9a7c8ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/450adfa56649</guid>
            <category><![CDATA[zsh]]></category>
            <category><![CDATA[direnv]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[bwacx]]></dc:creator>
            <pubDate>Fri, 07 Jun 2019 14:20:20 GMT</pubDate>
            <atom:updated>2019-06-07T14:20:20.790Z</atom:updated>
            <content:encoded><![CDATA[<p>To make life working with virtualenvs easier, I set up direnv (<a href="https://direnv.net/">https://direnv.net/</a>)</p><h4>Setup</h4><p>Install and setup direnv in the respective directory, like so:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/830470221203536d914c305e5122f25a/href">https://medium.com/media/830470221203536d914c305e5122f25a/href</a></iframe><p>Now changing into that directory will create the virtualenv or activate it. If you go out of the directory, the virtualenv is disabled again.</p><p>Now you should be good to go and any pip install xyz or similar should install into the respective virtualenv! 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=450adfa56649" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vim & API Documentation with Dash]]></title>
            <link>https://medium.com/@bwacx/vim-api-documentation-with-dash-90c6b909df09?source=rss-11e4b9a7c8ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/90c6b909df09</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[vim]]></category>
            <dc:creator><![CDATA[bwacx]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 12:43:31 GMT</pubDate>
            <atom:updated>2019-04-17T12:43:31.335Z</atom:updated>
            <content:encoded><![CDATA[<p>Coming from a <a href="https://terraform.io/">Terraform</a> background for coding infrastructure, I’ve recently had to switch to CloudFormation. With that switch I also wanted to work more in Vim, the editor I’ve used for ages but never to an extent where I was <em>really </em>fast and comfortable with it.</p><p>With Terraform I’ve mostly used Visual Studio Code to write my code files so far. I used the very nice <a href="https://marketplace.visualstudio.com/items?itemName=mauve.terraform">vscode-terraform</a> plugin that gives you all kinds of stuff such as autocompletion, syntax highlighting, linting and also enables a link to the official terraform documentation for individual resources.</p><p>That last point makes that setup so very convenient (hover a resource type, and Alt+Click it), so I was looking for a way to have a similarly easy setup with Vim!</p><h3><strong><em>My Setup</em></strong></h3><p><strong><em>Disclaimer</em></strong><em>: this only works on macOS!</em></p><ol><li>Install the <a href="https://kapeli.com/dash">Dash</a> API documentation browser</li><li>Add the <a href="https://github.com/rizzatti/dash.vim#">Vim Dash Plugin</a> to your ~/.vimrc. I use Plug as my plugin manager, so it looks like this:</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ee93326e944c9303e71e78ebcfcd788f/href">https://medium.com/media/ee93326e944c9303e71e78ebcfcd788f/href</a></iframe><h3>Usage</h3><p>With this setup, just go to any word in the file you’re currently editing, enter Vim’s “Normal Mode” and type :Dash . This should then open up the Dash app and search for that word in your downloaded API documentation DocSets.</p><p>For CloudFormation support, add the “AWS CloudFormation Template Reference” from the User Contributions in Dash’s settings. And the same goes for Terraform.</p><p>Works like a charm for me 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90c6b909df09" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>