Zachary Yedidia
671a188802
Support +LINE:COL flag syntax for cursor pos
...
Closes #1566
2020-03-24 10:10:44 -04:00
Zachary Yedidia
9e8d76f2fa
If stdout is a pipe, output to the pipe
...
If you run micro as `micro | cat` for example, micro will disallow
you from saving the file, and when you quit the buffer, the contents
will be sent to the pipe. This allows one to use micro as part of
an interactive unix pipeline.
Closes #1524
2020-02-27 12:39:19 -05:00
Zachary Yedidia
1a64ffb88b
Don't expose draw channel to outside packages
2020-02-11 20:39:26 -05:00
Zachary Yedidia
34724b941a
Recover from internal errors without crashing
2020-02-11 00:50:24 -05:00
Zachary Yedidia
c3d120ccdf
Fix errcheck in clean
2020-02-09 00:42:16 -05:00
Zachary Yedidia
13e30a63eb
Minor improvements
2020-02-09 00:40:50 -05:00
Zachary Yedidia
8a907956d1
Use actual lua functions for callbacks instead of strings
2020-02-08 15:49:41 -05:00
Zachary Yedidia
f6a9c482a6
Allow plugins to resize panes
2020-02-05 17:16:31 -05:00
Zachary Yedidia
6e3f38b271
Add scrolling to command bar autocompletion
2020-02-02 20:17:46 -05:00
Zachary Yedidia
6a1b8f4a4f
Add option to clean unused settings and other parts of config
2020-02-02 15:30:06 -05:00
Zachary Yedidia
dba8ef2fdd
Use namespaces for plugin options
2020-02-02 14:35:30 -05:00
Zachary Yedidia
b0624cb66e
Add support for plugin manager within micro
2020-02-02 14:20:39 -05:00
Zachary Yedidia
bcb1947a0a
Add plugin manager
2020-02-01 23:54:38 -05:00
Zachary Yedidia
b0b5d7b392
Add CurPane and CurTab functions for plugins
2020-02-01 12:20:08 -05:00
Zachary Yedidia
f731e422ea
Improve lua interface
2020-01-31 14:21:27 -05:00
Zachary Yedidia
d326a9cddd
Merge
2020-01-31 00:56:20 -05:00
Zachary Yedidia
e3131a0779
Add text event callback
2020-01-31 00:56:15 -05:00
Zachary Yedidia
35e3bddea0
Modify linter and add plugin cmd
2020-01-30 17:51:04 -05:00
Zachary Yedidia
03228762d4
Don't call plugin if nil
2020-01-28 22:06:58 -05:00
Zachary Yedidia
953f5a0eff
Highlight in parallel
2020-01-28 20:54:14 -05:00
Zachary Yedidia
b3e40a2644
Make debug mode flag, plugins can access logbuf
2020-01-15 22:25:08 -05:00
Zachary Yedidia
ddc8bf455e
Set filetype to 'off' to disable completely
...
Ref #1427
2020-01-02 19:00:42 -05:00
Zachary Yedidia
0bf54ff0e7
Don't crash if only file to open is directory
2020-01-02 15:25:07 -05:00
Zachary Yedidia
a2f7080602
Raw event support with new tcell
2019-12-31 22:34:43 -05:00
Zachary Yedidia
0301e3539e
Use upstream updated zyedidia tcell
2019-12-31 20:15:45 -05:00
Zachary Yedidia
6632ab0a77
Switch to gdamore/tcell
2019-12-31 17:53:16 -05:00
Zachary Yedidia
ff24ad5fa8
Fix race condition with events channel
2019-12-29 18:53:59 -05:00
Zachary Yedidia
f3778baaf4
SetGlobalOption access for plugins
2019-12-28 23:40:44 -05:00
Zachary Yedidia
34619e111f
Add GetGlobalOption access for plugins
2019-12-28 22:48:38 -05:00
Zachary Yedidia
fc706bc404
No backups for no name files
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c4d5d7c195
Better backup behavior
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5075c91fd4
Fix rebase issue
2019-12-25 17:05:11 -05:00
Zachary Yedidia
6f6b263d10
Add some plugin functions
2019-12-25 17:05:11 -05:00
Zachary Yedidia
b68461cf72
Terminal plugin callback support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
7217911c3a
Add macro and QuitAll support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
24eb6fee25
Add buftype access for plugins
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c0293b5d0e
Add autosave option
2019-12-25 17:05:11 -05:00
Zachary Yedidia
bc6dd990e5
Improve gutter messages
2019-12-25 17:05:11 -05:00
Zachary Yedidia
9eed8bc247
Remove local settings
2019-12-25 17:05:11 -05:00
Zachary Yedidia
763e635fea
Add literate plugin support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
fc4811c1ab
Add comment plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
be136a4648
Full extensible linter support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
4027081e0e
Add linter plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
e7e0272968
Jobs and gutter messages for plugins
2019-12-25 17:05:10 -05:00
Zachary Yedidia
e3ae38e54a
Autoclose plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
576036f251
Update ftoptions and statusline plugin configuration options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
55e33badd0
Add readonly option
2019-12-25 17:05:10 -05:00
Zachary Yedidia
bf15f5c585
Support filetype option as command line option
2019-12-25 17:05:10 -05:00
Zachary Yedidia
aa305c2676
Implement buffer opening at a location
2019-12-25 17:05:10 -05:00
Zachary Yedidia
f5f4154d4c
Fix some search bugs
2019-12-25 17:05:10 -05:00