code icon indicating copy to clipboard operation
code copied to clipboard

Customizable Keyboard Shortcuts

Open awsdert opened this issue 1 year ago • 2 comments
trafficstars

Problem

Haven't found anywhere to do this yet so would appreciate this being added to the preferences dialogue. I'd like to be able to define my own shortcuts for supported actions, along with custom shell commands related to current file directory.

Proposal

Create a new dialogue for them. As for the custom commands I think it would be best to make some custom environment variables that follow standard GNUmakefile rules can be accessed for them. So for example gcc -o $* $< assigned to something like F5 would evaluate to cd "..." && gcc -o main main.c

Prior Art (Optional)

No response

awsdert avatar Apr 16 '24 11:04 awsdert

I'm sure some users might want to launch from the base directory that was opened as a project instead so an option for that would be a good idea.

awsdert avatar Apr 16 '24 11:04 awsdert