Skip to content

Commit

Permalink
fix: Allow quick navigation with (centaur-tabs-{backward,forward}--bu…
Browse files Browse the repository at this point in the history
…tton)

* To do so:
  Unbind (delete-other-windows) at [centaur-tabs-display-line double-mouse-1]

* Note:
  Function (delete-other-windows) is already bound at [mode-line mouse-2]
  • Loading branch information
erikmd committed May 6, 2024
1 parent 24d90ef commit 5082d99
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ When not specified, ELLIPSIS defaults to ‘...’."
;;; Use right click to show the rest of groups
(define-key map (vector centaur-tabs-display-line 'mouse-3) 'centaur-tabs--tab-menu )

;;; Use double click to maximize window
(define-key map (vector centaur-tabs-display-line 'double-mouse-1) 'delete-other-windows)

map)
"Keymap to use in Centaur-Tabs mode.")

Expand Down

0 comments on commit 5082d99

Please sign in to comment.