Skip to content

Commit e7c85fd

Browse files
committed
Remove unusual M-RET keybinding for completion-at-point, use M-TAB instead
1 parent 8317867 commit e7c85fd

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

README.org

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ are useful for starting up gnuplot-mode:
4949

5050
When =gnuplot-mode= is on, the following keybindings are available:
5151

52-
| C-c C-l | send current line to gnuplot |
53-
| C-c C-v | send current line to gnuplot and move forward 1 line |
54-
| C-c C-r | send current region to gnuplot |
55-
| C-c C-b | send entire buffer to gnuplot |
56-
| C-c C-f | send a file to gnuplot |
57-
| C-c C-i | insert filename at point |
58-
| C-c C-n | negate set option on current line |
59-
| C-c C-c | comment region |
60-
| C-c C-o | set arguments for command at point |
61-
| S-mouse-2 | set arguments for command under mouse cursor |
62-
| C-c C-d | read the gnuplot info file |
63-
| C-c C-e | show-gnuplot-buffer |
64-
| C-c C-k | kill gnuplot process |
65-
| C-c C-z | customize gnuplot-mode |
66-
| M-tab or M-ret | complete keyword before point |
67-
| ret | newline and indent |
68-
| tab | indent current line |
52+
| C-c C-l | send current line to gnuplot |
53+
| C-c C-v | send current line to gnuplot and move forward 1 line |
54+
| C-c C-r | send current region to gnuplot |
55+
| C-c C-b | send entire buffer to gnuplot |
56+
| C-c C-f | send a file to gnuplot |
57+
| C-c C-i | insert filename at point |
58+
| C-c C-n | negate set option on current line |
59+
| C-c C-c | comment region |
60+
| C-c C-o | set arguments for command at point |
61+
| S-mouse-2 | set arguments for command under mouse cursor |
62+
| C-c C-d | read the gnuplot info file |
63+
| C-c C-e | show-gnuplot-buffer |
64+
| C-c C-k | kill gnuplot process |
65+
| C-c C-z | customize gnuplot-mode |
66+
| M-tab | complete keyword before point |
67+
| ret | newline and indent |
68+
| tab | indent current line |
6969

7070

7171
With the exception of the commands for sending commands to Gnuplot,

gnuplot.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ non-nil."
391391
(define-key map "\C-c\C-z" #'gnuplot-customize)
392392
(define-key map "\C-i" #'indent-for-tab-command)
393393
(define-key map (kbd "}") #'gnuplot-electric-insert)
394-
(define-key map "\M-\r" #'completion-at-point)
395394
(define-key map "\M-\t" #'completion-at-point)
396395
(define-key map [S-mouse-2] 'gnuplot-gui-set-options-and-insert)
397396

@@ -1362,7 +1361,6 @@ buffer."
13621361
(define-key gnuplot-comint-mode-map "\M-\C-p" #'gnuplot-plot-from-comint)
13631362
(define-key gnuplot-comint-mode-map "\M-\C-f" #'gnuplot-save-and-plot-from-comint)
13641363
(define-key gnuplot-comint-mode-map "\C-d" #'gnuplot-delchar-or-maybe-eof)
1365-
(define-key gnuplot-comint-mode-map "\M-\r" #'completion-at-point)
13661364
(define-key gnuplot-comint-mode-map "\M-\t" #'completion-at-point)
13671365
(define-key gnuplot-comint-mode-map "\C-c\C-d" #'gnuplot-info-lookup-symbol)
13681366
(define-key gnuplot-comint-mode-map "\C-c\C-i" #'gnuplot-insert-filename)

0 commit comments

Comments
 (0)