Fix python offset rather than guessing
Add bind to open org tasks file
This commit is contained in:
parent
7aef991aa2
commit
d2118e8913
|
@ -1508,6 +1508,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(python-shell-interpreter "python3")
|
||||
(python-shell-dedicated nil)
|
||||
(python-shell-completion-native-enable nil)
|
||||
(python-indent-guess-indent-offset nil)
|
||||
(python-indent-offset 4)
|
||||
(python-indent-def-block-scale 1)
|
||||
:config
|
||||
(setq python-ts-mode-hook python-mode-hook))
|
||||
|
@ -1651,6 +1653,13 @@ Configure email with iCalendar event support, to integrate with
|
|||
(find-file org-directory))
|
||||
(keymap-global-set "C-c w o" #'my/open-org-directory)
|
||||
|
||||
(defun my/open-tasks-file ()
|
||||
"Open tasks org file."
|
||||
(interactive)
|
||||
(require 'org)
|
||||
(find-file (expand-file-name "tasks.org.gpg" org-directory)))
|
||||
(keymap-global-set "C-c w C-o" #'my/open-tasks-file)
|
||||
|
||||
(defun my/open-global-bibliography ()
|
||||
"Open `org-cite-global-bibliography'."
|
||||
(interactive)
|
||||
|
|
Loading…
Reference in a new issue