File: keybindings.diff

package info (click to toggle)
lua-mode 20071122-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 100 kB
  • ctags: 98
  • sloc: lisp: 851; makefile: 31; sh: 26
file content (19 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Change/remove unusual keybindings.
Author: Trent W. Buck <trentbuck@gmail.com>

Index: lua-mode/lua-mode.el
===================================================================
--- lua-mode.orig/lua-mode.el	2009-08-30 20:21:18.000000000 +0200
+++ lua-mode/lua-mode.el	2009-08-30 20:22:35.000000000 +0200
@@ -370,9 +370,8 @@
                                         lua-mode-map)))
 
          ;; communication
-         (define-key map "\M-[" 'lua-beginning-of-proc)
-         (define-key map "\M-]" 'lua-end-of-proc)
-         (define-key map "\C-c" 'comment-region)
+         (define-key map (kbd "C-M-a") 'lua-beginning-of-proc)
+         (define-key map (kbd "C-M-e") 'lua-end-of-proc)
 	 (define-key map "\C-l" 'lua-send-buffer)
 	 (define-key map "\C-f" 'lua-search-documentation)
          (if lua-prefix-key