Skip to content

Instantly share code, notes, and snippets.

@shantanuraj
shantanuraj / 0001-feat-commands-Update-quit-to-close-buffer.patch
Created August 3, 2023 21:55
Close buffer instead of helix when there are other buffers loaded
From d869d3c85326c939877370f1d2bf5989d12695eb Mon Sep 17 00:00:00 2001
From: Shantanu Raj <s@sraj.me>
Date: Fri, 30 Jun 2023 00:50:30 +0200
Subject: [PATCH] feat(commands): Update `:quit` to close buffer
- Closes helix if there are no remaining buffers
- Can call `:quit!` if you want to quit without closing other buffers
---
helix-term/src/commands/typed.rs | 5 +++++
1 file changed, 5 insertions(+)
@shantanuraj
shantanuraj / keybase.md
Created July 4, 2017 10:59
Keybase verification

Keybase proof

I hereby claim:

  • I am shantanuraj on github.
  • I am shantanuraj (https://keybase.io/shantanuraj) on keybase.
  • I have a public key ASBvc-adCboyYH58wr5OTgBcHvP51P1WPzkWCqU-VLeRcAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am shantanuraj on github.
  • I am shantanuraj (https://keybase.io/shantanuraj) on keybase.
  • I have a public key whose fingerprint is 3D05 757C FEE9 92E0 4A42 BC18 A138 C79D D037 66BE

To claim this, I am signing this object:

@shantanuraj
shantanuraj / bundle.js
Created April 15, 2016 13:40
Demo destructuring bug in rollup-plugin-typescript
var f = function (val) { return ({ val }); };
var val = f(50).val;
console.log(val);