Metadata-Version: 2.1
Name: xontrib-simplejump
Version: 0.6.0
Summary: The simplest way to jump between directories.
Home-page: https://git.fmind.me/fmind/xontrib-simplejump
Author: Médéric Hurier
Author-email: dev@fmind.me
License: EUPL-1.2
Keywords: xontrib autojump directory
Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: Environment :: Console
Classifier: Operating System :: POSIX
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dist
Requires-Dist: xonsh
Provides-Extra: dist
Requires-Dist: setuptools; extra == 'dist'
Requires-Dist: twine; extra == 'dist'
Requires-Dist: wheel; extra == 'dist'

# simplejump

## Overview

The simplest way to jump between directories.

## Installation

```bash
pip install xontrib-simplejump
```

## Motivation

I wanted a simple and efficient alternative to z, fasd and other jump scripts.

simplejump algorithm:

- **on directory change**: associate the base name to the full path of a dir in simplejump dict
- **on user search**: return the exact match or the smaller partial match from simplejump dict
- **on tabcomplete**: return the list of simplejump dict keys that match the command prefix
- **on shell init**:  load the dict from simplejump file or an empty dict
- **on shell exit**: store the dict in simplejump file using json format

simplejump design:
- keys/names are case insensitive, values/paths are case sensitive

simplejump vars:

- **simplejump file**: $SIMPLEJUMP_FILE
- **simplejump dict**: $SIMPLEJUMP_DICT

simplejump file:

- **simplejump file**: ~/.simplejump

## Example

```bash
simplejump [DIR]
```


