aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-24 21:32:07 +0200
committerAdrian Kummerlaender2020-06-24 21:32:07 +0200
commit40047c0762e236ef6e018354dda4c9719385e9bc (patch)
tree7286db7b430a0a83d194cb730cf15a8edf0a5042
parent832e12490aee72ad67cd44140fea1f6672f67870 (diff)
downloadnixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar.gz
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar.bz2
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar.lz
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar.xz
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.tar.zst
nixos_home-40047c0762e236ef6e018354dda4c9719385e9bc.zip
Keybindings...
-rw-r--r--gui/conf/init.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index d0c6baf..13d75ac 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -76,8 +76,10 @@
(use-package evil-leader
:ensure t
:config
- (global-evil-leader-mode 1)
- (evil-leader/set-leader ","))
+ (global-evil-leader-mode)
+ (evil-leader/set-leader ",")
+ (evil-leader/set-key
+ "s" 'evil-ex-nohighlight))
(use-package evil-collection
:ensure t)
@@ -195,7 +197,6 @@
:ensure t
:config
(setq org-bullets-bullet-list '("●"))
- ;(setq org-bullets-bullet-list '("●" "◉" "◎"))
(add-hook 'org-mode-hook #'org-bullets-mode))
(use-package deft
@@ -220,8 +221,9 @@
(defhydra hydra-org-mode ()
"Org mode"
- ("e" org-babel-execute-buffer "Execute buffer" :column "Babel")
- ("t" org-babel-tangle "Tangle" :column "Babel")
+ ("e" org-babel-execute-buffer "Execute buffer" :column "Babel")
+ ("t" org-babel-tangle "Tangle" :column "Babel")
+ ("p" org-babel-expand-src-block "Tangle (preview)" :column "Babel")
("i" org-toggle-inline-images "Toggle images" :column "Preview")
("l" org-latex-preview "Toggle LaTeX" :column "Preview")
@@ -299,10 +301,9 @@
(deft-find-all-files))))
(org-insert-link nil (concat "file:" file) (file-name-base file)))
-(evil-leader/set-key
+(evil-leader/set-key-for-mode 'org-mode
"e" 'org-ctrl-c-ctrl-c
- "l" 'org-deft-insert-link
- "s" 'evil-ex-nohighlight)
+ "l" 'org-deft-insert-link)
(use-package org-noter
:ensure t)