thread314 / intuitive-tab-line-mode

GNU General Public License v3.0
21 stars 3 forks source link

Some Chromium & Firefox shortcuts that can be used in Emacs #5

Closed morgandavidson closed 1 year ago

morgandavidson commented 1 year ago

Here are some Chromium & Firefox shortcuts that can be used in Emacs

Description : △ = Page up ▽ = Page down

|-----------+--------------------------------------------|
| Key       | Description                                |
|-----------+--------------------------------------------|
| C-TAB     | Jump to next tab                           |
| C-S TAB   | Jump to previous tab                       |
| C ▽/△   | Jump to previous/next tab                  |
| C-S-▽/△ | Move tab to the rigt/left                  |
| C-S t     | Open last closed tab                       |
|-----------+--------------------------------------------|

Config:

  (use-package intuitive-tab-line
      :ensure nil
      :init (add-to-list 'load-path "~/.emacs.d/manual/")
      :custom
      (tab-line-tabs-function 'intuitive-tab-line-buffers-list)
      (tab-line-switch-cycling t)
      :config
      (global-tab-line-mode 1)
      (recentf-mode 1)
      (setq
       tab-line-new-button-show nil  ;; do not show add-new button
       tab-line-close-button-show nil  ;; do not show close button
       tab-line-separator ""  ;; delimitation between tabs
       )
      :bind
      ("C-<prior>" . tab-line-switch-to-prev-tab)
      ("C-<iso-lefttab>" . tab-line-switch-to-prev-tab)
      ("C-<next>" . tab-line-switch-to-next-tab)
      ("C-<tab>" . tab-line-switch-to-next-tab)
      ("C-S-<prior>" . intuitive-tab-line-shift-tab-left)
      ("C-S-<next>" . intuitive-tab-line-shift-tab-right)
      ("C-S-t" . recentf-open-most-recent-file)
      )
thread314 commented 1 year ago

Thanks for the suggestion, making the default suggested keybindings consistent with browsers makes sense.

The other changes make sense too, I've put them in the readme as well.

morgandavidson commented 1 year ago

Thanks for the update. FYI, GitHub can parse org files, so you can use them instead of md for your readme.

thread314 commented 1 year ago

Thanks for the tip!