Add python to org-babel, add winner binds
This commit is contained in:
parent
5f65ab02ac
commit
d3d915a1a0
|
@ -78,6 +78,7 @@
|
|||
path = pkgs.path;
|
||||
};
|
||||
};
|
||||
nixPath = [ "nixpkgs=${nixpkgs}" ];
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
|
|
|
@ -165,6 +165,10 @@
|
|||
(keymap-global-set "C-c i n" #'nerd-icons-insert)
|
||||
|
||||
(use-package winner
|
||||
:ensure t
|
||||
:demand
|
||||
:bind (("C-c w u" . winner-under)
|
||||
("C-c w r" . winner-redo))
|
||||
:config
|
||||
(winner-mode))
|
||||
|
||||
|
@ -279,6 +283,12 @@
|
|||
;; Visually indent org-mode files to a given header level
|
||||
(add-hook 'org-mode-hook #'org-indent-mode)
|
||||
|
||||
(use-package org
|
||||
:ensure t
|
||||
:custom
|
||||
(org-babel-load-languages '((emacs-lisp . t)
|
||||
(python . t))))
|
||||
|
||||
(keymap-global-set "C-c o e" #'org-edit-src-code)
|
||||
(keymap-global-set "C-c o a" #'org-agenda)
|
||||
(keymap-global-set "C-c o n" #'org-capture)
|
||||
|
|
|
@ -203,6 +203,10 @@
|
|||
*** winner
|
||||
#+begin_src emacs-lisp
|
||||
(use-package winner
|
||||
:ensure t
|
||||
:demand
|
||||
:bind (("C-c w u" . winner-under)
|
||||
("C-c w r" . winner-redo))
|
||||
:config
|
||||
(winner-mode))
|
||||
#+end_src
|
||||
|
@ -333,6 +337,12 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
|
||||
;; Visually indent org-mode files to a given header level
|
||||
(add-hook 'org-mode-hook #'org-indent-mode)
|
||||
|
||||
(use-package org
|
||||
:ensure t
|
||||
:custom
|
||||
(org-babel-load-languages '((emacs-lisp . t)
|
||||
(python . t))))
|
||||
#+END_SRC
|
||||
|
||||
** Keymaps
|
||||
|
|
Loading…
Reference in a new issue