Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
petrstepanov committed Nov 18, 2024
2 parents a91a77a + 39c3fae commit 2d2c3b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ keymap:
Ctrl-K: Ctrl-D
# TODO: Next word
# TODO: Previous word
- name: Nautilus directory navigation and other
- name: Nautilus (Files) shortcuts
application:
only: org.gnome.Nautilus
remap:
Ctrl-Up: Alt-Up
Ctrl-Down: Enter
Ctrl-Backspace: Delete
Shift-Ctrl-Dot: Ctrl-H
Shift-Ctrl-G: Ctrl-L
Ctrl-Up: Alt-Up # Go Up
Ctrl-Down: Enter # Go Down. Using `Enter` here because `Alt-Down` does not open files, only goes down.
Ctrl-Backspace: Delete # Move to Trash
Shift-Ctrl-Dot: Ctrl-H # Show/Hide Hidden Files
Shift-Ctrl-G: Ctrl-L # Enter Location
# Enter: F2 # Rename. Conflict when need to hit `Enter` in focused address bar.
- name: Terminal copy and paste and window management
application:
only: org.gnome.Terminal
Expand Down Expand Up @@ -86,8 +87,7 @@ keymap:
Super-L: Ctrl-L
Super-Z: Ctrl-Z
Super-X: Ctrl-X
# Ctrl-C declared in previous sections
# Super-C: Ctrl-C
# Super-C: Ctrl-C # declared in previous sections
Super-V: Ctrl-V
Super-B: Ctrl-B
Super-N: Ctrl-N
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<
gsettings set org.gnome.desktop.wm.keybindings switch-group "['<Control>grave']"
gsettings set org.gnome.desktop.wm.keybindings switch-group-backward "['<Shift><Control>grave']"

# ⌘ - Space hotkey for spotlight functionality conflicts with default Gnome switch-input-source shortcut
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "[]"
# ⌘ - Set default change input source shortcuts
gsettings reset org.gnome.desktop.wm.keybindings switch-input-source
gsettings reset org.gnome.desktop.wm.keybindings switch-input-source-backward

# Switch workspaces conflicts with default GNOME window left/right tiling
gsettings set org.gnome.mutter.keybindings toggle-tiled-left "[]"
Expand Down

0 comments on commit 2d2c3b0

Please sign in to comment.