Explorar o código

Added small file for helper funs

Simon Watson %!s(int64=3) %!d(string=hai) anos
pai
achega
0ce1bf39d9
Modificáronse 2 ficheiros con 7 adicións e 0 borrados
  1. 3 0
      emacs/.emacs-all
  2. 4 0
      emacs/elisp/helpers.el

+ 3 - 0
emacs/.emacs-all

@@ -202,6 +202,9 @@
 (global-set-key (kbd "C-c o") 'rclone-post-buffer)
 (global-set-key (kbd "C-c C-o") 'rclone-get-org)
 
+;; Small helper functions
+(load "~/Repos/dotfiles/emacs/elisp/helpers.el")
+(global-set-key (kbd "C-c C-x f") 'display-full-buffer-path)
 
 ;; Load for macOS
 ;;; Slime/etc

+ 4 - 0
emacs/elisp/helpers.el

@@ -0,0 +1,4 @@
+(defun display-full-buffer-path ()
+  (interactive)
+  "Little helper for showing full file path in minibuffer"
+  (message (buffer-file-name)))