Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orbitalquark/textadept-open-file-mode
A Textadept module that extends the editor's Command Entry with a mode that can open files relative to the current file or directory. Tab-completion is available.
https://github.com/orbitalquark/textadept-open-file-mode
textadept textadept-module
Last synced: about 2 months ago
JSON representation
A Textadept module that extends the editor's Command Entry with a mode that can open files relative to the current file or directory. Tab-completion is available.
- Host: GitHub
- URL: https://github.com/orbitalquark/textadept-open-file-mode
- Owner: orbitalquark
- License: mit
- Created: 2020-10-07T17:27:16.000Z (about 4 years ago)
- Default Branch: default
- Last Pushed: 2024-08-27T13:58:07.000Z (4 months ago)
- Last Synced: 2024-08-27T15:25:45.552Z (4 months ago)
- Topics: textadept, textadept-module
- Language: Lua
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open File Mode
---A Textadept module that extends the editor's `ui.command_entry` with a mode that can open
files relative to the current file or directory.
Tab-completion is available.This is an alternative to Textadept's default File Open dialog.
Install this module by copying it into your *~/.textadept/modules/* directory or Textadept's
*modules/* directory, and then putting the following in your *~/.textadept/init.lua*:keys['alt+o'] = require('open_file_mode')
Replace "alt+o" with the key you want to bind the function to. You can also create a menu
item with that function.## Functions defined by `ui.command_entry.open_file`
### `_G.ui.command_entry.open_file`()Opens the command entry in a mode that can open files relative to the current file or
directory.
Tab-completion is available, and on Windows, Cygwin-style '/c/' root directories are supported.
If no file is ultimately specified, the user is prompted with Textadept's default File
Open dialog.---