Zachary Yedidia
e2efc963b7
Simplify IsDirty check
2016-05-14 12:04:13 -04:00
Zachary Yedidia
31567c9e15
Add linter option
2016-05-05 12:53:28 -04:00
Zachary Yedidia
59e71a4a0c
Improved error parsing and use warnings for golint instead of errors
2016-05-05 12:53:27 -04:00
Zachary Yedidia
05e2886dca
Fix build error
2016-05-05 12:53:27 -04:00
Zachary Yedidia
a262530217
Fix gutter message line counting
2016-05-05 12:53:27 -04:00
Zachary Yedidia
30c7a9c4a5
Refine gutter messages and add go build checking to go plugin
2016-05-05 12:53:27 -04:00
Zachary Yedidia
d933efc53d
Add hooks for every action that's bindable
2016-05-05 12:53:26 -04:00
Zachary Yedidia
a333f0ade2
Add default plugins, and install go plugin by default
2016-05-05 12:53:26 -04:00
Zachary Yedidia
eba820a9c7
Rewrite gofmt and goimports as plugins
2016-05-05 12:53:07 -04:00
Zachary Yedidia
e05e993e25
Interface with plugin.lua file
2016-05-05 11:31:59 -04:00
Zachary Yedidia
87d9221a73
Small optimization
2016-05-05 11:23:20 -04:00
Zachary Yedidia
5aace36618
Update screenshot and status line
2016-05-03 18:54:01 -04:00
Zachary Yedidia
07d8a08422
Use tcell's EventPaste to capture paste from the OS
...
This commit uses the recent commit to zyedidia/tcell to capture paste
events from the OS.
Fixes #60
Fixes #61
2016-05-02 11:16:03 -04:00
Zachary Yedidia
012668146c
Remove unnecessary check for selection
2016-04-30 16:56:48 -04:00
Zachary Yedidia
539d4b1167
Fix differences between selection with keys and with mouse
...
Fixes #89
2016-04-30 16:51:21 -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
536c96237c
Merge branch 'gutter-messages'
2016-04-27 12:33:45 -04:00
Zachary Yedidia
53249c46f5
Support different types of gutter messages
2016-04-27 12:33:33 -04:00
Zachary Yedidia
e1e441f588
Merge branch 'elementary-mouse'
2016-04-27 11:23:47 -04:00
Zachary Yedidia
cf8de5e11d
Simple support for gutter messages
2016-04-27 11:22:57 -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
20ab7a44ab
Relocate cursor on reOpen()
2016-04-24 17:26:42 -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
2adaf68bd4
Rework the bindings as keys bound to actions
2016-04-23 18:25:08 -04:00
Zachary Yedidia
7365f0f785
Fix selection highlighting
2016-04-22 19:31:50 -04:00
Zachary Yedidia
3d76898afe
Fix elementary mouse issue
...
Fixes #34
This commit requires a modification to tcell before it will work.
2016-04-22 19:12:32 -04:00
Zachary Yedidia
fedb8b03da
Fix horizontal scrolling
...
Fixes #59
2016-04-22 18:50:01 -04:00
aerth
0440ca45cd
Toggle line numbers
2016-04-22 20:02:26 +00:00
Zachary Yedidia
acabfcb8bb
Expand ~ in file opening
2016-04-22 09:23:01 -04:00
Zachary Yedidia
15dbf37154
Possible fix for elementary mouse issue
2016-04-22 09:11:44 -04:00
Zachary Yedidia
568f638e70
Add nicer deleting for soft tabs
2016-04-21 19:15:46 -04:00
Zachary Yedidia
6d3344e4bd
Add auto indent
2016-04-20 21:47:52 -04:00
Zachary Yedidia
6aab17f445
Set last visual x after SetLoc is called
...
Fixes #46
2016-04-20 20:03:53 -04:00
Zachary Yedidia
3b4521e9c6
Remove unused syntax highlighting code and optimize IsDirty()
2016-04-20 13:52:10 -04:00
Zachary Yedidia
89493a3e80
Merge
2016-04-20 12:50:36 -04:00
Zachary Yedidia
b5b84d9068
Don't adjust mouse coordinates
...
Fixes #23
2016-04-20 12:50:13 -04:00
Zachary Yedidia
c767b3dc0c
Add OpenBuffer() function to View
...
Fixes #43
2016-04-19 18:58:52 -04:00
Zachary Yedidia
f0ad01d1ec
Add option to save and quit
...
Fixes #40
2016-04-19 13:16:08 -04:00
Zachary Yedidia
c264fec472
Fix end key behavior
...
Fixes #28
2016-04-18 21:24:15 -04:00
Zachary Yedidia
d10c401a97
Change the help binding to Ctrl-g from Ctrl-h
...
This is necessary because some terminals send Backspace and Ctrl-h as
the same key, so Ctrl-h must be reserved for deleting. See #8 .
2016-04-18 16:28:53 -04:00
Zachary Yedidia
84d353838c
Add bindings for Home and End keys
...
See #21
2016-04-18 14:02:39 -04:00
Zachary Yedidia
c7f8584d84
Add tabsToSpaces option
2016-04-18 13:01:39 -04:00
Zachary Yedidia
fa7808b4ae
Prevent panic if mouse y coordinate is below 0
...
See #7
2016-04-18 11:54:32 -04:00
aerth
337f162360
now is go gettable and updated make file
2016-04-18 10:59:41 +00:00