aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-17 00:09:30 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-17 00:09:30 +0100
commit5bd2f3dbd591a4f2c50f629502ae985f0fa38803 (patch)
treef54d8756313c1d21a7db25d15ee433468432e1e4 /Emacs/.config/emacs/config.org
parent322fdeeb44a5c7dbfc9ce9ca36dc98fc22277bc5 (diff)
downloaddotfiles-5bd2f3dbd591a4f2c50f629502ae985f0fa38803.tar.gz
dotfiles-5bd2f3dbd591a4f2c50f629502ae985f0fa38803.tar.bz2
dotfiles-5bd2f3dbd591a4f2c50f629502ae985f0fa38803.zip
(Emacs)~bindings for org-mode, cc-mode, flycheck
+ bindings for flycheck-(next|prev)-error ~ bindings for org mode (now has prefix "l" for links) ~ c(++?)-mode's binding for c-(beg|end)-of-statement now set just for c(++?)-mode
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org18
1 files changed, 13 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index b549582..194889a 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -2139,7 +2139,9 @@ and when I don't.
:general
(leader
"tf" #'flycheck-mode
- "cx" #'flycheck-list-errors)
+ "cx" #'flycheck-list-errors
+ "cJ" #'flycheck-next-error
+ "cK" #'flycheck-previous-error)
:display
("\\*Flycheck.*"
(display-buffer-at-bottom)
@@ -2373,12 +2375,17 @@ Some bindings for org mode.
[remap imenu] #'+org/swiper-goto)
(local-leader
:keymaps 'org-mode-map
+ :infix "l"
+ "i" #'org-insert-link
+ "l" #'org-open-at-point)
+ (local-leader
+ :keymaps 'org-mode-map
"t" #'org-todo
- "i" #'org-insert-structure-template
- "l" #'org-latex-preview
+ "p" #'org-latex-preview
"s" #'org-property-action
"e" #'org-export-dispatch
- "o" #'org-edit-special))
+ "o" #'org-edit-special)
+ )
#+end_src
*** Org message
Org message allows for the use of org mode when composing mails,
@@ -2536,7 +2543,8 @@ when I want greater control over memory management.
(c-mode-hook . auto-fill-mode)
(c++-mode-hook . auto-fill-mode)
:general
- (:states '(normal motion visual)
+ (:keymaps '(c-mode-map c++-mode-map)
+ :states '(normal motion visual)
"(" #'c-beginning-of-statement
")" #'c-end-of-statement)
:pretty