emacs: fix my/org-file-open keybinding

This commit is contained in:
Pavel Korytov 2023-12-25 12:52:06 +03:00
parent 952fe0ae5d
commit 4247823c6f
2 changed files with 14 additions and 4 deletions

View file

@ -2965,8 +2965,9 @@ With ARG, repeats or can move backward if negative."
(concat org-directory "/"
(completing-read "Org file: " files)))))
(my-leader-def
"o o" 'my/org-file-open)
(with-eval-after-load 'org
(my-leader-def
"o o" 'my/org-file-open))
(use-package jupyter
:straight t

View file

@ -960,6 +960,14 @@ References:
(setq default-input-method "russian-computer")
#+end_src
=M-x delete-horizontal-space= doesn't feel that useful to me.
#+begin_src emacs-lisp
(general-define-key
:keymaps 'global-map
"M-\\" #'toggle-input-method)
#+end_src
*** Other small packages
**** Managing parentheses (smartparens)
A minor mode to deal with pairs. Its functionality overlaps with evil-surround, but smartparens provides the most comfortable way to do stuff like automatically insert pairs.
@ -4100,8 +4108,9 @@ A function to open a file from =org-directory=, excluding a few directories like
(concat org-directory "/"
(completing-read "Org file: " files)))))
(my-leader-def
"o o" 'my/org-file-open)
(with-eval-after-load 'org
(my-leader-def
"o o" 'my/org-file-open))
#+end_src
** Literate programing
*** Python & Jupyter