Commit graph

538 commits

Author SHA1 Message Date
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
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 da70932d07 Merge pull request #200 from k33g/wip-golo-syntax
Add Gololang support
2016-07-30 16:00:34 -04:00
Philippe Charrière ad3031c95c To only use the colorscheme groups 2016-07-30 20:20:28 +02:00
Philippe Charrière 073ea1caa5 Add Gololang support 2016-07-30 18:38:55 +02: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
Zachary Yedidia e8a7989a92 Merge pull request #193 from timon999/master
Small improve for how Python's syntax highlighting handles string literals
2016-07-13 15:16:46 -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 95c0ffcc9a Merge pull request #191 from bvaudour/patch-1
Add lilypond syntax (http://lilypond.org/)
2016-07-12 09:10:36 -04:00
Benjamin VAUDOUR e5ed1b1983 Update of lilypond.micro
- full colorschemes-based
- accurate notes' detection
2016-07-12 07:35:43 +02: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
Benjamin VAUDOUR 7e16177291 Add lilypond syntax (http://lilypond.org/) 2016-07-11 12:14:07 +02: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 8f12c89de1 Add documentation for splits 2016-07-09 11:40:46 -04:00
Zachary Yedidia 271b127f79 Fix small glitch with splits 2016-07-09 11:29:22 -04:00
Zachary Yedidia 63ed39c55e Merge pull request #190 from onodera-punpun/patch-1
fish.micro: Add missing command, use constant.string
2016-07-06 13:42:49 -04:00
Camille 18500b8f2f fish.micro: Add missing command, use constat.string 2016-07-06 19:35:51 +02:00
Zachary Yedidia f01dc89171 Fix extra line being added with odd heights 2016-07-05 18:46:50 -04:00
Zachary Yedidia 3d3b76a31c Change default colorscheme to monokai
The monokai-tc colorscheme has been renamed to plain monokai and has
been made the default colorscheme. It is still a true color colorscheme,
but the automatic 256 color approximation is very good so it can be used
just fine in terminals which do not support true color.

If your terminal only supports 16 colors, used the 'default'
colorscheme.
2016-07-05 18:34:51 -04:00