Zachary Yedidia
bdf9e6d3a4
Merge branch 'diff-gutter' of https://github.com/p-e-w/micro
2020-02-10 00:28:43 -05:00
Zachary Yedidia
63046ae909
Don't autocomplete in the middle of a word
...
Fixes #1490
2020-02-09 16:46:53 -05:00
Zachary Yedidia
af48e4b79b
Fix save callbacks
...
Fixes #1491
2020-02-09 16:36:15 -05:00
Zachary Yedidia
4e73d0779b
Create bindings.json if it does not exist
2020-02-09 16:27:39 -05:00
Zachary Yedidia
13e30a63eb
Minor improvements
2020-02-09 00:40:50 -05:00
Zachary Yedidia
6d99d34eb0
Fix unsplit crash
...
Fixes #1488
2020-02-08 21:06:13 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Zachary Yedidia
6514b77e0d
Enable autosave option
...
The autosave option is now specified as an integer, which denotes
the number of seconds to wait between saving the file. If the option
is 0, then autosaving is disabled. If the option is given by the user
as a boolean, it will be converted to 8 if true, and 0 if false.
Fixes #1479
2020-02-08 16:53:08 -05:00
Zachary Yedidia
8a907956d1
Use actual lua functions for callbacks instead of strings
2020-02-08 15:49:41 -05:00
Philipp Emanuel Weidmann
de33eac058
Add diff gutter
2020-02-08 13:26:24 +05:30
Zachary Yedidia
24a684cff2
Merge branch 'master' of https://github.com/dbeef/micro into dbeef-master
2020-02-07 19:37:56 -05:00
Zachary Yedidia
b4e7e981f3
Support paste action in terminal
2020-02-07 19:17:17 -05:00
Zachary Yedidia
a52c0c2907
Add StartOfText options to multiactions
2020-02-06 17:10:32 -05:00
Zachary Yedidia
be7d27bc49
Action callbacks for lua actions
2020-02-06 11:12:34 -05:00
Zachary Yedidia
f6a9c482a6
Allow plugins to resize panes
2020-02-05 17:16:31 -05:00
Zachary Yedidia
8483f1da1e
Make curpane only return bufpanes
2020-02-02 17:12:50 -05:00
Zachary Yedidia
28ed47e358
Fix cycleback in infopane
2020-02-02 16:16:53 -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
866b3c9238
Resize tabbar properly
...
Ref #1467
2020-01-26 00:44:34 -05:00
Zachary Yedidia
3252324d24
Don't indent empty lines
...
Fixes #1472
2020-01-26 00:40:40 -05:00
Zachary Yedidia
cf41a587a3
Split the actions StartOfLine and StartOfText
...
The default keybindings now use StartOfText which moves the cursor
to the start of the text on the current line instead of the actual
start of the line (if the line begins with whitespace).
Fixes #1468
2020-01-25 13:02:13 -05:00
Zachary Yedidia
b658f94e5a
Change ctrl-arrow default binding for non-Mac OSes
...
On non-Mac operating systems, the default for CtrlLeft/CtrlRight
is now WordLeft and WordRight instead of moving the cursor to the
start and end of lines (now rebound to Alt-Left/Right by default).
Default keybindings are unchanged on Mac.
Fixes #1465
2020-01-20 22:35:00 -05:00
Zachary Yedidia
0abe427026
Make readonly and filetype local-only
2020-01-20 22:03:32 -05:00
Zachary Yedidia
6a465500bc
Properly handle empty args with new shellquote lib
...
Fixes #1454
2020-01-06 11:38:21 -05:00
Zachary Yedidia
d234e9ec41
Add cycleautocompleteback action
2020-01-04 15:51:15 -05:00
Zachary Yedidia
dfb6bc0312
Fix save callback issue
2020-01-03 17:38:50 -05:00
Zachary Yedidia
ddc8bf455e
Set filetype to 'off' to disable completely
...
Ref #1427
2020-01-02 19:00:42 -05:00
Zachary Yedidia
2855ae204c
Replace shellwords with shellquote
2020-01-02 18:30:51 -05:00
Zachary Yedidia
50ff45c213
Some documentation updates
2020-01-02 15:10:28 -05:00
Zachary Yedidia
dc4da37908
Add "paste" option to enable aggressive pasting
...
Ref #1043
2020-01-02 12:42:39 -05:00
Zachary Yedidia
e98be1a1e5
Update deps
2020-01-01 20:44:45 -05:00
Zachary Yedidia
a2f7080602
Raw event support with new tcell
2019-12-31 22:34:43 -05:00
Zachary Yedidia
a2916c0e32
Escape sequence support
2019-12-31 21:50:26 -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
2c72a3755c
Fix openbuffer view creation
2019-12-31 17:52:55 -05:00
Zachary Yedidia
d83b912b3b
Add xclip message for pasting if unsupported
2019-12-31 16:12:39 -05:00
Zachary Yedidia
3b66a3364c
Fix some formatting
2019-12-29 22:02:14 -05:00
Zachary Yedidia
9b03a3dc6d
Add message if xclip/xsel not found
...
Ref #1236
Fixes #1031
2019-12-29 21:43:29 -05:00
Zachary Yedidia
5180634947
Merge
2019-12-29 18:23:22 -05:00
Zachary Yedidia
da643a0c1f
Run action completion on saves with prompts at the right time
2019-12-29 18:23:17 -05:00
Zachary Yedidia
cd6765673f
Support tcell EventPaste
2019-12-29 13:45:08 -05:00
Zachary Yedidia
c2e7fd34a7
Fix issues related to tabbar/infobar mouse events
...
Fixes #1440
2019-12-28 15:56:56 -05:00
Zachary Yedidia
bd0c172667
Improve mouse selection performance
2019-12-28 12:04:43 -05:00
Zachary Yedidia
b1efabaaed
Command binding fix
2019-12-27 00:43:45 -05:00
Zachary Yedidia
185d54d664
Search and replace fixes
2019-12-27 00:06:02 -05:00
Zachary Yedidia
6681387b47
Support for file reloading if changed externally
2019-12-26 17:59:23 -05:00
Zachary Yedidia
6ba66320f0
Don't forward tabbar mouse events to panes
...
Fixes #1435
2019-12-26 17:02:02 -05:00
Zachary Yedidia
ec2976b069
Scroll up as much as possible
...
Fixes #1434
2019-12-26 16:57:09 -05:00