Override default move-beginning-of-line behavior

This commit is contained in:
Bozhidar Batsov 2013-05-23 11:27:01 +03:00
parent 0e4b66d07a
commit 3e3d022b89
2 changed files with 38 additions and 0 deletions

View file

@ -208,6 +208,7 @@ Keybinding | Description
<kbd>F12</kbd> | Toggle the Emacs menu bar.
<kbd>C-x g</kbd> | Open Magit's status buffer.
<kbd>C-=</kbd> | Run `expand-region` (incremental text selection).
<kbd>C-a</kbd> | Run `prelude-move-beginning-of-line`. Read [this](http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/) for details.
#### Prelude Mode
@ -417,6 +418,17 @@ personal Emacs customization to enable them permanently:
(setq prelude-guru nil)
```
### Customized C-a behavior
Prelude overrides `C-a` to behave as described
[here](http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/). If
you don't like that simply add this to your personal config:
```lisp
(global-set-key [remap move-beginning-of-line]
'move-beginning-of-line)
```
### Windows compatibility
While everything in Prelude should work fine in Windows, I test it only