- press pick plugin key
- navigate away from the plugin directory (to ~, say)
- try to open any file, fails
When we are in run plugin mode, but detect we are in a different
context or a non-plugin directory, just cancel the runplgin mode
and continue as usual.
It also cleans up the plugin run function.
* Implement plugins control of nnn + plugins
* Refactor plugins control code and fix getplugs to recognize hidden files
* Fix bug when going to dir on non-current context from plugin
* Fix some plugins to work on openbsd and freebsd
* Renamings
* Switch to -R flag in cp instead of -r; BSDs complain
* Change braces of function location
* Rewrite plugin creation in README and add new plugins to the table
* Update the fzcd script to include fzy or fzf
* Change plugin name resolve-link-dir -> lncd
* Fixing plugins README table
* Remove some cd plugins but add them as examples to plugins README
* Initial commit of sessions implementation
* Reduce code duplication
* Move load session to program flag -e
* Fix context initialization problem when loading session
* Add pinned directory to session and reduce session file size
* Make load_session print an error if exists and few minor adjustments
* Refactor session's file structure
* Initialize required structures in load_session before loading
* Add load session dynamically, restore last session, and extra fixes
* Fix indentation
* Add sessions documentation to man page
* Update fish completions with sessions and make some improvements
* Move to single keybinding session management and add help info
* ESC when asked to insert session name behaves better
* Add sessions completion for bash
* Remove pinned dir from session and minor code refactors