Minor changes
* use ace-jump-line-mode for quick line jumping * column-number-mode enabled by default
This commit is contained in:
parent
d9bd9ef50c
commit
4cca819886
3 changed files with 13 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue