Skip to content

Instantly share code, notes, and snippets.

@rgoulter
Last active November 6, 2023 03:49
Show Gist options
  • Save rgoulter/af83932a45c79f9f3fb673d8813f5354 to your computer and use it in GitHub Desktop.
Save rgoulter/af83932a45c79f9f3fb673d8813f5354 to your computer and use it in GitHub Desktop.

Differences:

vim modevimhelixnote
0gh
^gs
$gl
gq=format. TBI in helix. Vim’s = is ‘indent’.
C-v iC iOr Alt-s to split selection on newline.
Cv gl c
x;d
VX
**n
Gge
:bprev, [bgp
:bnext, ]bgn
`.g.
Hgt
Mgc
Lgb
C-rUredo
galast accessed file
<SPC>Rreplace selection with clipboard
%mm
ggVG%select entire file
,
;Alt-.
visualoAlt-;
(/)left up to tree-sitter?
{/}left up to tree-sitter?
gcCtrl-cEvil comment
~~(same in both) toggle case
gu`to lowerlase
gUalt+`to uppercase
vi”vmi”prefix sequence with `m` for things.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment