Commit Graph

143 Commits

Author SHA1 Message Date
Zachary Yedidia
df684ec505 Store cursor and eventhandler in buffer instead of view
This is better design because the cursor and eventhandler are things the
buffer should know about directly but the view shouldn't. This should
make it easier to add persistent undo or location saving between
sessions (see #107).
2016-05-22 15:01:02 -04:00
Zachary Yedidia
0673396335 Merge branch 'duplicate' of https://github.com/onodera-punpun/micro into onodera-punpun-duplicate 2016-05-20 09:46:54 -04:00
Zachary Yedidia
009792b6b1 Fix ctrl modifiers 2016-05-20 09:41:00 -04:00
Zachary Yedidia
3d6eba376d Merge 2016-05-20 09:19:28 -04:00
Zachary Yedidia
ebaad9b00c Use the new and updated version of tcell 2016-05-20 09:19:25 -04:00
Camille Scholtz
81e1a6e157 Give shortcuts more message feedback, add duplicate line option (fixes #124) 2016-05-20 00:04:53 +02:00
Zachary Yedidia
342149af3f Add colorscheme to makefile syntax file
Closes #125
2016-05-19 07:26:10 -04:00
Zachary Yedidia
b0930a0bb8 Merge pull request #121 from onodera-punpun/case_insensitive
search case insensitive
2016-05-18 12:47:40 -04:00
Camille Scholtz
bfbfc50018 Add ignorecase option 2016-05-18 18:44:32 +02:00
Camille Scholtz
2a95d0b012 search case insensitive 2016-05-18 18:11:11 +02:00
aerth
17397d503e add binding for ClearStatus 2016-05-18 07:18:14 -07:00
Zachary Yedidia
77d8a2217f Fix selection graphics for indentchar 2016-05-18 09:33:49 -04:00
Zachary Yedidia
333c4ac6b1 Fix ordering of selection on SelectAll
Fixes #119
2016-05-18 09:27:17 -04:00
Zachary Yedidia
d7b61ecfa8 Fix small bug in Remove function in buffer 2016-05-17 19:57:16 -04:00
Camille Scholtz
4a38f232c0 Add copy feedback 2016-05-17 20:09:59 +02:00
Zachary Yedidia
6d394efcd9 Remove some unnecessary code
Fixes #104
2016-05-17 13:39:27 -04:00
Zachary Yedidia
c727775557 Merge pull request #111 from onodera-punpun/fix_jump
Fix jumping in rxvt-unicode when switching focus
2016-05-17 13:38:59 -04:00
Camille
baddc4107e Change relocate from true to false 2016-05-17 19:31:36 +02:00
Zachary Yedidia
363697a657 Fix capitalization of scrollSpeed option
Closes #114
2016-05-17 12:53:46 -04:00
Zachary Yedidia
abddd6eecd Merge pull request #110 from onodera-punpun/indentchar
Add indentation character option(s).
2016-05-17 12:37:47 -04:00
Zachary Yedidia
213bb6fabe Fix find where the match indicies are the same
Fixes #113
2016-05-17 12:36:41 -04:00
Camille Scholtz
87a0c06197 Add scrollspeed option 2016-05-17 18:15:47 +02:00
Camille Scholtz
93927cf0f5 Rename indent-line to indent-char, change default value from | to 2016-05-17 18:09:49 +02:00
Camille Scholtz
266461cc72 Fix jumping in rxvt-unicode when switching focus 2016-05-17 17:53:49 +02:00
Camille Scholtz
a0d4123731 Add indent character option 2016-05-17 17:17:18 +02:00
Zachary Yedidia
3d1fb69c15 Merge 2016-05-15 13:44:30 -04:00
Zachary Yedidia
aa8944304b Add statusline option
Fixes #105
2016-05-15 13:44:07 -04:00
Dante Swift
a03cacf1e7 saving now resets buffer IsModified to false 2016-05-15 00:26:36 -06:00
Zachary Yedidia
e2efc963b7 Simplify IsDirty check 2016-05-14 12:04:13 -04:00
Zachary Yedidia
29ae840413 Use rope substring instead of report 2016-05-07 10:57:40 -04:00
Zachary Yedidia
8670a03973 Add the text member back.
It seems rope.Report is not acting how I expected it to. I need to look
into this in more detail but for now I am adding the Text variable back
to the Buffer.

Fixes #98
2016-05-06 19:15:10 -04:00
Zachary Yedidia
aeff0f8170 Merge pull request #82 from zyedidia/plugins
Plugin System
2016-05-06 11:56:24 -04:00
Zachary Yedidia
ae946c5f5e Update runtime 2016-05-06 11:55:41 -04:00
aerth
5baf2e226d Hint at ^P and ^N after finding 2016-05-06 02:52:51 -07:00
Zachary Yedidia
31567c9e15 Add linter option 2016-05-05 12:53:28 -04:00
Zachary Yedidia
3cbb23bfbe Add automatic linting for Go, Python, C, D, Java, Javascript, Lua 2016-05-05 12:53:27 -04:00
Zachary Yedidia
1668e91310 Add linter plugin to easily make linters 2016-05-05 12:53:27 -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
908bcb22ae Have go plugin create its own options 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
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