Skip to content

Commit

Permalink
helix: add keybind to run python files
Browse files Browse the repository at this point in the history
I'm tempted to wait for #61 to implement this, given the amount of work
that's gone into it, but I can't reject a genuinely easy solution. I
still believe that doing #61 will be better in the long term. That's
definitely coping, but let me cope, okay? Just check the date on this
commit message and you'll understand.
  • Loading branch information
llakala committed Nov 6, 2024
1 parent 2a64cce commit 62b26bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/cli/helix/keybinds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ let
# Select next word, with no spaces selected at all. Great for replacing via `q+c`
q = "@emiw"; # Uses macros, added in unstable helix version
A-q = "@emiW";
space.p = "@:sh python <C-r>%<ret>";

space.x = ":toggle whitespace.render all none"; # ` x` shows whitespace

Expand Down

0 comments on commit 62b26bb

Please sign in to comment.