Try to fix [backtab] on GNU Emacs

This commit is contained in:
Henrik Lissner 2017-05-19 13:07:59 +02:00
parent 914b0fae43
commit abe9f06350
2 changed files with 4 additions and 5 deletions

View file

@ -263,13 +263,11 @@
:i "C-e" #'org-end-of-line
:i "C-a" #'org-beginning-of-line
:i "<tab>" #'+org/indent-or-next-field-or-yas-expand
:i [S-iso-lefttab] #'+org/dedent-or-prev-field ; for GNU Emacs
:i [(shift tab)] #'+org/dedent-or-prev-field
:i [tab] #'+org/indent-or-next-field-or-yas-expand
:i [backtab] #'+org/dedent-or-prev-field
:n "<tab>" #'+org/toggle-fold
:v "<S-tab>" #'+snippets/expand-on-region
:n [tab] #'+org/toggle-fold
:v [backtab] #'+snippets/expand-on-region
:nv "j" #'evil-next-visual-line
:nv "k" #'evil-previous-visual-line

View file

@ -328,6 +328,7 @@
;; properly, more like vim, or how I like it.
(map! (:unless window-system "TAB" [tab]) ; Fix TAB in terminal
[S-iso-lefttab] [tab] ; Fix TAB in GNU Emacs
;; I want C-a and C-e to be a little smarter. C-a will jump to
;; indentation. Pressing it again will send you to the true bol. Same goes