From ef2273a88c595f32e12404196a80b617c5ece686 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 23 Jan 2023 00:21:49 +0100 Subject: [PATCH] shortcuts kde, ctrl arrow jumps words again --- home/.zsh-server/zshrc | 3 +- home/.zsh/zshrc | 5 +- kde-shortcuts.kksrc | 350 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 355 insertions(+), 3 deletions(-) create mode 100644 kde-shortcuts.kksrc diff --git a/home/.zsh-server/zshrc b/home/.zsh-server/zshrc index d0abf62..602151b 100644 --- a/home/.zsh-server/zshrc +++ b/home/.zsh-server/zshrc @@ -37,10 +37,11 @@ setopt HIST_FIND_NO_DUPS setopt autocd ### --- Inputs Config ------------------------------------ +# vim keys, then override stuff. +bindkey -v bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word bindkey -s "^X" 'n^M' -bindkey -v ### ---- PLUGINS & THEMES ----------------------------------- PS1='%B%F{red}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k' diff --git a/home/.zsh/zshrc b/home/.zsh/zshrc index f80a700..8c04939 100644 --- a/home/.zsh/zshrc +++ b/home/.zsh/zshrc @@ -6,7 +6,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi ### ENVVARS -export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin +export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin export EDITOR=nvim ### Aliases @@ -46,10 +46,11 @@ setopt HIST_FIND_NO_DUPS setopt autocd ### --- Inputs Config ------------------------------------ +# vim keys, then override stuff. +bindkey -v bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word bindkey -s "^X" 'n^M' -bindkey -v ### ---- PLUGINS & THEMES ----------------------------------- [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh diff --git a/kde-shortcuts.kksrc b/kde-shortcuts.kksrc new file mode 100644 index 0000000..01c9825 --- /dev/null +++ b/kde-shortcuts.kksrc @@ -0,0 +1,350 @@ +[ActivityManager][Global Shortcuts] +switch-to-activity-f0839deb-fbaa-440c-ac93-1c5485262c1b= + +[Alacritty.desktop][Global Shortcuts] +New= +_launch=Ctrl+Alt+T + +[KDE Keyboard Layout Switcher][Global Shortcuts] +Switch to Next Keyboard Layout=Meta+Alt+K + +[StandardShortcuts] +AboutApp= +AboutKDE= +Activate Next Tab=Ctrl+]; Ctrl+PgDown +Activate Previous Tab=Ctrl+PgUp; Ctrl+[ +ActualSize=Ctrl+0 +AddBookmark=Ctrl+B +Back=Alt+Left; Back +BackwardWord=Ctrl+Left +Begin=Ctrl+Home +BeginningOfLine=Home +Clear= +Close=Ctrl+W; Ctrl+Esc +ConfigureNotifications= +ConfigureToolbars= +Copy=Ctrl+C; Ctrl+Ins +CreateFolder=F10 +Cut=Shift+Del; Ctrl+X +DeleteFile=Shift+Del +DeleteWordBack=Ctrl+Backspace +DeleteWordForward=Ctrl+Del +Deselect=Ctrl+Shift+A +DocumentBack=Alt+Shift+Left +DocumentForward=Alt+Shift+Right +Donate= +EditBookmarks= +End=Ctrl+End +EndOfLine=End +Find=Ctrl+F +FindNext=F3 +FindPrev=Shift+F3 +FitToHeight= +FitToPage= +FitToWidth= +Forward=Forward; Alt+Right +ForwardWord=Ctrl+Right +FullScreen=Ctrl+Shift+F +Goto= +GotoLine=Ctrl+G +GotoPage= +Help=F1 +Home=Home Page; Alt+Home +KeyBindings=Ctrl+Alt+, +Mail= +MoveToTrash=Del +New=Ctrl+N +Next=PgDown +NextCompletion=Ctrl+Down +Open=Ctrl+O +OpenRecent= +Paste=Ctrl+V; Shift+Ins +Paste Selection=Ctrl+Shift+Ins +Preferences=Ctrl+Shift+, +PrevCompletion=Ctrl+Up +Print=Ctrl+P +PrintPreview= +Prior=PgUp +Quit=Ctrl+Q +Redo=Ctrl+Shift+Z +Reload=F5; Refresh +RenameFile=F2 +Replace=Ctrl+R +ReportBug= +Revert= +RotateDown=Down +RotateUp=Up +Save=Ctrl+S +SaveAs=Ctrl+Shift+S +SaveOptions= +SelectAll=Ctrl+A +ShowHideHiddenFiles=Alt+.; Ctrl+H +ShowMenubar=Ctrl+M +ShowStatusbar= +ShowToolbar= +Spelling= +SubstringCompletion=Ctrl+T +SwitchApplicationLanguage= +TextCompletion=Ctrl+E +TipofDay= +Undo=Ctrl+Z +Up=Alt+Up +WhatsThis=Shift+F1 +Zoom= +ZoomIn=Ctrl+=; Ctrl++ +ZoomOut=Ctrl+- + +[kaccess][Global Shortcuts] +Toggle Screen Reader On and Off=Meta+Alt+S + +[kcm_touchpad][Global Shortcuts] +Disable Touchpad=Touchpad Off +Enable Touchpad=Touchpad On +Toggle Touchpad=Touchpad Toggle; Meta+Ctrl+Zenkaku Hankaku + +[kded5][Global Shortcuts] +Show System Activity=Ctrl+Esc +display=Display; Meta+P + +[khotkeys][Global Shortcuts] +{d03619b6-9b3c-48cc-9d9c-a2aadb485550}= + +[kmix][Global Shortcuts] +decrease_microphone_volume=Microphone Volume Down +decrease_volume=Volume Down +increase_microphone_volume=Microphone Volume Up +increase_volume=Volume Up +mic_mute=Microphone Mute; Meta+Volume Mute +mute=Volume Mute + +[ksmserver][Global Shortcuts] +Halt Without Confirmation= +Lock Session=Screensaver; Meta+L +Log Out=Ctrl+Alt+Del +Log Out Without Confirmation= +Reboot Without Confirmation= + +[kwin][Global Shortcuts] +Activate Window Demanding Attention=Meta+Ctrl+A +Decrease Opacity= +Expose=Ctrl+F9 +ExposeAll=Ctrl+F10; Launch (C) +ExposeClass=Ctrl+F7 +ExposeClassCurrentDesktop= +Increase Opacity= +Invert Screen Colors= +Kill Window=Meta+Ctrl+Esc +MoveMouseToCenter=Meta+F6 +MoveMouseToFocus=Meta+F5 +MoveZoomDown= +MoveZoomLeft= +MoveZoomRight= +MoveZoomUp= +Overview=Meta+W +Setup Window Shortcut= +Show Desktop=Meta+D +ShowDesktopGrid=Meta+F8 +Suspend Compositing=Alt+Shift+F12 +Switch One Desktop Down= +Switch One Desktop Up= +Switch One Desktop to the Left= +Switch One Desktop to the Right= +Switch Window Down=Meta+Alt+Down +Switch Window Left=Meta+Alt+Left +Switch Window Right=Meta+Alt+Right +Switch Window Up=Meta+Alt+Up +Switch to Desktop 1=Meta+1; Ctrl+F1 +Switch to Desktop 10=Meta+0 +Switch to Desktop 11= +Switch to Desktop 12= +Switch to Desktop 13= +Switch to Desktop 14= +Switch to Desktop 15= +Switch to Desktop 16= +Switch to Desktop 17= +Switch to Desktop 18= +Switch to Desktop 19= +Switch to Desktop 2=Meta+2; Ctrl+F2 +Switch to Desktop 20= +Switch to Desktop 3=Ctrl+F3; Meta+3 +Switch to Desktop 4=Ctrl+F4; Meta+4 +Switch to Desktop 5=Meta+5 +Switch to Desktop 6=Meta+6 +Switch to Desktop 7=Meta+7 +Switch to Desktop 8=Meta+8 +Switch to Desktop 9=Meta+9 +Switch to Next Desktop= +Switch to Next Screen= +Switch to Previous Desktop= +Switch to Previous Screen= +Switch to Screen 0= +Switch to Screen 1= +Switch to Screen 2= +Switch to Screen 3= +Switch to Screen 4= +Switch to Screen 5= +Switch to Screen 6= +Switch to Screen 7= +Toggle Night Color= +Toggle Window Raise/Lower= +Walk Through Desktop List= +Walk Through Desktop List (Reverse)= +Walk Through Desktops= +Walk Through Desktops (Reverse)= +Walk Through Windows=Alt+Tab +Walk Through Windows (Reverse)=Alt+Shift+Backtab +Walk Through Windows Alternative= +Walk Through Windows Alternative (Reverse)= +Walk Through Windows of Current Application=Alt+` +Walk Through Windows of Current Application (Reverse)=Alt+~ +Walk Through Windows of Current Application Alternative= +Walk Through Windows of Current Application Alternative (Reverse)= +Window Above Other Windows=Alt+F9 +Window Below Other Windows=Alt+F8 +Window Close=Alt+F4 +Window Fullscreen= +Window Grow Horizontal= +Window Grow Vertical= +Window Lower= +Window Maximize=Meta+PgUp; Alt+F10 +Window Maximize Horizontal= +Window Maximize Vertical= +Window Minimize=Meta+PgDown +Window Move= +Window Move Center= +Window No Border=Alt+F7 +Window On All Desktops= +Window One Desktop Down=Meta+Ctrl+Shift+Down +Window One Desktop Up=Meta+Ctrl+Shift+Up +Window One Desktop to the Left=Meta+Ctrl+Shift+Left +Window One Desktop to the Right=Meta+Ctrl+Shift+Right +Window Operations Menu=Alt+F3 +Window Pack Down= +Window Pack Left= +Window Pack Right= +Window Pack Up= +Window Quick Tile Bottom=Meta+Down +Window Quick Tile Bottom Left= +Window Quick Tile Bottom Right= +Window Quick Tile Left=Meta+Left +Window Quick Tile Right=Meta+Right +Window Quick Tile Top=Meta+Up +Window Quick Tile Top Left= +Window Quick Tile Top Right= +Window Raise= +Window Resize= +Window Shade= +Window Shrink Horizontal= +Window Shrink Vertical= +Window to Desktop 1=Meta+! +Window to Desktop 10=Meta+= +Window to Desktop 11= +Window to Desktop 12= +Window to Desktop 13= +Window to Desktop 14= +Window to Desktop 15= +Window to Desktop 16= +Window to Desktop 17= +Window to Desktop 18= +Window to Desktop 19= +Window to Desktop 2=Meta+" +Window to Desktop 20= +Window to Desktop 3=Meta+ยง +Window to Desktop 4=Meta+$ +Window to Desktop 5=Meta+% +Window to Desktop 6=Meta+& +Window to Desktop 7=Meta+/ +Window to Desktop 8=Meta+( +Window to Desktop 9=Meta+) +Window to Next Desktop= +Window to Next Screen=Meta+Shift+Right +Window to Previous Desktop= +Window to Previous Screen=Meta+Shift+Left +Window to Screen 0= +Window to Screen 1= +Window to Screen 2= +Window to Screen 3= +Window to Screen 4= +Window to Screen 5= +Window to Screen 6= +Window to Screen 7= +view_actual_size= +view_zoom_in=Meta++ +view_zoom_out=Meta+- + +[org.kde.dolphin.desktop][Global Shortcuts] +_launch=Meta+E + +[org.kde.kcalc.desktop][Global Shortcuts] +_launch=Launch (1) + +[org.kde.krunner.desktop][Global Shortcuts] +RunClipboard=Alt+Shift+F2 +_launch=Alt+F2; Alt+Space; Search + +[org.kde.plasma.emojier.desktop][Global Shortcuts] +_launch=Meta+. + +[org.kde.spectacle.desktop][Global Shortcuts] +ActiveWindowScreenShot=Meta+Print +CurrentMonitorScreenShot= +FullScreenScreenShot= +OpenWithoutScreenshot= +RectangularRegionScreenShot=Print +WindowUnderCursorScreenShot=Meta+Ctrl+Print; Ctrl+Print +_launch= + +[org_kde_powerdevil][Global Shortcuts] +Decrease Keyboard Brightness=Keyboard Brightness Down +Decrease Screen Brightness=Monitor Brightness Down +Hibernate=Hibernate +Increase Keyboard Brightness=Keyboard Brightness Up +Increase Screen Brightness=Monitor Brightness Up +PowerDown=Power Down +PowerOff=Power Off +Sleep=Sleep +Toggle Keyboard Backlight=Keyboard Light On/Off +Turn Off Screen= + +[plasmashell][Global Shortcuts] +activate task manager entry 1= +activate task manager entry 10= +activate task manager entry 2= +activate task manager entry 3= +activate task manager entry 4= +activate task manager entry 5= +activate task manager entry 6= +activate task manager entry 7= +activate task manager entry 8= +activate task manager entry 9= +activate widget 25= +activate widget 27= +activate widget 3=Alt+F1 +clear-history= +clipboard_action=Meta+Ctrl+X +cycle-panels=Meta+Alt+P +cycleNextAction= +cyclePrevAction= +edit_clipboard= +manage activities=Meta+Q +next activity=Meta+Tab +previous activity=Meta+Shift+Tab +repeat_action=Meta+Ctrl+R +show dashboard=Ctrl+F12 +show-barcode= +show-on-mouse-pos=Meta+V +stop current activity=Meta+S +switch to next activity= +switch to previous activity= +toggle do not disturb= + +[systemsettings.desktop][Global Shortcuts] +_launch=Tools +kcm-kscreen= +kcm-lookandfeel= +kcm-users= +powerdevilprofilesconfig= +screenlocker= + +[yakuake][Global Shortcuts] +toggle-window-state=Shift+F12