I’ve just added the following to my kakrc and I love it :)

## Equals pipe
map global normal = "ya = <esc>p|"

It does the following when I hit ‘=’ in normal-mode:

  1. It copies the currently selected string
  2. It enters insert-mode and types " = "
  3. it pastes the previously selected string
  4. it starts a pipe with the just pasted string

I use kakoune, not just for coding, but also for writing reports.

Take the string 1011 1010. If I select it and pipe it into a cli-tool that translates it into decimal, I get 186. But if I pipe it with this new ‘=’, I get 1011 1010 = 186.

It is not life-changing, but it has definitely improved my writing flow :)

I use it mostly with this tool for translating between binary and decimal, but also with a calculator to quickly get the result of an equation and still have the equation in my document :)