bash (no vi mode at line start), hyperland (term key), yazi (zathura)
This commit is contained in:
parent
e50284111b
commit
da18d28504
@ -45,8 +45,8 @@ $mainMod = SUPER
|
|||||||
|
|
||||||
bind = $mainMod, P, exec, $menu
|
bind = $mainMod, P, exec, $menu
|
||||||
bind = $mainMod SHIFT, Return, exec, $terminal
|
bind = $mainMod SHIFT, Return, exec, $terminal
|
||||||
bind = $mainMod ALT, Return, exec, $terminal
|
bind = $mainMod, Return, exec, $terminal
|
||||||
bind = $mainMod, Return, layoutmsg,swapwithmaster master
|
bind = $mainMod ALT, Return, layoutmsg,swapwithmaster master
|
||||||
bind = $mainMod CONTROL SHIFT, Q, exit
|
bind = $mainMod CONTROL SHIFT, Q, exit
|
||||||
bind = $mainMod, Q, exec, hyprctl reload
|
bind = $mainMod, Q, exec, hyprctl reload
|
||||||
bind = $mainMod CONTROL SHIFT, C, killactive
|
bind = $mainMod CONTROL SHIFT, C, killactive
|
||||||
|
@ -10,3 +10,7 @@ PS1='\e[34m\u@\h\e[0m \e[32m\W\e[0m \$ '
|
|||||||
|
|
||||||
function before_command() { echo -ne '\e[2 q'; }
|
function before_command() { echo -ne '\e[2 q'; }
|
||||||
trap before_command DEBUG
|
trap before_command DEBUG
|
||||||
|
|
||||||
|
if [[ -f /usr/share/bash-completion/bash_completion ]]; then
|
||||||
|
. /usr/share/bash-completion/bash_completion
|
||||||
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
set editing-mode vi
|
set editing-mode vi
|
||||||
set show-mode-in-prompt on
|
set show-mode-in-prompt on
|
||||||
set vi-ins-mode-string \1\e[6 q\2\e[31m[+]\e[0m \2
|
set vi-ins-mode-string \1\e[6 q\2
|
||||||
set vi-cmd-mode-string \1\e[2 q\2\e[32m[:]\e[0m \2
|
set vi-cmd-mode-string \1\e[2 q\2
|
||||||
|
|
||||||
set keymap vi-command
|
set keymap vi-command
|
||||||
"k": history-substring-search-backward
|
"k": history-substring-search-backward
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
imv = [
|
imv = [
|
||||||
{ run = 'imv "$@"', orphan = true },
|
{ run = 'imv "$@"', orphan = true },
|
||||||
]
|
]
|
||||||
|
zathura = [
|
||||||
|
{ run = 'zathura "$@"', orphan = true },
|
||||||
|
]
|
||||||
nvim_cd = [
|
nvim_cd = [
|
||||||
{ run = 'nvim -c "cd $@"', block = true }
|
{ run = 'nvim -c "cd $@"', block = true }
|
||||||
]
|
]
|
||||||
@ -9,5 +12,6 @@ nvim_cd = [
|
|||||||
[open]
|
[open]
|
||||||
prepend_rules = [
|
prepend_rules = [
|
||||||
{ mime = "image/*", use = "imv" },
|
{ mime = "image/*", use = "imv" },
|
||||||
|
{ mime = "application/pdf", use = "zathura" },
|
||||||
{ mime = "inode/directory", use = "nvim_cd" }
|
{ mime = "inode/directory", use = "nvim_cd" }
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user