Add a keybinding for ffap

This commit is contained in:
Ohad Livne 2025-06-04 22:45:55 +03:00
parent d56bc741ff
commit 4f44b11d14
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -3,7 +3,8 @@
(use-package emacs (use-package emacs
:elpaca nil :elpaca nil
:bind (("C-z" . nil) :bind (("C-z" . nil)
("C-z i" . (lambda () (interactive) (find-file user-init-file)))) ("C-z i" . (lambda () (interactive) (find-file user-init-file)))
("C-z f" . ffap))
:hook ((after-save . executable-make-buffer-file-executable-if-script-p)) :hook ((after-save . executable-make-buffer-file-executable-if-script-p))
:config :config
(defalias 'yes-or-no-p 'y-or-n-p) (defalias 'yes-or-no-p 'y-or-n-p)