diff options
author | ThanosApollo <[email protected]> | 2022-10-13 09:15:44 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-13 09:15:44 +0300 |
commit | 69c1833b6da6ef97b09eebd39f1566f96dd67df4 (patch) | |
tree | 40c084cab7ef5e0d674261d6d9a3ca512e968740 /.config/doom | |
parent | 638e6e34ca74e6479dcc243ea2e59855862c7140 (diff) |
Add keybindings
Diffstat (limited to '.config/doom')
-rw-r--r-- | .config/doom/myExwm.el | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/.config/doom/myExwm.el b/.config/doom/myExwm.el index 9997cc7..1bd71df 100644 --- a/.config/doom/myExwm.el +++ b/.config/doom/myExwm.el @@ -1,7 +1,8 @@ ;;; myExwm.el -*- lexical-binding: t; -*- (require 'exwm-randr) -(setq exwm-randr-workspace-monitor-plist '(0 "DisplayPort-2" 1 "HDMI-A-0")) +(setq exwm-randr-workspace-monitor-plist '(0 "DisplayPort-2" + 1 "HDMI-A-0")) (add-hook 'exwm-randr-screen-change-hook (lambda () (start-process-shell-command @@ -12,10 +13,12 @@ (exwm-enable) (require 'exwm-systemtray) (exwm-systemtray-enable) +;;(exwm-mff-mode) ;;Essentials (map! :desc "Change workspaces" :n "s-e" #'exwm-workspace-switch) (map! :desc "Dmenu" :n "s-<tab>" #'dmenu) ;;Volume +(require 'volume) (map! :desc "VolumeIncrease" :n "<XF86AudioRaiseVolume>" #'volume-raise-10) (map! :desc "VolumeDecrease" :n "<XF86AudioLowerVolume>" #'volume-lower-10) ;;Spotify @@ -23,3 +26,20 @@ (map! :desc "Spotify next" :n "s-n" #'spotify-next) (map! :desc "Spotify previous" :n "s-b" #'spotify-previous) +(define-key exwm-mode-map (kbd "C-c C-b") 'ibuffer) +(define-key exwm-mode-map (kbd "s-v") 'evil-window-vsplit) +(define-key exwm-mode-map (kbd "s-b") 'ibuffer) +(define-key exwm-mode-map (kbd "s-v") 'evil-window-vsplit) +(define-key exwm-mode-map (kbd "s-h") 'evil-window-left) +(define-key exwm-mode-map (kbd "s-l") 'evil-window-right) +(define-key exwm-mode-map (kbd "s-j") 'evil-window-down) +(define-key exwm-mode-map (kbd "s-k") 'evil-window-up) +(define-key exwm-mode-map (kbd "s-q") 'evil-window-delete) + +(define-key (current-global-map) (kbd "C-b") 'ibuffer) +(define-key (current-global-map) (kbd "s-v") 'evil-window-vsplit) +(define-key (current-global-map) (kbd "s-h") 'evil-window-left) +(define-key (current-global-map) (kbd "s-l") 'evil-window-right) +(define-key (current-global-map) (kbd "s-j") 'evil-window-down) +(define-key (current-global-map) (kbd "s-k") 'evil-window-up) +(define-key (current-global-map) (kbd "s-q") 'evil-window-delete) |