-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu_keybindings.txt
24 lines (19 loc) · 1.28 KB
/
ubuntu_keybindings.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/bash -eu
# application switching with tabs
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Super><Shift>Tab']"
# show the application search bar
# first need to delete what is currently mapped as <Super>Space
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "[]"
# then add what we want it to be mapped to
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>Space']"
# new tab from terminal
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ new-tab '<Super>t'
# close tab from terminal
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ close-tab '<Super>w'
# terminal move tab left and right
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ prev-tab '<Super>braceleft'
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ next-tab '<Super>braceright'
# terminal full screen
gsettings set org.gnome.Terminal.Legacy.Keybindings:/org/gnome/terminal/legacy/keybindings/ full-screen '<Super>Return'