Fix #19: don't hijack Tab in magit buffers or in org-mode
This commit is contained in:
parent
43be671008
commit
55c7555c00
2 changed files with 8 additions and 4 deletions
|
@ -52,8 +52,9 @@
|
|||
(use-package magit
|
||||
:commands (magit-status)
|
||||
:config
|
||||
;; Prevent magit and evil-snipe conflicts
|
||||
;; Prevent magit + evil-snipe conflicts
|
||||
(add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode)
|
||||
(map! :map magit-mode-map :m "<tab>" 'magit-section-toggle)
|
||||
(require 'evil-magit))
|
||||
|
||||
(after! vc-annotate
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
:ni "C-S-h" 'doom/org-table-prepend-field-or-shift-left
|
||||
:ni "C-S-k" 'doom/org-table-prepend-row-or-shift-up
|
||||
:ni "C-S-j" 'doom/org-table-append-row-or-shift-down
|
||||
|
||||
;; Navigate table cells
|
||||
:i "C-L" 'doom/org-table-next-field
|
||||
:i "C-H" 'doom/org-table-previous-field
|
||||
:i "C-K" 'doom/org-table-previous-row
|
||||
|
@ -258,8 +258,11 @@
|
|||
|
||||
:i "C-e" 'org-end-of-line
|
||||
:i "C-a" 'org-beginning-of-line
|
||||
:i "<tab>" 'doom/org-indent
|
||||
:i "<S-tab>" 'doom/org-dedent
|
||||
|
||||
:i "<tab>" 'doom/org-indent-or-next-field
|
||||
:i [S-iso-lefttab] 'doom/org-dedent-or-prev-field ; for GNU Emacs
|
||||
:i [(shift tab)] 'doom/org-dedent-or-prev-field
|
||||
:i [backtab] 'doom/org-dedent-or-prev-field
|
||||
|
||||
:nv "j" 'evil-next-visual-line
|
||||
:nv "k" 'evil-previous-visual-line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue