mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +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 "/"
|
||||
(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
|
||||
|
|
|
|||
13
Emacs.org
13
Emacs.org
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue