mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
emacs: fix my/org-file-open keybinding
This commit is contained in:
parent
952fe0ae5d
commit
4247823c6f
2 changed files with 14 additions and 4 deletions
|
|
@ -2965,8 +2965,9 @@ With ARG, repeats or can move backward if negative."
|
||||||
(concat org-directory "/"
|
(concat org-directory "/"
|
||||||
(completing-read "Org file: " files)))))
|
(completing-read "Org file: " files)))))
|
||||||
|
|
||||||
(my-leader-def
|
(with-eval-after-load 'org
|
||||||
"o o" 'my/org-file-open)
|
(my-leader-def
|
||||||
|
"o o" 'my/org-file-open))
|
||||||
|
|
||||||
(use-package jupyter
|
(use-package jupyter
|
||||||
:straight t
|
:straight t
|
||||||
|
|
|
||||||
13
Emacs.org
13
Emacs.org
|
|
@ -960,6 +960,14 @@ References:
|
||||||
(setq default-input-method "russian-computer")
|
(setq default-input-method "russian-computer")
|
||||||
#+end_src
|
#+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
|
*** Other small packages
|
||||||
**** Managing parentheses (smartparens)
|
**** 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.
|
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 "/"
|
(concat org-directory "/"
|
||||||
(completing-read "Org file: " files)))))
|
(completing-read "Org file: " files)))))
|
||||||
|
|
||||||
(my-leader-def
|
(with-eval-after-load 'org
|
||||||
"o o" 'my/org-file-open)
|
(my-leader-def
|
||||||
|
"o o" 'my/org-file-open))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Literate programing
|
** Literate programing
|
||||||
*** Python & Jupyter
|
*** Python & Jupyter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue