Changeset 6570
- Timestamp:
- May 20, 2007, 12:43:47 AM (18 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/hemlock/src/bindings.lisp (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/hemlock/src/bindings.lisp
r2098 r6570 1 ;; ;-*- Log: hemlock.log; Package: Hemlock -*-1 ;; -*- Log: hemlock.log; Package: Hemlock -*- 2 2 ;;; 3 3 ;;; ********************************************************************** … … 72 72 73 73 74 #|| 74 75 (bind-key "Here to Top of Window" #k"leftdown") 75 76 (bind-key "Do Nothing" #k"leftup") … … 82 83 (bind-key "Do Nothing" #k"super-rightup") 83 84 (bind-key "Insert Kill Buffer" #k"super-rightdown") 84 85 ||# 85 86 86 87 (bind-key "Insert File" #k"control-x control-r") … … 96 97 (bind-key "List Buffers" #k"control-x control-b") 97 98 (bind-key "Buffer Not Modified" #k"meta-~") 98 (bind-key "Check Buffer Modified" #k"control-x ~")99 ;(bind-key "Check Buffer Modified" #k"control-x ~") 99 100 (bind-key "Select Buffer" #k"control-x b") 100 101 ;(bind-key "Select Previous Buffer" #k"control-meta-l") … … 104 105 ;(bind-key "Select Random Typeout Buffer" #k"hyper-t") 105 106 106 (bind-key "Next Window" #k"control-x n")107 (bind-key "Next Window" #k"control-x o")108 (bind-key "Previous Window" #k"control-x p")107 ;(bind-key "Next Window" #k"control-x n") 108 ;(bind-key "Next Window" #k"control-x o") 109 ;(bind-key "Previous Window" #k"control-x p") 109 110 (bind-key "Split Window" #k"control-x 2") 110 111 ;(bind-key "New Window" #k"control-x control-n") 111 112 ;(bind-key "Delete Window" #k"control-x d") 112 (bind-key "Delete Next Window" #k"control-x 1")113 ;(bind-key "Delete Next Window" #k"control-x 1") 113 114 ;(bind-key "Line to Top of Window" #k"meta-!") 114 115 ;(bind-key "Line to Center of Window" #k"meta-#") … … 455 456 (bind-key "Quote Tab" #k"meta-tab") 456 457 458 #|| 457 459 (bind-key "Directory" #k"control-x control-\d") 458 460 (bind-key "Verbose Directory" #k"control-x control-D") 461 ||# 459 462 460 463 (bind-key "Activate Region" #k"control-x control-@") … … 503 506 504 507 ;;;; Spell bindings. 505 # +spell-mode506 (progn 507 (bind-key "Check Word Spelling" #k"meta-$")508 (bind-key "Add Word to Spelling Dictionary" #k"control-x $")509 510 (dolist (info (command-bindings (getstring "Self Insert" *command-names*)))511 (let* ((key (car info))512 (key-event (svref key 0))513 (character (key-event-char key-event)))514 (unless (or (alpha-char-p character) (eq key-event #k"'"))515 (bind-key "Auto Check Word Spelling" key :mode "Spell"))))516 (bind-key "Auto Check Word Spelling" #k"return" :mode "Spell")517 (bind-key "Auto Check Word Spelling" #k"tab" :mode "Spell")518 (bind-key "Auto Check Word Spelling" #k"linefeed" :mode "Spell")519 (bind-key "Correct Last Misspelled Word" #k"meta-:")520 (bind-key "Undo Last Spelling Correction" #k"control-x a")521 )508 #|| 509 (progn 510 (bind-key "Check Word Spelling" #k"meta-$") 511 (bind-key "Add Word to Spelling Dictionary" #k"control-x $") 512 513 (dolist (info (command-bindings (getstring "Self Insert" *command-names*))) 514 (let* ((key (car info)) 515 (key-event (svref key 0)) 516 (character (key-event-char key-event))) 517 (unless (or (alpha-char-p character) (eq key-event #k"'")) 518 (bind-key "Auto Check Word Spelling" key :mode "Spell")))) 519 (bind-key "Auto Check Word Spelling" #k"return" :mode "Spell") 520 (bind-key "Auto Check Word Spelling" #k"tab" :mode "Spell") 521 (bind-key "Auto Check Word Spelling" #k"linefeed" :mode "Spell") 522 (bind-key "Correct Last Misspelled Word" #k"meta-:") 523 (bind-key "Undo Last Spelling Correction" #k"control-x a") 524 ) 522 525 523 526 524 527 ;;;; Overwrite Mode. 525 528 ||# 529 530 #|| 526 531 (bind-key "Overwrite Delete Previous Character" #k"delete" :mode "Overwrite") 527 532 (bind-key "Overwrite Delete Previous Character" #k"backspace" :mode "Overwrite") … … 534 539 535 540 (bind-key "Self Overwrite" #k"space" :mode "Overwrite") 536 541 ||# 537 542 538 543 … … 804 809 ;;;; Bufed. 805 810 811 #|| 806 812 (bind-key "Bufed" #k"control-x control-meta-b") 807 813 (bind-key "Bufed Delete" #k"d" :mode "Bufed") … … 818 824 819 825 (bind-key "Bufed Help" #k"?" :mode "Bufed") 820 826 |# 821 827 822 828 823 829 824 830 ;;;; Dired. 825 # +dired-mode831 #|| 826 832 (progn 827 833 (bind-key "Dired" #k"control-x control-meta-d") … … 852 858 (bind-key "Previous Line" #k"p" :mode "Dired") 853 859 ) 860 ||# 854 861 855 862 856 863 ;;;; View Mode. 857 # +view-mode864 #|| 858 865 (progn 859 866 (bind-key "View Scroll Down" #k"space" :mode "View") … … 868 875 (bind-key "End of Buffer" #k"\>" :mode "View") 869 876 ) 877 ||# 870 878 871 879 872 880 ;;;; Lisp Library. 873 881 882 #|| 874 883 (bind-key "Describe Pointer Library Entry" #k"leftdown" :mode "Lisp-Lib") 875 884 (bind-key "Load Pointer Library Entry" #k"rightdown" :mode "Lisp-Lib") … … 878 887 (bind-key "Exit Lisp Library" #k"q" :mode "Lisp-Lib") 879 888 (bind-key "Lisp Library Help" #k"?" :mode "Lisp-Lib") 889 ||# 880 890 881 891
Note:
See TracChangeset
for help on using the changeset viewer.
