Any system with cargo
installed, can simply get sidetree by running
cargo install sidetree
Very simple integration with kakoune in tmux:
def sidetree %{
$ tmux split-window -hb -t 1 -l 30 sidetree -s %val[buffile]
}
map -docstring 'sidetree' global user <tab> ': sidetree<ret>'
Currently requires kcr
Commands can be placed in ~/.config/sidetree/sidetreerc
, one command per line:
set show_hidden false
set quit_on_open false
set open_cmd 'kcr edit "$sidetree_entry"; kcr focus'
map <c-c> quit
map H cd ..
map L cd
map / shell kcr send cd "$sidetree_entry"
map
command