diff options
author | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2021-12-06 12:49:52 +0100 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-12-06 13:03:28 +0100 |
commit | 75155fa7a3733d7e68574b6e56901d8704ca39d8 (patch) | |
tree | eea9ac1d2d37aea78ebafc3eab3cecb8cd069f0e /app.go | |
parent | Bump history batch limits (diff) |
Allow selecting buffers with Alt+{1..9}
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -538,6 +538,8 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) { app.win.ScrollDownHighlight() case 'p': app.win.ScrollUpHighlight() + case '1', '2', '3', '4', '5', '6', '7', '8', '9': + app.win.GoToBufferNo(int(ev.Rune()-'0') - 1) } } else { app.win.InputRune(ev.Rune()) |