24 lines
528 B
TOML
24 lines
528 B
TOML
theme="peachpuff"
|
|
|
|
[editor.file-picker]
|
|
hidden = true
|
|
|
|
[editor]
|
|
line-number = "relative"
|
|
|
|
[editor.cursor-shape]
|
|
insert = "bar"
|
|
normal = "block"
|
|
select = "underline"
|
|
|
|
[keys.normal]
|
|
C-y = [
|
|
':sh rm -f /tmp/unique-file',
|
|
':insert-output yazi "%{buffer_name}" --chooser-file=/tmp/unique-file',
|
|
':sh printf "\x1b[?1049h\x1b[?2004h" > /dev/tty',
|
|
':open %sh{cat /tmp/unique-file}',
|
|
':redraw',
|
|
]
|
|
C-p = ":sh curl -s %sh{echo http://localhost:9134?file_name=%sh{pwd}/%{buffer_name}}"
|
|
C-l = ":pipe ~/send_data.sh '%{selection}'"
|