Preparing a big update for the documentation of the keybindings for a bunch of apps, as well as created a switcher for easy access each app config. Also removed xplr image previewer because it doesnt work..
This commit is contained in:
parent
e6c940f4bc
commit
f703025ed4
33 changed files with 369 additions and 54 deletions
Binary file not shown.
Binary file not shown.
|
@ -312,7 +312,8 @@
|
|||
},
|
||||
{
|
||||
"id": "saveAll",
|
||||
"label": "Save A&&ll"
|
||||
"label": "Save A&&ll",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"id": "vscode.menubar.separator"
|
||||
|
@ -324,7 +325,7 @@
|
|||
"items": [
|
||||
{
|
||||
"id": "workbench.profiles.actions.exportProfile",
|
||||
"label": "Export Profile (Lua)..."
|
||||
"label": "Export Profile (Default)..."
|
||||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.importProfile",
|
||||
|
@ -347,7 +348,7 @@
|
|||
"items": [
|
||||
{
|
||||
"id": "submenuitem.Profiles",
|
||||
"label": "Profiles (Lua)",
|
||||
"label": "Profiles (Default)",
|
||||
"submenu": {
|
||||
"items": [
|
||||
{
|
||||
|
@ -364,7 +365,8 @@
|
|||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.profileEntry.__default__profile__",
|
||||
"label": "Default"
|
||||
"label": "Default",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.profileEntry.-7191cca2",
|
||||
|
@ -376,8 +378,7 @@
|
|||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.profileEntry.-1645caa6",
|
||||
"label": "Lua",
|
||||
"checked": true
|
||||
"label": "Lua"
|
||||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.profileEntry.-1f364037",
|
||||
|
@ -394,10 +395,6 @@
|
|||
{
|
||||
"id": "vscode.menubar.separator"
|
||||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.editCurrentProfile",
|
||||
"label": "Edit Profile..."
|
||||
},
|
||||
{
|
||||
"id": "workbench.profiles.actions.showProfileContents",
|
||||
"label": "Show Profile Contents"
|
||||
|
@ -491,6 +488,10 @@
|
|||
"id": "workbench.action.closeActiveEditor",
|
||||
"label": "&&Close Editor"
|
||||
},
|
||||
{
|
||||
"id": "workbench.action.closeFolder",
|
||||
"label": "Close &&Folder"
|
||||
},
|
||||
{
|
||||
"id": "workbench.action.closeWindow",
|
||||
"label": "Clos&&e Window"
|
||||
|
@ -684,7 +685,8 @@
|
|||
},
|
||||
{
|
||||
"id": "workbench.action.toggleSidebarVisibility",
|
||||
"label": "&&Primary Side Bar"
|
||||
"label": "&&Primary Side Bar",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"id": "workbench.action.toggleAuxiliaryBar",
|
||||
|
@ -761,7 +763,8 @@
|
|||
},
|
||||
{
|
||||
"id": "editor.action.toggleMinimap",
|
||||
"label": "&&Minimap"
|
||||
"label": "&&Minimap",
|
||||
"checked": true
|
||||
},
|
||||
{
|
||||
"id": "breadcrumbs.toggle",
|
||||
|
@ -892,10 +895,6 @@
|
|||
"id": "workbench.view.extensions",
|
||||
"label": "E&&xtensions"
|
||||
},
|
||||
{
|
||||
"id": "workbench.view.extension.test",
|
||||
"label": "T&&esting"
|
||||
},
|
||||
{
|
||||
"id": "vscode.menubar.separator"
|
||||
},
|
||||
|
@ -1446,6 +1445,11 @@
|
|||
"label": "Ctrl+W",
|
||||
"userSettingsLabel": "ctrl+w"
|
||||
},
|
||||
"workbench.action.closeFolder": {
|
||||
"label": "Ctrl+K F",
|
||||
"isNative": false,
|
||||
"userSettingsLabel": "ctrl+k f"
|
||||
},
|
||||
"workbench.action.closeWindow": {
|
||||
"label": "Alt+F4",
|
||||
"userSettingsLabel": "alt+f4"
|
||||
|
@ -1805,20 +1809,21 @@
|
|||
"editorPartMinWidth": 220,
|
||||
"titleBarHeight": 0,
|
||||
"activityBarWidth": 48,
|
||||
"sideBarWidth": 0,
|
||||
"sideBarWidth": 310,
|
||||
"statusBarHeight": 0,
|
||||
"windowBorder": false
|
||||
}
|
||||
},
|
||||
"windowsState": {
|
||||
"lastActiveWindow": {
|
||||
"backupPath": "/home/matt/.config/VSCodium/Backups/1692447698773",
|
||||
"folder": "file:///home/matt/.config",
|
||||
"backupPath": "/home/matt/.config/VSCodium/Backups/375730732710406c4b825f9cde716ece",
|
||||
"uiState": {
|
||||
"mode": 1,
|
||||
"x": 1019,
|
||||
"y": 1095,
|
||||
"width": 1405,
|
||||
"height": 933
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1246,
|
||||
"height": 976
|
||||
}
|
||||
},
|
||||
"openedWindows": []
|
||||
|
@ -1831,6 +1836,9 @@
|
|||
},
|
||||
{
|
||||
"folderUri": "file:///home/matt/.config/awesome"
|
||||
},
|
||||
{
|
||||
"folderUri": "file:///home/matt/.config"
|
||||
}
|
||||
],
|
||||
"emptyWindows": [
|
||||
|
@ -1905,11 +1913,9 @@
|
|||
"file:///home/matt/.config/nvim.old": "__default__profile__",
|
||||
"file:///docs/Documentos/ObsidianStarterVault/root": "__default__profile__",
|
||||
"file:///docs/Documentos/Repos/Personal/StartPageStatic": "-1645caa6",
|
||||
"file:///home/matt/.config": "-1645caa6"
|
||||
"file:///home/matt/.config": "__default__profile__"
|
||||
},
|
||||
"emptyWindows": {
|
||||
"1692447698773": "-1645caa6"
|
||||
}
|
||||
"emptyWindows": {}
|
||||
},
|
||||
"profileAssociationsMigration": true,
|
||||
"userDataProfiles": [
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
|
@ -140,7 +140,7 @@
|
|||
"terminal.integrated.shellIntegration.suggestEnabled": true,
|
||||
"catppuccin.extraBordersEnabled": true,
|
||||
"codeium.enableSearch": true,
|
||||
"editor.matchBrackets": false,
|
||||
"editor.matchBrackets": "never",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"[markdown]": {
|
||||
"files.trimTrailningWhitespace": false,
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
"terminal.integrated.shellIntegration.suggestEnabled": true,
|
||||
"catppuccin.extraBordersEnabled": true,
|
||||
"codeium.enableSearch": true,
|
||||
"editor.matchBrackets": "never",
|
||||
"editor.matchBrackets": false,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"[markdown]": {
|
||||
"files.trimTrailningWhitespace": false,
|
||||
|
|
|
@ -56,7 +56,7 @@ bind=SUPER, 148, exec, wleave # Custom keyboard key
|
|||
bind=SUPER,Print,exec,hyprpicker -a && notify-send -t 4000 "$(wl-paste)"
|
||||
|
||||
# Keybindings cheastheet
|
||||
bind=SUPER,106,exec,kitty keyb # Slash
|
||||
bind=SUPER,i,exec, ~/.config/hypr/scripts/keybindings
|
||||
|
||||
## Windows
|
||||
## Focusing on windows
|
||||
|
|
7
.config/hypr/scripts/keybindings
Executable file
7
.config/hypr/scripts/keybindings
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
CONFIG=$(ls $HOME/.config/keyb/bindings/ | rofi -dmenu -i -p "Selecciona una configuracion de binds" -theme ~/.config/rofi/style.rasi)
|
||||
|
||||
if [ -n "$CONFIG" ]; then
|
||||
kitty --class keyb-kitty keyb -k $HOME/.config/keyb/bindings/$CONFIG &
|
||||
fi
|
|
@ -43,6 +43,7 @@ windowrule = float, title:Open Folder
|
|||
windowrule = float, title:branchdialog
|
||||
windowrule = float, nwg-look
|
||||
windowrule = float, nm-connection-editor
|
||||
windowrule = float, keyb-kitty
|
||||
|
||||
## Other
|
||||
windowrulev2 = center,class:^(kitty)$
|
||||
|
|
323
.config/keyb/bindings/default.yml
Normal file
323
.config/keyb/bindings/default.yml
Normal file
|
@ -0,0 +1,323 @@
|
|||
- name: WM Apps/Widgets
|
||||
keybinds:
|
||||
- name: Web Browser (Librewolf)
|
||||
key: WIN + .
|
||||
- name: File Manager (Thunar)
|
||||
key: WIN + 0 Numpad
|
||||
- name: Text Editor (VSCodium)
|
||||
key: WIN + BackSpace
|
||||
- name: Mail Client (Thunderbird)
|
||||
key: WIN + 1 Numpad
|
||||
- name: Notes Application (Notion)
|
||||
key: WIN + 2 Numpad
|
||||
- name: Office Suite (LibreOffice)
|
||||
key: WIN + 3 Numpad
|
||||
- name: Video Recorder (OBS)
|
||||
key: WIN + 4 Numpad
|
||||
- name: Sound Control Panel (Pavucontrol)
|
||||
key: WIN + 5 Numpad
|
||||
- name: Chat App (Discord)
|
||||
key: WIN + 7 Numpad
|
||||
- name: Games Store/Launcher (Steam)
|
||||
key: WIN + 8 Numpad
|
||||
- name: Games Store/Launcher (Heroic)
|
||||
key: WIN + 9 Numpad
|
||||
- name: Music App (Spotify)
|
||||
key: WIN + º
|
||||
- name: Application Launcher (Rofi)
|
||||
key: WIN + TAB
|
||||
- name: Client Switcher (Rofi)
|
||||
key: ALT + TAB
|
||||
- name: Power Menu (Awesome Widget)
|
||||
key: WIN + ESC
|
||||
- name: Screenshot Program (Rofi)
|
||||
key: ImpaPant
|
||||
|
||||
|
||||
- name: WM Layouts
|
||||
keybinds:
|
||||
- name: Floating
|
||||
key: Control + WIN + 0 Numpad
|
||||
- name: Magnifier
|
||||
key: Control + WIN + 5 Numpad
|
||||
- name: Tiling Right
|
||||
key: Control + WIN + 6 Numpad
|
||||
- name: Tiling Left
|
||||
key: Control + WIN + 4 Numpad
|
||||
- name: Tiling Top
|
||||
key: Control + WIN + 8 Numpad
|
||||
- name: Tiling Bottom
|
||||
key: Control + WIN + 2 Numpad
|
||||
|
||||
|
||||
- name: WM Windows/Tags
|
||||
keybinds:
|
||||
- name: Right Tag
|
||||
key: WIN + Right Arrow
|
||||
- name: Left Tag
|
||||
key: WIN + Left Arrow
|
||||
- name: Increase Right Width
|
||||
key: WIN + /
|
||||
- name: Increase Left Width
|
||||
key: WIN + *
|
||||
- name: Increase Number Of Columns
|
||||
key: WIN + +
|
||||
- name: Decrease Number Of Columns
|
||||
key: WIN + -
|
||||
- name: Decrease Number Of Columns
|
||||
key: WIN + -
|
||||
- name: Move Window To X Tag
|
||||
key: WIN + 1/2/3/4
|
||||
- name: Fullscreen Window
|
||||
key: WIN + f
|
||||
- name: Maximize Window
|
||||
key: WIN + m
|
||||
- name: Minimize Window
|
||||
key: WIN + n
|
||||
- name: Toggle Floating Window
|
||||
key: WIN + a
|
||||
- name: Close Window
|
||||
key: Control + q
|
||||
|
||||
|
||||
- name: WM Misc.
|
||||
keybinds:
|
||||
- name: Pause/Play
|
||||
key: WIN + F7 | WIN + Left-Big Mouse Button
|
||||
- name: Mute
|
||||
key: WIN + FN
|
||||
- name: Raise Volume
|
||||
key: WIN + F11 | WIN + Left-Up Mouse Button
|
||||
- name: Lower Volume
|
||||
key: WIN + F10 | WIN + Left-Down Mouse Button
|
||||
- name: Start Compositor (Picom)
|
||||
key: WIN + Inicio
|
||||
- name: Kill Compositor (Picom)
|
||||
key: WIN + Fin
|
||||
- name: Restart WM (AwesomeWM)
|
||||
key: Control + WIN + r
|
||||
|
||||
|
||||
- name: Web Browser (Librewolf)
|
||||
keybinds:
|
||||
- name: Focus on URL
|
||||
key: F6
|
||||
- name: Restart Page
|
||||
key: F5
|
||||
- name: New Tab
|
||||
key: Control + t
|
||||
- name: New Window
|
||||
key: Control + n
|
||||
- name: Watch History
|
||||
key: Control + h
|
||||
- name: Cycle Through Recent Tabs
|
||||
key: Control + TAB
|
||||
- name: Zoom In
|
||||
key: Control + +
|
||||
- name: Zoom Out
|
||||
key: Control + -
|
||||
- name: Search For An Specific Word
|
||||
key: Control + f
|
||||
- name: Toggle Bookmarks
|
||||
key: Control + Shift + b
|
||||
|
||||
|
||||
- name: Text Editor (VSCodium)
|
||||
keybinds:
|
||||
- name: Save
|
||||
key: Control + s
|
||||
- name: Toggle Command Box
|
||||
key: Control + Shift + p
|
||||
- name: Format Document
|
||||
key: Control + WIN + +
|
||||
- name: Open Live Server
|
||||
key: Control + 1
|
||||
- name: New File
|
||||
key: Control + n
|
||||
- name: Go To Definition
|
||||
key: F12
|
||||
- name: Search For
|
||||
key: Control + f
|
||||
- name: Search And Replace
|
||||
key: Control + h
|
||||
- name: Go To Line
|
||||
key: Control + g
|
||||
- name: Zoom In
|
||||
key: Control + +
|
||||
- name: Zoom Out
|
||||
key: Control + -
|
||||
- name: Cycle Through Recent Tabs
|
||||
key: Control + TAB
|
||||
- name: Toggle Zen Mode
|
||||
key: Control + F11
|
||||
- name: Toggle Lateral Bar
|
||||
key: Control + b
|
||||
- name: Toggle Lateral Menu
|
||||
key: Control + ç
|
||||
- name: Toggle Status Menu
|
||||
key: Control + Shift + ç
|
||||
- name: Toggle Bookmark
|
||||
key: Control + Shift + m
|
||||
|
||||
|
||||
- name: File Manager (Thunar)
|
||||
keybinds:
|
||||
- name: Focus on URL
|
||||
key: Control + l
|
||||
- name: New Folder
|
||||
key: Control + Shift + n
|
||||
- name: New Tab
|
||||
key: Control + t
|
||||
- name: New Window
|
||||
key: Control + n
|
||||
- name: Properties Of The Folder
|
||||
key: Alt + Enter
|
||||
- name: Rename File
|
||||
key: F2
|
||||
- name: Bookmarks
|
||||
key: Control + b
|
||||
- name: Tree Bar
|
||||
key: Control + e
|
||||
- name: Zoom In
|
||||
key: Control + +
|
||||
- name: Zoom Out
|
||||
key: Control + -
|
||||
- name: Menu Tab
|
||||
key: Control + m
|
||||
|
||||
|
||||
- name: PDF Reader (Zathura)
|
||||
keybinds:
|
||||
- name: Toggle Statusbar
|
||||
key: a
|
||||
- name: Page Down
|
||||
key: RePag
|
||||
- name: Page Up
|
||||
key: AvPag
|
||||
- name: Rotate
|
||||
key: r
|
||||
- name: Switch Theme
|
||||
key: Control + r
|
||||
- name: Zoom In
|
||||
key: Control + Mouse Wheel
|
||||
- name: Zoom Out
|
||||
key: Control + Mouse Wheel
|
||||
|
||||
|
||||
- name: Office Suite (LibreOffice)
|
||||
keybinds:
|
||||
- name: Bold Text
|
||||
key: Control + b
|
||||
- name: Italic Text
|
||||
key: Control + i
|
||||
- name: Underline Text
|
||||
key: Control + u
|
||||
- name: Zoom In
|
||||
key: Control + +
|
||||
- name: Zoom Out
|
||||
key: Control + -
|
||||
- name: Select All
|
||||
key: Control + e
|
||||
- name: Save
|
||||
key: Control + s
|
||||
- name: Table
|
||||
key: Control + F12
|
||||
- name: Hiperlink
|
||||
key: Control + Alt + k
|
||||
- name: Toggle Side Bar
|
||||
key: Control + x
|
||||
- name: Toggle Status Bar
|
||||
key: Control + w
|
||||
- name: Toggle Menu Bar
|
||||
key: Control + p
|
||||
|
||||
|
||||
- name: Notes Application (Notion)
|
||||
keybinds:
|
||||
- name: Save
|
||||
key: Control + s
|
||||
- name: Search Pages
|
||||
key: Control + p
|
||||
- name: New Page
|
||||
key: Control + n
|
||||
- name: New Tab
|
||||
key: Control + t
|
||||
- name: Create Comment
|
||||
key: Control + Shift + m
|
||||
- name: Bold Text
|
||||
key: Control + b
|
||||
- name: Italic Text
|
||||
key: Control + i
|
||||
- name: Underline Text
|
||||
key: Control + u
|
||||
- name: Zoom In
|
||||
key: Control + Mouse Wheel
|
||||
- name: Zoom Out
|
||||
key: Control + Mouse Wheel
|
||||
- name: Create Text
|
||||
key: Control + Shift + 0
|
||||
- name: Create H1
|
||||
key: Control + Shift + 1
|
||||
- name: Create H2
|
||||
key: Control + Shift + 2
|
||||
- name: Create H3
|
||||
key: Control + Shift + 3
|
||||
- name: Create CheckBox
|
||||
key: Control + Shift + 4
|
||||
- name: Create Bulleted List
|
||||
key: Control + Shift + 5
|
||||
- name: Create Numbered List
|
||||
key: Control + Shift + 6
|
||||
- name: Create Toggle List
|
||||
key: Control + Shift + 7
|
||||
- name: Create Code Block
|
||||
key: Control + Shift + 8
|
||||
- name: Create Turn
|
||||
key: Control + Shift + 9
|
||||
- name: Open Plugin Options
|
||||
key: Control + Alt + e
|
||||
|
||||
- name: Email Client (Thunderbird)
|
||||
keybinds:
|
||||
- name: Mark As Read
|
||||
key: Shift + c
|
||||
- name: Search Pages
|
||||
key: Control + p
|
||||
- name: New Page
|
||||
key: Control + n
|
||||
- name: New Tab
|
||||
key: Control + t
|
||||
- name: Create Comment
|
||||
key: Control + Shift + m
|
||||
- name: Bold Text
|
||||
key: Control + b
|
||||
- name: Italic Text
|
||||
key: Control + i
|
||||
- name: Underline Text
|
||||
key: Control + u
|
||||
- name: Zoom In
|
||||
key: Control + Mouse Wheel
|
||||
- name: Zoom Out
|
||||
key: Control + Mouse Wheel
|
||||
- name: Create Text
|
||||
key: Control + Shift + 0
|
||||
- name: Create H1
|
||||
key: Control + Shift + 1
|
||||
- name: Create H2
|
||||
key: Control + Shift + 2
|
||||
- name: Create H3
|
||||
key: Control + Shift + 3
|
||||
- name: Create CheckBox
|
||||
key: Control + Shift + 4
|
||||
- name: Create Bulleted List
|
||||
key: Control + Shift + 5
|
||||
- name: Create Numbered List
|
||||
key: Control + Shift + 6
|
||||
- name: Create Toggle List
|
||||
key: Control + Shift + 7
|
||||
- name: Create Code Block
|
||||
key: Control + Shift + 8
|
||||
- name: Create Turn
|
||||
key: Control + Shift + 9
|
||||
- name: Open Plugin Options
|
||||
key: Control + Alt + e
|
0
.config/keyb/bindings/fish.yml
Normal file
0
.config/keyb/bindings/fish.yml
Normal file
0
.config/keyb/bindings/geeqie.yml
Normal file
0
.config/keyb/bindings/geeqie.yml
Normal file
0
.config/keyb/bindings/kitty.yml
Normal file
0
.config/keyb/bindings/kitty.yml
Normal file
0
.config/keyb/bindings/lazygit.yml
Normal file
0
.config/keyb/bindings/lazygit.yml
Normal file
0
.config/keyb/bindings/libreoffice.yml
Normal file
0
.config/keyb/bindings/libreoffice.yml
Normal file
0
.config/keyb/bindings/librewolf.yml
Normal file
0
.config/keyb/bindings/librewolf.yml
Normal file
0
.config/keyb/bindings/nemo.yml
Normal file
0
.config/keyb/bindings/nemo.yml
Normal file
0
.config/keyb/bindings/nvim.yml
Normal file
0
.config/keyb/bindings/nvim.yml
Normal file
0
.config/keyb/bindings/obsidian.yml
Normal file
0
.config/keyb/bindings/obsidian.yml
Normal file
0
.config/keyb/bindings/pinta.yml
Normal file
0
.config/keyb/bindings/pinta.yml
Normal file
0
.config/keyb/bindings/spotify.yml
Normal file
0
.config/keyb/bindings/spotify.yml
Normal file
0
.config/keyb/bindings/thunderbird.yml
Normal file
0
.config/keyb/bindings/thunderbird.yml
Normal file
0
.config/keyb/bindings/vscodium.yml
Normal file
0
.config/keyb/bindings/vscodium.yml
Normal file
0
.config/keyb/bindings/xplr.yml
Normal file
0
.config/keyb/bindings/xplr.yml
Normal file
0
.config/keyb/bindings/zathura.yml
Normal file
0
.config/keyb/bindings/zathura.yml
Normal file
|
@ -1,5 +1,5 @@
|
|||
settings:
|
||||
keyb_path: /home/matt/.config/keyb/hyprland.yml
|
||||
keyb_path: /home/matt/.config/keyb/bindings/default.yml
|
||||
debug: false
|
||||
reverse: false
|
||||
mouse: true
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
- name: example
|
||||
keybinds:
|
||||
- name: add your keys in
|
||||
key: /home/matt/.config/keyb/keyb.yml
|
|
@ -55,7 +55,7 @@
|
|||
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
||||
"nvim-numbertoggle": { "branch": "main", "commit": "1dcc1507578f6f216917065da9dac169670dbcd3" },
|
||||
"nvim-scrollview": { "branch": "main", "commit": "f826e74d6c20f535a7fa6a94308eacb99c07aba8" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "5b39919a2947b1266b3aa34d0b0b14c35523bc69" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "eb17a856a6f17e03d8d610cbc00cd9f2f39e3fd7" },
|
||||
"nvim-terminal.lua": { "branch": "master", "commit": "095f98aaa7265628a72cd2706350c091544b5602" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "8fa7ce35afe88b8294e6ced757aa14ec98414568" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "5dd8c2121170f806c3d0689d9e0dd24250e4f342" },
|
||||
|
|
|
@ -1293,25 +1293,7 @@ xplr.config.modes.builtin.default.key_bindings.on_key["l"] =
|
|||
xplr.config.modes.builtin.default.key_bindings.on_key["right"]
|
||||
xplr.config.modes.builtin.default.key_bindings.on_key["tab"] =
|
||||
xplr.config.modes.builtin.default.key_bindings.on_key["ctrl-i"] -- compatibility workaround
|
||||
xplr.config.modes.builtin.default.key_bindings.on_key.P = {
|
||||
help = "preview",
|
||||
messages = {
|
||||
{
|
||||
BashExecSilently0 = [===[
|
||||
FIFO_PATH="/tmp/xplr.fifo"
|
||||
|
||||
if [ -e "$FIFO_PATH" ]; then
|
||||
"$XPLR" -m StopFifo
|
||||
rm -f -- "$FIFO_PATH"
|
||||
else
|
||||
mkfifo "$FIFO_PATH"
|
||||
"$HOME/.local/bin/imv-open.sh" "$FIFO_PATH" "$XPLR_FOCUS_PATH" &
|
||||
"$XPLR" -m 'StartFifo: %q' "$FIFO_PATH"
|
||||
fi
|
||||
]===],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
-- The builtin debug error mode.
|
||||
--
|
||||
|
|
Loading…
Add table
Reference in a new issue