AutoYADM commit: 2025-03-09 15:30:03
This commit is contained in:
parent
872a84aa50
commit
3d2e13b26c
2 changed files with 40 additions and 33 deletions
|
@ -1,18 +1,17 @@
|
|||
# -*- conf -*-
|
||||
# [main]
|
||||
[main]
|
||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||
# login-shell=no
|
||||
|
||||
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
||||
title=foot
|
||||
# title=foot
|
||||
# locked-title=no
|
||||
include=~/dev/ashen/monorepo/foot/ashen.ini
|
||||
|
||||
# font=monospace:size=10
|
||||
# font=SauceCodePro NFM:size=12
|
||||
font = SauceCodePro NFM:size=12, Symbols Nerd Font Mono:size=12, FreeMono:size=12
|
||||
underline-offset=3
|
||||
# font-bold=<bold variant of regular font>
|
||||
# font-italic=<italic variant of regular font>
|
||||
# font-bold-italic=<bold+italic variant of regular font>
|
||||
|
@ -21,8 +20,8 @@ underline-offset=3
|
|||
# letter-spacing=0
|
||||
# horizontal-letter-offset=0
|
||||
# vertical-letter-offset=0
|
||||
# underline-offset=<font metrics>
|
||||
# underline-thickness=<font underline thickness>
|
||||
underline-offset=3
|
||||
# underline-thickness=1
|
||||
# strikeout-thickness=<font strikeout thickness>
|
||||
# box-drawings-uses-font-glyphs=no
|
||||
# dpi-aware=no
|
||||
|
@ -71,9 +70,8 @@ indicator-position=relative
|
|||
indicator-format=""
|
||||
|
||||
[url]
|
||||
label-letters=tnserigmdhcao
|
||||
# launch=xdg-open ${url}
|
||||
# label-letters=sadfjklewcmpgh
|
||||
label-letters=tnserigmdhcao
|
||||
# osc8-underline=url-mode
|
||||
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||
|
@ -94,7 +92,7 @@ hide-when-typing=yes
|
|||
# long-press-delay=400
|
||||
|
||||
[colors]
|
||||
# alpha=0.95
|
||||
alpha=1.0
|
||||
# background=121212
|
||||
# foreground=f5f5f5
|
||||
# flash=7f7f00
|
||||
|
@ -172,10 +170,10 @@ hide-when-typing=yes
|
|||
# button-close-color=<regular1>
|
||||
|
||||
[key-bindings]
|
||||
scrollback-up-page=Control+Alt+u
|
||||
scrollback-up-page=Control+Shift+u
|
||||
# scrollback-up-half-page=none
|
||||
# scrollback-up-line=none
|
||||
scrollback-down-page=Control+Alt+d
|
||||
scrollback-down-page=Control+Shift+d
|
||||
# scrollback-down-half-page=none
|
||||
# scrollback-down-line=none
|
||||
# scrollback-home=none
|
||||
|
@ -183,13 +181,10 @@ scrollback-down-page=Control+Alt+d
|
|||
clipboard-copy=Control+Shift+c XF86Copy
|
||||
clipboard-paste=Control+Shift+v XF86Paste
|
||||
# primary-paste=Shift+Insert
|
||||
# search-start=Control+Shift+r
|
||||
search-start=none
|
||||
search-start=Control+Shift+r
|
||||
font-decrease=Control+Shift+j
|
||||
font-increase=Control+Shift+l
|
||||
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||
# font-decrease=Control+minus Control+KP_Subtract
|
||||
# font-reset=Control+0 Control+KP_0
|
||||
font-reset=Control+0 Control+KP_0
|
||||
# spawn-terminal=none
|
||||
# minimize=none
|
||||
# maximize=none
|
||||
|
@ -197,13 +192,13 @@ font-increase=Control+Shift+l
|
|||
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||
# pipe-selected=[xargs -r firefox] none
|
||||
pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
|
||||
pipe-command-output=[wl-copy] Control+Shift+y
|
||||
# show-urls-launch=Control+Shift+o
|
||||
# show-urls-copy=none
|
||||
# show-urls-persistent=none
|
||||
# prompt-prev=Control+Shift+z
|
||||
# prompt-next=Control+Shift+x
|
||||
unicode-input=none
|
||||
prompt-prev=Control+Shift+z
|
||||
prompt-next=Control+Shift+x
|
||||
unicode-input=Control+Shift+i
|
||||
# unicode-input=Control+Shift+u
|
||||
|
||||
# noop=none
|
||||
|
@ -214,31 +209,31 @@ cancel=Control+g Control+c Escape
|
|||
commit=Return
|
||||
find-prev=Control+r
|
||||
find-next=Control+s
|
||||
# cursor-left=Left Control+b
|
||||
# cursor-left-word=Control+Left Mod1+b
|
||||
# cursor-right=Right Control+f
|
||||
cursor-left=Left Control+m
|
||||
# cursor-left-word=Control+b
|
||||
cursor-right=Right Control+i
|
||||
# cursor-right-word=Control+Right Mod1+f
|
||||
# cursor-home=Home Control+a
|
||||
# cursor-end=End Control+e
|
||||
cursor-home=Home Control+h
|
||||
cursor-end=End Control+l
|
||||
# delete-prev=BackSpace
|
||||
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||
# delete-next=Delete
|
||||
# delete-next-word=Mod1+d Control+Delete
|
||||
# extend-char=Shift+Right
|
||||
# extend-to-word-boundary=Control+w Control+Shift+Right
|
||||
# extend-to-next-whitespace=Control+Shift+w
|
||||
# extend-line-down=Shift+Down
|
||||
extend-char=Shift+Right
|
||||
extend-to-word-boundary=Control+w Control+Shift+Right
|
||||
extend-to-next-whitespace=Control+Shift+w
|
||||
extend-line-down=Control+Shift+n
|
||||
# extend-backward-char=Shift+Left
|
||||
# extend-backward-to-word-boundary=Control+Shift+Left
|
||||
extend-backward-to-word-boundary=Control+Shift+Left Control+b
|
||||
# extend-backward-to-next-whitespace=none
|
||||
# extend-line-up=Shift+Up
|
||||
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||
extend-line-up=Control+Shift+e
|
||||
clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||
# primary-paste=Shift+Insert
|
||||
# unicode-input=none
|
||||
# scrollback-up-page=Shift+Page_Up
|
||||
scrollback-up-page=Control+Shift+u
|
||||
# scrollback-up-half-page=none
|
||||
# scrollback-up-line=none
|
||||
# scrollback-down-page=Shift+Page_Down
|
||||
scrollback-down-page=Control+Shift+d
|
||||
# scrollback-down-half-page=none
|
||||
# scrollback-down-line=none
|
||||
# scrollback-home=none
|
||||
|
|
12
.zshrc
12
.zshrc
|
@ -161,6 +161,18 @@ function mksh() {
|
|||
fi
|
||||
}
|
||||
|
||||
function osc7-pwd() {
|
||||
emulate -L zsh # also sets localoptions for us
|
||||
setopt extendedglob
|
||||
local LC_ALL=C
|
||||
printf '\e]7;file://%s%s\e\' $HOST ${PWD//(#m)([^@-Za-z&-;_~])/%${(l:2::0:)$(([##16]#MATCH))}}
|
||||
}
|
||||
|
||||
function chpwd-osc7-pwd() {
|
||||
(( ZSH_SUBSHELL )) || osc7-pwd
|
||||
}
|
||||
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||
|
||||
function preexec {
|
||||
print -n "\e]133;C\e\\"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue