Last active
July 22, 2025 21:19
-
-
Save psifertex/3f6303120196dcf520e53133418c4ba8 to your computer and use it in GitHub Desktop.
simple VIM style motion keys for Binary Ninja
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} |
But it's now not supported for the followings:
- Use a number to do a command for several times, e.g. 50j or 33k, etc
- Use
0
to jump to the start of line and$
to jump to the end of line gd
to go to definition andgr
to go to references
- will never be possible with the current hotkey system in binja unfortunately.
- I think you meant
^
not0
for beginning of line, but yes, I can add those. (That's the canonical version anyway, could also add 0 if you like) - 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.
Also, just added 2 as well.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love this! Thanks for sharing.