Skip to content

Commit

Permalink
Bind tab movement commands to motion state
Browse files Browse the repository at this point in the history
  • Loading branch information
anpandey authored and tomdl89 committed Apr 8, 2023
1 parent c61bc34 commit de07e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evil-maps.el
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@
(define-key evil-window-map [C-right] 'evil-window-right)

(when (featurep 'tab-bar)
(define-key evil-normal-state-map "gt" 'tab-bar-switch-to-next-tab)
(define-key evil-motion-state-map "gt" 'tab-bar-switch-to-next-tab)
(define-key evil-window-map "gt" 'tab-bar-switch-to-next-tab)
(define-key evil-normal-state-map "gT" 'tab-bar-switch-to-prev-tab)
(define-key evil-motion-state-map "gT" 'tab-bar-switch-to-prev-tab)
(define-key evil-window-map "gT" 'tab-bar-switch-to-prev-tab))

;;; Motion state
Expand Down

0 comments on commit de07e9a

Please sign in to comment.