Last active
March 17, 2017 02:58
-
-
Save hirokiky/214b85360eaf8059b6d4295a05f4fcce to your computer and use it in GitHub Desktop.
back-or-beginning: C-a back to indentation, and then back to begining of lines.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Moving start line and start indend by C-a | |
(defun back-to-indentation-or-beginning () (interactive) | |
(if (= (point) (progn (back-to-indentation) (point))) | |
(beginning-of-line))) | |
(global-set-key "\C-a" 'back-to-indentation-or-beginning) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment