Skip to content

Instantly share code, notes, and snippets.

@psifertex
Last active July 22, 2025 21:19
Show Gist options
  • Save psifertex/3f6303120196dcf520e53133418c4ba8 to your computer and use it in GitHub Desktop.
Save psifertex/3f6303120196dcf520e53133418c4ba8 to your computer and use it in GitHub Desktop.
simple VIM style motion keys for Binary Ninja
{
"Back" : "Escape; Back; Ctrl+[; Meta+O",
"Forward" : "Forward; Ctrl+[; Meta+I",
"Change Type..." : "Shift+Y; ",
"Close Window" : "Ctrl+W; X",
"Command Palette" : "Ctrl+P; Space",
"Copy" : "Ctrl+C; Y",
"Disassembly Graph" : "G, L",
"Display as\\Binary" : "D",
"Display as\\Default" : "D",
"Display as\\Pointer" : "D",
"Display as\\Signed Decimal" : "D",
"Display as\\Signed Hexadecimal" : "D",
"Display as\\Signed Octal" : "D",
"Display as\\Unsigned Decimal" : "D",
"Display as\\Unsigned Hexadecimal" : "D",
"Display as\\Unsigned Octal" : "D",
"Focus Cross References" : "G, R",
"Go to Address..." : "G, A",
"Go to Address...preview" : "G, A",
"Make Function at This Address\\Default Platform" : "P",
"Make Function at This Address\\armv7\\armv7" : "",
"Make Function at This Address\\thumb2\\mac-thumb2" : "",
"Move Cursor Down" : "Down; J",
"Move Cursor Left" : "Left; H; B",
"Move Cursor Right" : "Right; L; W",
"Move Cursor Up" : "Up; K",
"Move Cursor Word Left" : "Meta+Left; Shift+B; Shift+H",
"Move Cursor Word Right" : "Meta+Right; Shift+W; Shift+L",
"Move Cursor to End of Line" : "$",
"Move Cursor to End of View" : "Shift+G",
"Move Cursor to Start of Line" : "^",
"Move Cursor to Start of View" : "G, G",
"Next Cross Reference" : "Alt+X; %",
"Previous Tab" : "Meta+PgUp; Ctrl+{; G, Shift+T",
"Next Tab" : "Meta+PgDown; Ctrl+}; G, T",
"Page Down" : "PgDown; Shift+J; Meta+F",
"Page Up" : "PgUp; Shift+K; Meta+B",
"Paste" : "Ctrl+V; P",
"Snippets\\Snippet Editor..." : "Meta+Ctrl+S",
"Strings" : "G, S",
"View in Disassembly Graph" : "G, D",
"View in Hex Editor" : "Alt+H; Alt+Shift+H",
"View in Linear Disassembly" : "G, L",
"View in Types View" : "G, Y"
}
@CX330Blake
Copy link

But it's now not supported for the followings:

  1. Use a number to do a command for several times, e.g. 50j or 33k, etc
  2. Use 0 to jump to the start of line and $ to jump to the end of line
  3. gd to go to definition and gr to go to references

@psifertex
Copy link
Author

psifertex commented Jul 22, 2025

  1. will never be possible with the current hotkey system in binja unfortunately.
  2. I think you meant ^ not 0 for beginning of line, but yes, I can add those. (That's the canonical version anyway, could also add 0 if you like)
  3. I intentionally use g-d to go to disassembly instead of definition but I can see how that would break some muscle memory, you're welcome to fork. :-) I added "gr" to focus cross-references.

@psifertex
Copy link
Author

Also, just added 2 as well.

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