Add functions+shortcuts to insert the filename into the buffer.

This commit is contained in:
kj
2025-08-26 15:26:00 -03:00
parent 5b6f53fe4f
commit 1f31bf736b
2 changed files with 14 additions and 0 deletions

View File

@ -37,6 +37,10 @@
(define-key global-map "\M-[" 'backward-paragraph)
(define-key global-map "\M-]" 'forward-paragraph)
;; Insertar nombre del archivo
(global-set-key (kbd "C-c ff") 'insert-full-filename)
(global-set-key (kbd "C-c fo") 'insert-filename-only)
;; Deactivar el abrir *messages* al cliquear en el minibuffer
(define-key minibuffer-inactive-mode-map [mouse-1] #'ignore)