File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ ta = ../..
66cwd = $(shell pwd)
77docs : README.md
88README.md : init.lua
9- cd $(ta ) /scripts && ldoc --filter markdowndoc.ldoc $(cwd ) /$< > $( cwd ) / $@
10- sed -i -e ' 1,+4d ' -e ' 6c# Open File Mode ' -e ' 7d ' -e ' s/^##/#/; ' $@
9+ cd $(ta ) /scripts && ldoc --filter markdowndoc.ldoc $(cwd ) /$< -- --title= " Open File Mode " \
10+ --single > $( cwd ) / $@
1111
1212# Releases.
1313
Original file line number Diff line number Diff line change 11# Open File Mode
2- ---
32
43A Textadept module that extends the editor's ` ui.command_entry ` with a mode that can open
54files relative to the current file or directory.
5+
66Tab-completion is available.
77
88This is an alternative to Textadept's default File Open dialog.
99
1010Install this module by copying it into your * ~ /.textadept/modules/* directory or Textadept's
1111* modules/* directory, and then putting the following in your * ~ /.textadept/init.lua* :
1212
13- keys['alt+o'] = require('open_file_mode')
13+ ``` lua
14+ keys [' alt+o' ] = require (' open_file_mode' )
15+ ```
1416
1517Replace "alt+o" with the key you want to bind the function to. You can also create a menu
1618item with that function.
1719
18- ## Functions defined by ` ui.command_entry.open_file `
19-
2020<a id =" _G.ui.command_entry.open_file " ></a >
21- ### ` _G.ui.command_entry.open_file ` ()
21+ ## ` _G.ui.command_entry.open_file ` ()
2222
2323Opens the command entry in a mode that can open files relative to the current file or
2424directory.
25+
2526Tab-completion is available, and on Windows, Cygwin-style '/c/' root directories are supported.
2627If no file is ultimately specified, the user is prompted with Textadept's default File
2728Open dialog.
2829
2930
30- ---
31+
Original file line number Diff line number Diff line change 99-- Install this module by copying it into your *~/.textadept/modules/* directory or Textadept's
1010-- *modules/* directory, and then putting the following in your *~/.textadept/init.lua*:
1111--
12- -- keys['alt+o'] = require('open_file_mode')
12+ -- ```lua
13+ -- keys['alt+o'] = require('open_file_mode')
14+ -- ```
1315--
1416-- Replace "alt+o" with the key you want to bind the function to. You can also create a menu
1517-- item with that function.
You can’t perform that action at this time.
0 commit comments