Commit d4ac858
committed
Fix C-t and other control keys not being sent to the terminal
Several control keys (C-b, C-f, C-j, C-o, C-q, C-s, C-t, C-v) were not
bound in ghostel-mode-map, causing them to fall through to Emacs defaults
(e.g. C-t triggered transpose-chars instead of sending ^T to the shell).
Replace individual define-key calls with a loop that binds all C-a through
C-z (minus ghostel-keymap-exceptions and TAB/RET/yank special cases).
Also bind C-@ (NUL) for programs that use it.1 parent 97e18e8 commit d4ac858
2 files changed
Lines changed: 30 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
633 | 639 | | |
634 | 640 | | |
635 | 641 | | |
636 | 642 | | |
637 | | - | |
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1394 | 1394 | | |
1395 | 1395 | | |
1396 | 1396 | | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1397 | 1409 | | |
1398 | 1410 | | |
1399 | 1411 | | |
| |||
1420 | 1432 | | |
1421 | 1433 | | |
1422 | 1434 | | |
1423 | | - | |
| 1435 | + | |
| 1436 | + | |
1424 | 1437 | | |
1425 | 1438 | | |
1426 | 1439 | | |
| |||
0 commit comments