diff options
author | Adrian Kummerlaender | 2020-06-23 22:50:19 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-06-23 22:50:19 +0200 |
commit | 4855d08a4d62f0c181c8fd67013b2b370e8f8ac7 (patch) | |
tree | 8b7daba243b8b87ea57b75d48caa4e8207a802d8 /gui | |
parent | 6acfdf8c01ff3d749df66e19c8fd5f72af908e12 (diff) | |
download | nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar.gz nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar.bz2 nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar.lz nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar.xz nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.tar.zst nixos_home-4855d08a4d62f0c181c8fd67013b2b370e8f8ac7.zip |
Add keybinds for org linking
Binding of `org-store-link` is global to store link from any supported
buffer. Not fully happy with the choice of F12 but ok for now.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index e2f231a..dbcffcc 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -234,8 +234,11 @@ (evil-leader/set-key-for-mode 'org-mode "c" 'org-edit-src-code + "p" 'org-insert-link "g" 'org-goto) +(global-set-key (kbd "<f12>") 'org-store-link) + (use-package ivy :ensure t :config @@ -360,6 +363,7 @@ send-mail-function 'smtpmail-send-it message-sendmail-f-is-evil t message-send-mail-function 'message-send-mail-with-sendmail) + (require 'org-mu4e) (evil-collection-init 'mu4e)) (setq mu4e-contexts |