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:
parent
5828c378be
commit
f88ab45b94
|
@ -272,6 +272,9 @@ class Keys:
|
||||||
# From any terminal, run `socat readline tcp:127.0.0.1:4444` to connect.
|
# From any terminal, run `socat readline tcp:127.0.0.1:4444` to connect.
|
||||||
python_remote_debugger = ["Alt+F1"]
|
python_remote_debugger = ["Alt+F1"]
|
||||||
|
|
||||||
|
# Quit Mirage
|
||||||
|
quit = []
|
||||||
|
|
||||||
class Scrolling:
|
class Scrolling:
|
||||||
# Pages and chat timeline scrolling
|
# Pages and chat timeline scrolling
|
||||||
up = ["Alt+Up", "Alt+K"]
|
up = ["Alt+Up", "Alt+K"]
|
||||||
|
|
|
@ -88,6 +88,11 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HShortcut {
|
||||||
|
sequences: window.settings.Keys.quit
|
||||||
|
onActivated: Qt.quit()
|
||||||
|
}
|
||||||
|
|
||||||
HShortcut {
|
HShortcut {
|
||||||
sequences: window.settings.Keys.notifications_highlights_only
|
sequences: window.settings.Keys.notifications_highlights_only
|
||||||
onActivated:
|
onActivated:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user