Add keybinding for quit (#203)

* Add keybinding for quit

* Reorder default settings

The related keybindings are now located closer together.
quit is not commented by default, but instead has an empty list.

* No need for braces for a single instruction
This commit is contained in:
MRAAGH 2021-03-31 01:20:59 +02:00 committed by miruka
parent 5828c378be
commit f88ab45b94
2 changed files with 8 additions and 0 deletions

View File

@ -272,6 +272,9 @@ class Keys:
# From any terminal, run `socat readline tcp:127.0.0.1:4444` to connect.
python_remote_debugger = ["Alt+F1"]
# Quit Mirage
quit = []
class Scrolling:
# Pages and chat timeline scrolling
up = ["Alt+Up", "Alt+K"]

View File

@ -88,6 +88,11 @@ Item {
}
}
HShortcut {
sequences: window.settings.Keys.quit
onActivated: Qt.quit()
}
HShortcut {
sequences: window.settings.Keys.notifications_highlights_only
onActivated: