Commit Graph

293 Commits

Author SHA1 Message Date
Zachary Yedidia
d17cc0f628 Add boolean option to actions to disable the lua callback 2016-08-17 14:16:27 -04:00
Zachary Yedidia
8a58506c72 Add much better autocompletion for commands 2016-08-17 13:49:37 -04:00
Zachary Yedidia
932370f597 Add current-line-number colors to all colorschemes 2016-08-17 12:49:11 -04:00
Zachary Yedidia
70c3d42f9c Update runtime.go 2016-08-17 11:59:38 -04:00
Zachary Yedidia
6777419dc4 Don't open a new split if help is already open 2016-08-17 11:59:37 -04:00
Zachary Yedidia
4a0c48587a Split help into multiple files and add help command 2016-08-17 11:59:37 -04:00
Zachary Yedidia
cb79e08f19 Minor fix to current line num style 2016-08-17 11:59:29 -04:00
Zachary Yedidia
1e26aaed3c Merge pull request #209 from onodera-punpun/coloredline
Add colored current line number option
2016-08-16 22:03:07 -04:00
Zachary Yedidia
563484ffc9 Clean up go plugin 2016-08-16 13:52:42 -04:00
Zachary Yedidia
b42aba05a0 Fix recursive issue with go plugin 2016-08-16 13:46:33 -04:00
Zachary Yedidia
ed31d37e74 Change plugin callbacks to not only happen when a keybinding triggers the action 2016-08-16 11:43:36 -04:00
Zachary Yedidia
de9567322b Rebind Home and End to StartOfLine and EndOfLine
This commit changes the default keybindings for Home and End. It
also changes the InsertEnter action to InsertNewline (a better name)
although InsertEnter is still valid for backwards compatibility.

Closes #206
2016-08-16 10:55:04 -04:00
Camille Scholtz
e38e1c9dff Add colored current line number option 2016-08-15 22:35:40 +02:00
Zachary Yedidia
899b6a4a24 User plugins should replace default plugins
Fixes #208
2016-08-14 15:29:02 -04:00
Zachary Yedidia
632e4312d5 Syntax highlighting optimization 2016-08-13 21:28:52 -04:00
Zachary Yedidia
28897c01ea Add HandleCommand and HandleShellCommand to plugin api 2016-08-13 11:44:30 -04:00
Zachary Yedidia
1b9ae5706e Minor update 2016-08-11 17:35:40 -04:00
Zachary Yedidia
096a403d52 Set parents correctly on split nodes 2016-08-11 16:59:06 -04:00
Zachary Yedidia
7c13dee33d Small fix to splits 2016-08-11 16:52:50 -04:00
Zachary Yedidia
61536326ca Fix statusline and tabbar offsets 2016-08-11 13:50:59 -04:00
Zachary Yedidia
bd55c5f834 Add ability to delete splits 2016-08-11 11:27:32 -04:00
Zachary Yedidia
cbbe312762 Add split_tree and ability to create splits 2016-08-11 10:45:35 -04:00
Zachary Yedidia
2cbd9428aa Remove current implementation of splits 2016-08-10 15:28:23 -04:00
Zachary Yedidia
5a005e36b6 Small fix to OutdentSelection 2016-08-08 13:11:34 -05:00
Zachary Yedidia
c409f1cc07 Bind OutdentSelection to ShiftTab (Backtab)
I was under the impression that tcell couldn't detect shift tab
key presses, but this was incorrect. It turns out that tcell just
calls it backtab. This commit makes backtab the default binding
for OutdentSelection.

See #203
2016-08-07 21:41:12 -04:00
Zachary Yedidia
586a66b3a4 Bindings for IndentSelection and OutdentSelection
Tab is now bound to both IndentSelection and InsertTab.

There is currently no binding for OutdentSelection (the user can
bind that to their liking). Hopefully in the future it can be bound
to shift-tab but tcell does currently support that.

Closes #203
2016-08-07 19:45:35 -04:00
Zachary Yedidia
5da6b31b9c Pressing tab on a selection indents the selection
See #203
2016-08-02 18:30:36 -04:00
Zachary Yedidia
204a763dff Remove backspace prompt cancelation
Fixes #202
2016-08-02 09:45:41 -04:00
Zachary Yedidia
5444ad50c4 Add gololang to pre installed syntax files 2016-07-30 16:01:46 -04:00
Zachary Yedidia
76a9697a80 Use file completion for command mode 2016-07-24 16:38:37 -04:00
Zachary Yedidia
431eb12c96 Add tab command to open a file in a new tab 2016-07-24 16:29:03 -04:00
Zachary Yedidia
ddcebe4946 Fix issue with autoclose plugin 2016-07-24 16:19:41 -04:00
Zachary Yedidia
ba33802525 Use my fork of clipboard 2016-07-24 10:51:08 -04:00
Zachary Yedidia
cfd97b21ad Fix small horizontal scrolling glitch 2016-07-23 11:58:28 -04:00
Zachary Yedidia
c7b84a7eaa Rehighlight a split as soon as it is opened
I think this might fix the problem in #198, but I can't seemd to
reproduce it.
2016-07-19 20:15:23 -04:00
Zachary Yedidia
e890c878f3 Add separator characters between splits
Fixes #196
2016-07-15 17:38:42 -04:00
Zachary Yedidia
eba501e095 Highlight plist as XML
See #197
2016-07-15 17:29:36 -04:00
Zachary Yedidia
47940d3ffd Recompile runtime.go
Fixes #195
2016-07-14 15:39:15 -04:00
Zachary Yedidia
92c28d81b9 Add preAction plugin callbacks which can return false to cancel the action 2016-07-14 13:53:38 -04:00
Zachary Yedidia
1c077247f6 Merge 2016-07-14 13:01:10 -04:00
Zachary Yedidia
02f78edaf9 Open help in a separate split 2016-07-14 13:01:02 -04:00
Timon Böhler
ce5a867286 Changed Python syntax file to use Go's regex for matching string literals (which also works for empty strings) 2016-07-13 21:03:16 +02:00
Zachary Yedidia
abd36649c9 Update runtime and syntax file listing 2016-07-12 09:12:07 -04:00
Zachary Yedidia
7ae0310863 Fix draw ordering 2016-07-11 19:10:29 -04:00
Zachary Yedidia
a15c6ede81 Rewrite view display function 2016-07-11 15:35:50 -04:00
Zachary Yedidia
f2ec82520a Separate bindings and actions into two files 2016-07-10 13:30:28 -04:00
Zachary Yedidia
50e22dafc4 Add some lines back 2016-07-10 13:27:28 -04:00
Zachary Yedidia
8c0983a36c Add some more comments 2016-07-10 13:26:24 -04:00
Zachary Yedidia
6489f4b6e8 Merge pull request #185 from zyedidia/splits
Splits
2016-07-09 11:41:53 -04:00
Zachary Yedidia
271b127f79 Fix small glitch with splits 2016-07-09 11:29:22 -04:00