1
0
Fork 0

Compare commits

...

3 commits

3 changed files with 6 additions and 5 deletions

View file

@ -45,6 +45,7 @@
line-numbers = true
; side-by-side = true
keep-plus-minus-markers = false
tabs = 4
syntax-theme = base16
file-style = "#414868" bold
file-decoration-style = "#414868" ul

View file

@ -6,7 +6,7 @@ git:
branchLogCmd: "git log --color=always --abbrev-commit --date=relative --pretty='format:%C(magenta)%G? %C(blue)%<(33)%ae%C(green)%<(24)%ad%C(reset)%s%C(auto)%d' {{branchName}} --"
paging:
colorArg: always
pager: "delta --hyperlinks --hyperlinks-file-link-format='lazygit-edit://{path}:{line}' --dark --paging=never --config $XDG_CONFIG_HOME/git/config --max-line-length=$(({{columnWidth}} * 2))"
pager: "delta --hyperlinks --hyperlinks-file-link-format='lazygit-edit://{path}:{line}' --paging=never --config ${XDG_CONFIG_HOME}/git/config --max-line-length=$(({{columnWidth}} * 2))"
gui:
nerdFontsVersion: "3"
showRandomTip: false

View file

@ -22,8 +22,8 @@ cmd pushedit %{{
}}
cmd open-with ${{
method=$(rifle -c $XDG_CONFIG_HOME/lf/rifle.conf -l $fx | fzf --header="Choose an application:" | cut -d':' -f1)
rifle -c $XDG_CONFIG_HOME/lf/rifle.conf -p $method $fx
method=$(rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -l $fx | fzf --header="Choose an application:" | cut -d':' -f1)
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p "$method" $fx
}}
cmd trash &{{
@ -135,8 +135,8 @@ cmd fzf ${{
cut -d "$delimiter" -f "$path_field" |
tr -d '\n'
)"
[ -d "$file" ] && lf -remote "send $id cd $file"
[ -f "$file" ] && lf -remote "send $id select $file"
[ -d "$file" ] && lf -remote "send $id cd '$file'"
[ -f "$file" ] && lf -remote "send $id select '$file'"
return 0
}}