Commit graph

2701 commits

Author SHA1 Message Date
Zachary Yedidia
603cec9d81 Load plugins from ~/.config/micro/plugins 2016-05-05 12:53:07 -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
f6dc983823 Optimization for buffer text
We no longer store a string representation of the buffer and instead
directly access it through the rope
2016-05-04 12:43:17 -04:00
Zachary Yedidia
c163aaa895 Small fix to relocation 2016-05-04 07:24:33 -04:00
Zachary Yedidia
5e1a1ec003 Merge pull request #94 from aerth/line-jump
Add Ctrl+L jump to line #, JumpLine()
2016-05-04 07:22:10 -04:00
aerth
896ade2041
Add Ctrl+L jump to line #, JumpLine()
Converts input to integer
	Returns error if any
	Only jumps to possible lines
	Returns number of lines available
2016-05-04 07:48:28 -07:00
Zachary Yedidia
5aace36618 Update screenshot and status line 2016-05-03 18:54:01 -04:00
Zachary Yedidia
cf2db5dfe7 Add R syntax file
Closes #91
2016-05-02 15:01:46 -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
4ca6e65197 Default setting for tabsize should be float64 not int
Fixes #92
2016-05-02 07:23:08 -04:00
Zachary Yedidia
48a17a508d Use hash for savedText instead of full string 2016-05-01 19:07:54 -04:00
Zachary Yedidia
efb4b5e899 Don't store buffer in text event 2016-05-01 16:45:23 -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
9ad2820e5e Change selection color in solarized colorscheme 2016-04-30 15:32:33 -04:00
Zachary Yedidia
92b135d8c6 Merge 2016-04-30 15:02:42 -04:00
Zachary Yedidia
56cdfcfe46 If a setting is not defined, use the default, not the zero value 2016-04-30 15:02:33 -04:00
Zachary Yedidia
4b72846efa Add bsd binaries to readme 2016-04-30 14:12:54 -04:00
Zachary Yedidia
e0f20fbb55 Fix selection bugs 2016-04-30 14:06:00 -04:00
Zachary Yedidia
c3598fd8bd Merge 2016-04-30 12:43:46 -04:00
Zachary Yedidia
ebf91a7432 Constrain help text to 80 columns 2016-04-30 12:43:40 -04:00
Zachary Yedidia
ac76df1484 Merge pull request #87 from aerth/bindings-help
Add json bindings to doc
2016-04-30 11:46:30 -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
aerth
8936d8f675
Add json bindings to doc 2016-04-30 08:33:04 -07:00
Zachary Yedidia
19d2d20689 Update readme 2016-04-29 10:14:29 -04:00
Zachary Yedidia
5d6e299438 Merge 2016-04-28 21:00:50 -04:00
Zachary Yedidia
18b0b3e97d Add bindings for shiftup and shiftdown 2016-04-28 21:00:46 -04:00
Zachary Yedidia
b6195721ac Update readme and help 2016-04-28 15:05:53 -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
80755dcf31 Improve word movement behavior 2016-04-27 10:44:36 -04:00
Zachary Yedidia
957e97dfb0 Update makefile 2016-04-26 21:23:52 -04:00
Zachary Yedidia
6576dcc168 Merge branch 'arrow-bindings' 2016-04-26 21:15:08 -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
269f15d88f Also use KeyBackspace for deleting in prompt
Fixes #78
2016-04-26 09:44:08 -04:00
Zachary Yedidia
75d2708b13 Merge 2016-04-25 14:15:37 -04:00
Zachary Yedidia
a945734db7 Update help 2016-04-25 14:15:33 -04:00
Zachary Yedidia
d00a599d73 Merge pull request #74 from harishnavnit/master
Move the cursor to the start and end of line using "Home" and "End"
2016-04-25 07:25:13 -04:00
R. Harish Navnit
94b71931bc Make the Home and End key presses point the cursor to the start and end of a line, respectively 2016-04-25 14:30:52 +05:30
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
e1c1372f8f Add check flag for search and replace 2016-04-24 17:08:40 -04:00