Commit Graph

22 Commits

Author SHA1 Message Date
Zachary Yedidia
d6da2dfeca Pass the view into plugin callbacks 2016-08-25 16:35:03 -04:00
Zachary Yedidia
261748bd56 Add local settings for each buffer 2016-08-25 15:47:26 -04:00
Zachary Yedidia
dbdfef632e Add center action to center the view on the cursor 2016-08-24 15:48:11 -07:00
Zachary Yedidia
d6a7f6291a Plugin onAction return value should determine relocate 2016-08-24 10:02:06 -07:00
Zachary Yedidia
24076e7dff Auto indent on paste
Fixes #204
2016-08-23 14:48:28 -07:00
Zachary Yedidia
760d709c34 Remove auto indented spaces if the line is empty 2016-08-22 10:04:23 -07:00
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
4a0c48587a Split help into multiple files and add help command 2016-08-17 11:59:37 -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
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
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
76a9697a80 Use file completion for command mode 2016-07-24 16:38:37 -04:00
Zachary Yedidia
ba33802525 Use my fork of clipboard 2016-07-24 10:51:08 -04:00
Zachary Yedidia
02f78edaf9 Open help in a separate split 2016-07-14 13:01:02 -04:00
Zachary Yedidia
f2ec82520a Separate bindings and actions into two files 2016-07-10 13:30:28 -04:00