{grep,make}.kak: use edit! instead of trying to delete buffer
This commit is contained in:
parent
a160fd6984
commit
3e9a0c4c13
|
@ -12,8 +12,7 @@ def -shell-params -file-completion \
|
|||
|
||||
if [[ -n "$kak_opt_toolsclient" ]]; then echo "eval -client '$kak_opt_toolsclient' %{"; fi
|
||||
|
||||
echo "try %{ db *grep* } catch %{}
|
||||
edit -fifo ${output} *grep*
|
||||
echo "edit! -fifo ${output} *grep*
|
||||
setb filetype grep
|
||||
hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output}) } }"
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@ def -shell-params make %{ %sh{
|
|||
|
||||
if [[ -n "$kak_opt_toolsclient" ]]; then echo "eval -client '$kak_opt_toolsclient' %{"; fi
|
||||
|
||||
echo "try %{ db *make* } catch %{}
|
||||
edit -fifo ${output} *make*
|
||||
echo "edit! -fifo ${output} *make*
|
||||
setb filetype make
|
||||
hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output}) } }"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user