Created
November 28, 2011 02:50
-
-
Save syohex/1398881 to your computer and use it in GitHub Desktop.
goto column function. This is convenient for moving very long line
This file contains hidden or 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
;; goto-column | |
(defun my/goto-column (column) | |
(interactive | |
(list (read-string "Goto Column: "))) | |
(move-to-column (string-to-int column))) | |
(global-set-key (kbd "M-g c") 'my/goto-column) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment