From 015e3abd9b643b8b90855120176dd314c24a0853 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 31 Oct 2013 23:11:12 +0200 Subject: [PATCH] [Fix #426] Remove M-O keybinding It caused problems in terminals. --- README.md | 2 +- core/prelude-mode.el | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a725ed8..b53ba94 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ Keybinding | Description C-c g | Search in Google for the thing under point (or an interactive query). C-c G | Search in GitHub for the thing under point (or an interactive query). C-c y | Search in YouTube for the thing under point (or an interactive query). -C-S-RET or M-O or Super-o | Insert an empty line above the current line and indent it properly. +C-S-RET or Super-o | Insert an empty line above the current line and indent it properly. S-RET or M-o | Insert an empty line and indent it properly (as in most IDEs). C-S-up or M-S-up | Move the current line or region up. C-S-down or M-S-down| Move the current line or region down. diff --git a/core/prelude-mode.el b/core/prelude-mode.el index 1a88fe1..2258c0a 100644 --- a/core/prelude-mode.el +++ b/core/prelude-mode.el @@ -42,7 +42,6 @@ ;; mimic popular IDEs binding, note that it doesn't work in a terminal session (define-key map [(shift return)] 'prelude-smart-open-line) (define-key map (kbd "M-o") 'prelude-smart-open-line) - (define-key map (kbd "M-O") 'prelude-smart-open-line-above) (define-key map [(control shift return)] 'prelude-smart-open-line-above) (define-key map [(control shift up)] 'move-text-up) (define-key map [(control shift down)] 'move-text-down)