Skip to content

Instantly share code, notes, and snippets.

@dyipon
Last active April 3, 2022 12:08
Show Gist options
  • Save dyipon/438a644de3322733e9c086b5888f7329 to your computer and use it in GitHub Desktop.
Save dyipon/438a644de3322733e9c086b5888f7329 to your computer and use it in GitHub Desktop.
key command
alt-# commenting ( "Alt-X": "lua:comment.comment" )
ctrl-u macro recording stop/Start
ctrl-j re-play recorded macro
f8/ctrl-k del line
alt-up/down move line/selection up/down
ctrl-z/y undo/redo
ctrl-c/v copy/paste
ctrl-r toggle line numbers
ctrl-g goto line ( "Ctrl-g": "command-edit: goto " )
ctrl-d duplicate line
alt,/. prev/next tab
tab/shift-tab indent/outdent
ctrl-e commands
replace 'from' 'to' -a replace all
retab tab to spaces

official keybindings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment