usage: sess [-hV] [NAME]
creates or attaches to a named tmux+vim session pair.
vim sessions must be stored in $VIM_SESSION_DIR ($HOME/.sess)
if a tmux session NAME exists, `sess NAME` attaches to that session.
else, a new tmux session NAME is launched. if a vim session exists
with that name in $VIM_SESSION_DIR, vi -S $VIM_SESSION_DIR/NAME is
launched (otherwise it is a standard session).
tip: use `ssh -t host@domain sess SESS` to launch a session over SSH.
tmux will automatically detach the session on exit, allowing the
session to be re-attached to on the next connection.
ENV
[VIM_SESSION_DIR=$HOME/.sess] - vim session storage location
INFO
-h --help display this help message and exit
-V --version display version and copyright information and exit
NAME:
- name of tmux and vim sessions. default is "default".
- name cannot begin with a hyphen.
jpcx.dev/sess 0.1.0
Copyright (C) 2023 Justin Collier <m@jpcx.dev>
License AGPLv3+: GNU Affero GPL version 3 or later
<https://gnu.org/licenses/agpl-3.0.html>. This is free
software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.