diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-09-06 18:39:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-09-06 18:39:46 -0700 |
commit | c112b8fadf86f908c71a63b88dcdb0d374c4eb6f (patch) | |
tree | e5c2d3e14e8f1acdcd4e792e8e9033700a63f8c7 /source_edit.lua | |
parent | 73fefa7d0961d3831da6c8b2eb7b1b05e3614a69 (diff) | |
download | lines.love-c112b8fadf86f908c71a63b88dcdb0d374c4eb6f.tar.gz |
switch shortcuts for bifold text
I've been running out of ctrl+ shortcuts, and I just remembered my original idea to keep ctrl+ for drawings/mouse operations and alt+ for everything else.
Diffstat (limited to 'source_edit.lua')
-rw-r--r-- | source_edit.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source_edit.lua b/source_edit.lua index 88d5e76..a65537d 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -347,7 +347,7 @@ function edit.keychord_pressed(State, chord, key) } assert(State.search_text == nil) -- bifold text - elseif chord == 'C-b' then + elseif chord == 'M-b' then State.expanded = not State.expanded Text.redraw_all(State) if not State.expanded then @@ -356,7 +356,7 @@ function edit.keychord_pressed(State, chord, key) end edit.eradicate_locations_after_the_fold(State) end - elseif chord == 'C-i' then + elseif chord == 'M-d' then if State.cursor1.posB == nil then local before = snapshot(State, State.cursor1.line) if State.lines[State.cursor1.line].dataB == nil then |