cd dotfiles
sh setup.sh
ts -> Create new session (specify name)
taa -> Attach to recent session
ta -> Attach to session (specify name)
tl -> List running sessions
Recommend reading the documentation as there's a lot of fun here, but here are some frequently used options
CTRL + R
-> Fuzzy search command history
CTRL + T
-> Fuzzy search files/directories
fzf --preview 'cat {}'
will open a separate window to show the contents of files as you search them in real time
vim **<TAB>
will fuzzy search files then open in vim
Nearly all vim commands and tricks are available
By default, ESC will switch to Normal mode, but this can be changed in $(antidote home)/jeffreytse/zsh-vi-mode/zsh-vi-mode.zsh
TPope's Surround plugin is also included, for example :
ds" -> Delete " around text object
cs"' -> Change " to '
ys" -> Add " to visual selection (v to enter visual mode, then select text object)
vi" -> Select text object inside "
va" -> Select text object including "
If you prefer to use a standard vim session to edit commands, vv
in Normal mode can help.