Commit Graph

21 Commits

Author SHA1 Message Date
Zachary Yedidia
539d4b1167 Fix differences between selection with keys and with mouse
Fixes #89
2016-04-30 16:51:21 -04:00
Zachary Yedidia
e0f20fbb55 Fix selection bugs 2016-04-30 14:06:00 -04:00
Zachary Yedidia
f6393dd835 Use a map for settings instead of a struct
Using a map for the settings means that plugins will be able to create
their own settings at runtime.
2016-04-30 11:39:48 -04:00
Zachary Yedidia
18b0b3e97d Add bindings for shiftup and shiftdown 2016-04-28 21:00:46 -04:00
Zachary Yedidia
8e03e20055 Minor cleanup 2016-04-26 20:18:56 -04:00
Zachary Yedidia
6d2845ca35 Add mappings for ctrl keys 2016-04-26 20:14:58 -04:00
Zachary Yedidia
84a844994a Correct word movement behavior 2016-04-26 19:53:43 -04:00
Zachary Yedidia
6c99eea610 Improve WordRight and WordLeft bindings 2016-04-26 09:58:56 -04:00
Zachary Yedidia
e00e0cfa3f Starting to add more mappings for arrow keys
These mappings include Alt+arrows and Shift+arrows and Alt+Shift+arrows

This commit also switches the version of tcell that micro uses to my
fork which supports alt, shift, and ctrl + arrows.
2016-04-26 09:58:56 -04:00
Zachary Yedidia
0ee6be3d0f Use methods on view instead of functions for bindings 2016-04-24 18:32:18 -04:00
Zachary Yedidia
1d9d0c3a4d Fix PageUp and PageDown bindings
Fixes #72.
2016-04-24 14:40:30 -04:00
Zachary Yedidia
8807ede224 Added StartOfLine and EndOfLine actions
This commit also adds error reporting for invalid json.

Fixes #36.
2016-04-24 09:01:01 -04:00
Zachary Yedidia
d088b7c2df Merge pull request #71 from aerth/gofmt-2
gofmt-on-save redone for new bindings
2016-04-24 07:47:48 -04:00
aerth
7746952545 gofmt-on-save redone for new bindings 2016-04-24 01:48:51 +00:00
aerth
b39d383dac cut lines into clipboard 2016-04-24 01:29:09 +00:00
Zachary Yedidia
af3715d55d If system clipboard is unsupported, use internal clipboard instead
Fixes #65
2016-04-23 20:54:52 -04:00
Zachary Yedidia
77853ec6b6 Use my fork of clipboard 2016-04-23 20:52:26 -04:00
Zachary Yedidia
93c3a503ea Use default binding for key if not specified 2016-04-23 19:03:24 -04:00
Zachary Yedidia
fa82fc2b74 Add delete key binding
Fixes #54
2016-04-23 18:58:02 -04:00
Zachary Yedidia
94c0f576e1 Load and save key bindings from bindings.json 2016-04-23 18:43:09 -04:00
Zachary Yedidia
2adaf68bd4 Rework the bindings as keys bound to actions 2016-04-23 18:25:08 -04:00