sidetree 0.3.0

TUI file tree for usage with terminal text editors
sidetree-0.3.0 is not a library.
Visit the last successful build: sidetree-0.10.1

A TUI File tree panel

image

Installation

Any system with cargo installed, can simply get sidetree by running

cargo install sidetree

Example integration

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

Configuration

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"

TODO

  • Proper symlink handling
  • Custom key maps, map command
  • More navigation commands
  • Custom commands and aliases
  • Better script parsing
    • Comments
    • Blocks
  • Custom formatting
  • Git integration
    • Gitignore
    • Git status
  • File icons by extension
  • Better prompt keybinds and cursor movements
  • IPC for two way syncing