Minor changes

* use ace-jump-line-mode for quick line jumping
* column-number-mode enabled by default
This commit is contained in:
Vincent Ambo 2015-02-20 11:45:37 +01:00
parent d9bd9ef50c
commit 4cca819886
No known key found for this signature in database
GPG key ID: 66F505681DB8F43B
3 changed files with 13 additions and 3 deletions

View file

@ -99,4 +99,11 @@ Including indent-buffer, which should not be called automatically on save."
(find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: ")))
(find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name))))
;; Evaluate sexp and replace it with result
(defun replace-last-sexp ()
(interactive)
(let ((value (eval (preceding-sexp))))
(kill-sexp -1)
(insert (format "%S" value))))
(provide 'functions)