Commit graph

57 commits

Author SHA1 Message Date
Zachary Yedidia
a92a7dc4e6 Add savecursor option
This adds the `savecursor` option which will remember where the cursor
was when the file was closed and put it back when the file is opened
again. The option is off by default so that people aren't confused as to
why the cursor isn't at the start of a file when they open it.

This commit also adds a more general ability to serialize a buffer so
various components can be saved (which could also be useful for persistent
undo).

Fixes #107
2016-05-28 17:29:49 -04:00
Zachary Yedidia
e8d8da1443 Refactor and clean up
This commit puts in place the ability for multiple views (splits).
This commit also removes the editor bindings so that all bindings can be
rebound by the user.
I also added some more comments

This fixes #109
2016-05-28 11:32:09 -04:00
Zachary Yedidia
6ece5bc41a Fix tabstospaces problem 2016-05-22 15:47:28 -04:00
Camille Scholtz
116b247439 Add scrollmargin option, rename scrollSpeed to scrollspeed for consistency, make help.md more consistent (replaced some spaces with tabs) 2016-05-20 19:44:16 +02: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
Camille Scholtz
2d99d0d57a Forgot a comma there 2016-05-20 00:06:09 +02: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
b4fd6de449 Merge pull request #123 from onodera-punpun/package_syntax
Add some distro specific files to syntax
2016-05-18 14:03:47 -04:00
Camille Scholtz
671efa774d Add some distro specific files to syntax 2016-05-18 19:40:05 +02:00
Camille Scholtz
bfbfc50018 Add ignorecase option 2016-05-18 18:44:32 +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
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
9b984b1680 Fix typo 2016-05-17 17:21:47 +02:00
Camille Scholtz
a0d4123731 Add indent character option 2016-05-17 17:17:18 +02:00
Camille
3c9d7fb30c Improve fish syntax file.
It now has a header, has more and better colors.
2016-05-15 22:10:07 +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
a1864d2511 fix default keybindings in help.md
the up and down arrow were switched
2016-05-14 14:51:04 -06:00
Zachary Yedidia
e2efc963b7 Simplify IsDirty check 2016-05-14 12:04:13 -04:00
Zachary Yedidia
f80af4670f Add options to help text 2016-05-05 12:56:52 -04: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
30c7a9c4a5 Refine gutter messages and add go build checking to go plugin 2016-05-05 12:53:27 -04:00
Zachary Yedidia
a333f0ade2 Add default plugins, and install go plugin by default 2016-05-05 12:53:26 -04:00
Zachary Yedidia
cf2db5dfe7 Add R syntax file
Closes #91
2016-05-02 15:01:46 -04:00
Zachary Yedidia
9ad2820e5e Change selection color in solarized colorscheme 2016-04-30 15:32:33 -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
aerth
8936d8f675
Add json bindings to doc 2016-04-30 08:33:04 -07:00
Zachary Yedidia
b6195721ac Update readme and help 2016-04-28 15:05:53 -04:00
Zachary Yedidia
53249c46f5 Support different types of gutter messages 2016-04-27 12:33:33 -04:00
Zachary Yedidia
a945734db7 Update help 2016-04-25 14:15:33 -04:00
Zachary Yedidia
e1c1372f8f Add check flag for search and replace 2016-04-24 17:08:40 -04:00
Zachary Yedidia
74bd338cbc Improve help text 2016-04-24 08:38:38 -04:00
Zachary Yedidia
1f62ff9d80 Improve help text and move to its own file 2016-04-24 08:31:42 -04:00
Ahmed W
5b6c011c17 typos in solarized-tc.micro 2016-04-21 22:19:37 +02:00
Zachary Yedidia
47c32dda22 Major optimization for loading syntax files 2016-04-18 14:40:07 -04:00
Zachary Yedidia
2d3789c462 Update readme 2016-04-18 14:04:42 -04:00
Zachary Yedidia
8dee0ad2d5 Use XDG_CONFIG_HOME for configuration directory
Fixes #18
2016-04-18 10:31:19 -04:00
Zachary Yedidia
8656335da4 Embed runtime files in the go binary 2016-04-18 09:35:53 -04:00
Zachary Yedidia
8a2479a43d Update todolist, and readme
Add binaries to readme and a screenshot of micro.
2016-04-16 17:33:13 -04:00
Zachary Yedidia
9058103a13 Fix syntax file readme 2016-04-08 09:23:24 -04:00
Zachary Yedidia
739e50d4fe Update syntax files 2016-04-08 09:22:36 -04:00