Bind mouse forward/back buttons to change buffer
This commit is contained in:
parent
8008665a92
commit
704efa8055
|
@ -33,6 +33,10 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
|
||||||
scroll-margin 0
|
scroll-margin 0
|
||||||
scroll-preserve-screen-position 1)
|
scroll-preserve-screen-position 1)
|
||||||
|
|
||||||
|
; Bind normal forward/back buttons on mouse to next/previous buffer respectively
|
||||||
|
(keymap-global-set "<mouse-8>" #'previous-buffer)
|
||||||
|
(keymap-global-set "<mouse-9>" #'next-buffer)
|
||||||
|
|
||||||
(set-default-coding-systems 'utf-8)
|
(set-default-coding-systems 'utf-8)
|
||||||
(set-terminal-coding-system 'utf-8)
|
(set-terminal-coding-system 'utf-8)
|
||||||
(set-keyboard-coding-system 'utf-8)
|
(set-keyboard-coding-system 'utf-8)
|
||||||
|
|
Loading…
Reference in a new issue