- Slash 81%
- Shell 19%
| aur | Typo correction et al. | |
| bin | Initial commit | |
| img | Initial commit | |
| src | Increase verbosity | |
| LICENSE | Initial commit | |
| README.md | Move SPDX stanza to a separate line | |
JedState
Hooks for the JED editor to remember its cursor position across invocations.
Installation
ArchLinux
ArchLinux user can install AUR/jedstate-git using an AUR helper, and follow the on-screen instructions.
Manual installation
- Put the
jedstate.slfile in a place where jed can find it, e.g.$JED_ROOT/lib/(/usr/lib/jed/lib/). If you do not have write access to$JED_ROOT, simply appendjedstate.slto your~/.jedrc. - Append the
jedstate-hooks.slfile to your existing~/.jedrcfile. If you are already usingstartup_hook()and/orexit_hook()you may have to edit these to something that resembles the sample hooks.
JedState stores its state files in the directory pointed to by $JED_STATE_HOME, creating it if necessary. JedState will try these locations:
$JED_STATE_HOME$XDG_STATE_HOME/jed$HOME/.local/state/jed
You can use something like /dev/shm/$USER/jed if you do not wish to keep the state files across reboots.
Requirements
jed/xjed
License
JedState is released under the GNU Affero Public License v3 or later.
SPDX-License Identifier: AGPL-3.0-or-later
Bugs
Should you wish to report a bug or file an enhancement request, please visit https://codeberg.org/kas/jedstate/issues
Notes
JedState was conceived in 1996 and originally implemented in C. A later incarnation was implemented in Python. The current implementation is using jed's builtin scripting language, S-Lang, and has no external dependencies.
JedState has only been tested on Linux probably require a unix-like environment.