Cygwin: Using the clipboard with Vim

To use the Windows clipboard in Vim on Cygwin, add the following to your Vim config file. .vimrc set clipboard=unnamed Vim will now use the clipboard register * for yank, delete, change and put operations. The * register gets synced with the Windows clipboard automatically.

February 24, 2021

Vim: Undo branches

You can retrieve the state of your text as it was some time ago. This concept is called undo tree or undo branches. Moving through the undo tree Go to newer/older text state. g+ g- Go to older text state, 10 minutes before. :earlier 10m Go to newer text state, 5 minutes later. :later 5m Using g- and g+ will get you to all possible text states while repeating u and CTRL-R does not....

February 14, 2021

Editor plugins for working with web APIs

These two plugins might come in handy if you are a developer or consumer of web APIs (e.g. REST). They allow you to send requests to your API and receive responses without leaving your editor. You can quickly explore APIs while saving your calls along the way as simple text file for documentation and sharing. They might supplement or replace tools like curl or Postman in your workflow. This plugin is for Vim....

February 11, 2021