Add two new functions to move to beginning/end of a line

They consider visual lines and indentation.  However, they don’t work in
Org-mode yet.

Inspired by @bbatsov:
http://emacsredux.com/blog/2013/05/22/smarter-navigation-to-the-beginning-of-a-line/
This commit is contained in:
2016-11-15 08:58:45 +01:00
parent 33e05c054a
commit ab56d6f449
2 changed files with 33 additions and 0 deletions

View File

@@ -945,6 +945,8 @@
("M-t s" . transpose-sentences)
("M-t p" . transpose-paragraphs)
("M-t W" . transpose-windows)
("C-a" . gpolonkai/move-to-beginning-of-line)
("C-e" . gpolonkai/move-to-end-of-line)
:map ctl-x-map
("C-y" . duplicate-line)
("_" . maximize-window)