Better name for the function camdez/show-buffer-filename
This commit is contained in:
parent
8461b0a421
commit
cb5b93fc4b
|
@ -348,7 +348,7 @@ argument takes the kindows rotate backwards."
|
|||
(buffer-name))))
|
||||
|
||||
;; http://camdez.com/blog/2013/11/14/emacs-show-buffer-file-name/
|
||||
(defun camdez/show-buffer-file-name ()
|
||||
(defun show-and-copy-buffer-filename ()
|
||||
"Show the full path to the current file in the minibuffer."
|
||||
(interactive)
|
||||
(let ((file-name (buffer-file-name)))
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
"fed" 'find-dotfile
|
||||
"fS" 'evil-write-all
|
||||
"fs" 'evil-write
|
||||
"fy" 'camdez/show-buffer-file-name)
|
||||
"fy" 'show-and-copy-buffer-filename)
|
||||
;; insert stuff ---------------------------------------------------------------
|
||||
(evil-leader/set-key
|
||||
"ij" (lambda (count)
|
||||
|
|
Loading…
Reference in a new issue