diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 12:30:55 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 12:30:55 +0800 |
commit | 34e38ab096b284773ffdf58766b10148ae444af2 (patch) | |
tree | 3bf5b7ebee2d42edda5cdd44300450be8520d26e | |
parent | 3ff11c8129aad331e5dd6fbf2adc8cf26921ac62 (diff) |
changed: the keybinding of kill-whole-line
-rw-r--r-- | emacs | 6 | ||||
-rw-r--r-- | emacs-win32 | 7 |
2 files changed, 2 insertions, 11 deletions
@@ -32,10 +32,6 @@ ;;(global-semanticdb-minor-mode 1) (require 'semantic-ia) (global-set-key [(control p)] 'semantic-ia-complete-symbol-menu) -;;# semantic-ia-complete-symbol -;;# semantic-ia-complete-symbol-menu -;;# semantic-ia-complete-tip -;;(global-semantic-show-dirty-mode -1) (global-semantic-show-unmatched-syntax-mode -1) (require 'semantic-load) ;;(global-semantic-idle-completions-mode 1) @@ -91,7 +87,7 @@ (push-mark) (beginning-of-line 2) (kill-region (point) (mark))) -(global-set-key (kbd "C-d") 'kill-whole-line) +(global-set-key "\M-\S-d" 'kill-whole-line) ;; compile .emacs (defun autocompile nil diff --git a/emacs-win32 b/emacs-win32 index 440b2f5..33c8a8e 100644 --- a/emacs-win32 +++ b/emacs-win32 @@ -29,13 +29,8 @@ (require 'ecb) (semantic-load-enable-code-helpers) (require 'semanticdb) -;;(global-semanticdb-minor-mode 1) (require 'semantic-ia) (global-set-key [(control p)] 'semantic-ia-complete-symbol-menu) -;;# semantic-ia-complete-symbol -;;# semantic-ia-complete-symbol-menu -;;# semantic-ia-complete-tip -;;(global-semantic-show-dirty-mode -1) (global-semantic-show-unmatched-syntax-mode -1) (require 'semantic-load) ;;(global-semantic-idle-completions-mode 1) @@ -91,7 +86,7 @@ (push-mark) (beginning-of-line 2) (kill-region (point) (mark))) -(global-set-key (kbd "C-d") 'kill-whole-line) +(global-set-key "\M-\S-d" 'kill-whole-line) ;; compile .emacs (defun autocompile nil |