75% für die Vorschau
This commit is contained in:
parent
7596d8766f
commit
33270d380f
1 changed files with 1 additions and 1 deletions
2
hgh.py
2
hgh.py
|
@ -130,7 +130,7 @@ def find_anything(search):
|
|||
|
||||
def find_anything_fuzzy(search):
|
||||
os.chdir(config["sites"][args.site_name]["contentdir"])
|
||||
os.system("/usr/bin/rg -i --column --line-number --no-heading \'{search}\' . | fzf --bind 'f4:execute({editor} {{1}})' {bind_explorer} {preview} {preview_window} --with-nth=1.. -e --delimiter=':'".format(search=search, editor=config["settings"]["bin_editor"], preview="--preview 'batcat --style=full --color=always --line-range :500 {1}'", preview_window="--preview-window=top:50%:wrap", bind_explorer="--bind \'f3:execute(xdg-open \"$(dirname {})\")\'"))
|
||||
os.system("/usr/bin/rg -i --column --line-number --no-heading \'{search}\' . | fzf --bind 'f4:execute({editor} {{1}})' {bind_explorer} {preview} {preview_window} --with-nth=1.. -e --delimiter=':'".format(search=search, editor=config["settings"]["bin_editor"], preview="--preview 'batcat --style=full --color=always --line-range :500 {1}'", preview_window="--preview-window=top:75%:wrap", bind_explorer="--bind \'f3:execute(xdg-open \"$(dirname {})\")\'"))
|
||||
|
||||
def site_upload():
|
||||
remote_user = config["sites"][args.site_name]["remote_user"]
|
||||
|
|
Loading…
Reference in a new issue