Geoffrey Lehée
db520fe9e7
Add missing comma
2016-08-30 17:56:40 +02:00
Zachary Yedidia
afa58a984a
Merge pull request #220 from wayneashleyberry/patch-1
...
Update options.md
2016-08-30 09:47:22 -04:00
Zachary Yedidia
209cdccdc5
Merge pull request #225 from jfchevrette/patch-1
...
Fix typo in tutorial.md
2016-08-30 09:47:09 -04:00
Jean-Francois Chevrette
3e428ff505
Fix typo in tutorial.md
...
small typo
2016-08-30 09:38:49 -04:00
Andrea Manzini
ddc237872c
Update tutorial.md
...
small typo
2016-08-30 10:07:28 +02:00
Wayne Ashley Berry
ee5ac6a582
Update options.md
...
Fixes json syntax and adds syntax highlighting.
2016-08-30 09:35:21 +02:00
Zachary Yedidia
19c7860f14
Update readme
2016-08-29 10:21:34 -04:00
Zachary Yedidia
eda08a994a
Make cursorline on by default
2016-08-29 09:20:48 -04:00
Zachary Yedidia
00e385b871
Add show command to show the value of an option
2016-08-28 21:48:03 -04:00
Zachary Yedidia
56224c9184
Minor update to zenburn line number colors
2016-08-28 13:13:01 -04:00
Zachary Yedidia
90e0a2ec1a
Rename 'default' colorscheme to 'simple'
...
This commit also adds an additional name for zenburn as 'default'
so you can refer to zenburn as 'default' or as 'zenburn'
2016-08-28 13:07:47 -04:00
Zachary Yedidia
da7bc997ff
Update docs and makefile
2016-08-27 22:00:56 -04:00
Zachary Yedidia
2de42bcf99
Make zenburn the default colorscheme
...
This commit also adds better support for constant.number in the
syntax files.
2016-08-27 17:10:26 -04:00
Zachary Yedidia
e0074c881c
Minor update to zenburn
2016-08-27 16:13:28 -04:00
Zachary Yedidia
1a5e90c8a2
Add zenburn colorscheme
...
Closes #214
2016-08-27 16:09:30 -04:00
Zachary Yedidia
19bb9c7d50
Add tutorial help file
2016-08-26 14:38:20 -04:00
Zachary Yedidia
b4e470b6e2
Add support for making buffer local options in settings.json
2016-08-25 20:15:58 -04:00
Zachary Yedidia
e634b4e180
Fix bug with init.lua
2016-08-25 17:29:58 -04:00
Zachary Yedidia
acc03e9707
Update docs and add some comments
2016-08-25 17:24:13 -04:00
Zachary Yedidia
d6da2dfeca
Pass the view into plugin callbacks
2016-08-25 16:35:03 -04:00
Zachary Yedidia
ec0833b09c
Update plugins for local settings
2016-08-25 16:01:42 -04:00
Zachary Yedidia
8803d93872
Make all filetype names lowercase
...
This may be a breaking change if you are using a plugin that
checks the filetype. All the default plugins are now updated,
just make the filetype you were checking for previously all
lowercase.
2016-08-25 15:48:02 -04:00
Zachary Yedidia
c340e6d48d
Add gruvbox colorscheme
2016-08-21 14:40:39 -07:00
Zachary Yedidia
8f51fe84ae
Update readme
2016-08-20 13:02:19 -07:00
Zachary Yedidia
f9cb99b35f
Go plugin should disable tabstospaces if the file is go
2016-08-19 18:47:37 -07:00
Zachary Yedidia
d409c3a031
Fix minor issue with autoclose
2016-08-19 15:24:42 -07:00
Zachary Yedidia
62c359e5c1
Improve autoclose plugin auto tabbing
2016-08-19 15:14:34 -07:00
Zachary Yedidia
ddeed5e558
Minor update to docs
2016-08-17 14:19:59 -04:00
Zachary Yedidia
d17cc0f628
Add boolean option to actions to disable the lua callback
2016-08-17 14:16:27 -04:00
Zachary Yedidia
8a58506c72
Add much better autocompletion for commands
2016-08-17 13:49:37 -04:00
Zachary Yedidia
932370f597
Add current-line-number colors to all colorschemes
2016-08-17 12:49:11 -04:00
Zachary Yedidia
41065f0222
Add more docs for plugins and keybindings
2016-08-17 11:59:38 -04:00
Zachary Yedidia
33eb8546b1
Add more documentation
2016-08-17 11:59:37 -04:00
Zachary Yedidia
ce54413894
Add more explanation for colors.md
2016-08-17 11:59:37 -04:00
Zachary Yedidia
4a0c48587a
Split help into multiple files and add help command
2016-08-17 11:59:37 -04:00
Zachary Yedidia
1e26aaed3c
Merge pull request #209 from onodera-punpun/coloredline
...
Add colored current line number option
2016-08-16 22:03:07 -04:00
Zachary Yedidia
563484ffc9
Clean up go plugin
2016-08-16 13:52:42 -04:00
Zachary Yedidia
b42aba05a0
Fix recursive issue with go plugin
2016-08-16 13:46:33 -04:00
Zachary Yedidia
ed31d37e74
Change plugin callbacks to not only happen when a keybinding triggers the action
2016-08-16 11:43:36 -04:00
Zachary Yedidia
de9567322b
Rebind Home and End to StartOfLine and EndOfLine
...
This commit changes the default keybindings for Home and End. It
also changes the InsertEnter action to InsertNewline (a better name)
although InsertEnter is still valid for backwards compatibility.
Closes #206
2016-08-16 10:55:04 -04:00
Camille Scholtz
e38e1c9dff
Add colored current line number option
2016-08-15 22:35:40 +02:00
Philippe Charrière
ad3031c95c
To only use the colorscheme groups
2016-07-30 20:20:28 +02:00
Philippe Charrière
073ea1caa5
Add Gololang support
2016-07-30 18:38:55 +02:00
Zachary Yedidia
431eb12c96
Add tab command to open a file in a new tab
2016-07-24 16:29:03 -04:00
Zachary Yedidia
ddcebe4946
Fix issue with autoclose plugin
2016-07-24 16:19:41 -04:00
Zachary Yedidia
eba501e095
Highlight plist as XML
...
See #197
2016-07-15 17:29:36 -04:00
Timon Böhler
ce5a867286
Changed Python syntax file to use Go's regex for matching string literals (which also works for empty strings)
2016-07-13 21:03:16 +02:00
Benjamin VAUDOUR
e5ed1b1983
Update of lilypond.micro
...
- full colorschemes-based
- accurate notes' detection
2016-07-12 07:35:43 +02:00
Benjamin VAUDOUR
7e16177291
Add lilypond syntax ( http://lilypond.org/ )
2016-07-11 12:14:07 +02:00
Zachary Yedidia
6489f4b6e8
Merge pull request #185 from zyedidia/splits
...
Splits
2016-07-09 11:41:53 -04:00
Zachary Yedidia
8f12c89de1
Add documentation for splits
2016-07-09 11:40:46 -04:00
Camille
18500b8f2f
fish.micro: Add missing command, use constat.string
2016-07-06 19:35:51 +02:00
Zachary Yedidia
3d3b76a31c
Change default colorscheme to monokai
...
The monokai-tc colorscheme has been renamed to plain monokai and has
been made the default colorscheme. It is still a true color colorscheme,
but the automatic 256 color approximation is very good so it can be used
just fine in terminals which do not support true color.
If your terminal only supports 16 colors, used the 'default'
colorscheme.
2016-07-05 18:34:51 -04:00
Zachary Yedidia
cc9dd00948
Add string group to syntax files
...
This commit adds the string group (constant.string) to valid strings
in all the syntax files that support colorschemes (see the readme in
the runtime/syntax directory).
Fixes #178
2016-06-25 19:20:13 -04:00
Zachary Yedidia
91dd06fd9e
Add new colorschemes to runtime
2016-06-23 08:39:26 -04:00
Zachary Yedidia
00309a2800
Merge pull request #180 from Calinou/monokai-colorscheme
...
Add a Monokai colorscheme
2016-06-23 08:29:24 -04:00
Zachary Yedidia
f1067d018c
Merge pull request #181 from Calinou/atom-dark-colorscheme
...
Add Atom Dark colorscheme
2016-06-23 08:25:23 -04:00
Hugo Locurcio
95cc56d1fb
Add GDScript syntax file
2016-06-23 12:08:03 +02:00
Hugo Locurcio
2cbcbdb8d0
Add Atom Dark colorscheme
2016-06-23 11:38:01 +02:00
Hugo Locurcio
ffcb6d601b
Add a Monokai colorscheme
2016-06-23 10:01:48 +02:00
Zachary Yedidia
e6adc173f3
Fix issue with autoclose plugin
2016-06-22 21:03:40 -04:00
Zachary Yedidia
dbeb99bb6b
Colorscheme group inheritance
...
With this commit, the syntax files can define groups that are subsets of
other groups, for example constant.string. This is so that colorschemes
can be more accurate, possibly highlighting strings differently than
numbers for example.
See #176 . This doesn't fully close that issue yet because the string
group still needs to be added to all strings in the syntax files.
2016-06-22 18:51:36 -04:00
Zachary Yedidia
6665834cca
Add autoclose plugin to handle autoclose for brackets, quotes etc...
...
The plugin adds an option `autoclose` to configure whether or not you
would like quotes, brackets etc... to be automatically closed. The
option is enabled by default.
Closes #176
2016-06-22 13:54:42 -04:00
Zachary Yedidia
77b6c2c486
Auto prefix for plugin functions
...
YOu no longer have to prefix all functions in a plugin with the plugin
name (linter_onSave). This will now be done automatically using lua's
setfenv. When passing a function as a callback to a editor function,
make sure to prefix the plugin name (linter.onExit, or go.goimports) so
that micro knows which plugin to call the function from.
2016-06-21 17:49:57 -04:00
Zachary Yedidia
d2277a376a
Add support for job control
...
This commit adds support for job control (running processes
asynchronously from plugins) with the JobStart, JobSend, and JobStop
functions (copying neovim's job control).
This commit also makes the linter plugin work asynchronously, so the
editor won't be frozen while the linter checks your code for errors.
2016-06-15 11:19:00 -04:00
Zachary Yedidia
82c7994e68
Add support for tabs
...
Merge branch 'tabbar'
This branch adds support for having multiple tabs open, each viewing one
file. Use CtrlT to open a new tab empty tab and then CtrlO to open a
file in that tab. Use can also just open multiple files from the command
line: `micro file1.txt file2.txt ...`. Use Ctrl-] and Ctrl-\ to move
between the tabs, or simply click them with the mouse.
2016-06-08 18:49:08 -04:00
Zachary Yedidia
2c73e1c043
Add default bindings for PreviousTab and NextTab
2016-06-08 18:48:59 -04:00
Zachary Yedidia
a79e964cb6
Make tabs respond to mouse events
2016-06-08 17:47:48 -04:00
Zachary Yedidia
57f769c9a1
Don't display the tab bar if only one tab is open
2016-06-08 13:29:24 -04:00
Zachary Yedidia
a8de4bcd8a
Merge pull request #168 from onodera-punpun/syntax_css
...
Update css syntax
2016-06-08 13:11:31 -04:00
Camille Scholtz
b9f9c4ca0a
fixer :hover, etc., color
2016-06-08 18:52:42 +02:00
Camille Scholtz
8a38f897d7
colorize brackets
2016-06-08 18:45:12 +02:00
Camille Scholtz
e9d14838a8
make normal the defualt color
2016-06-08 18:42:02 +02:00
Camille Scholtz
bc40d3e4e9
Update css syntax
2016-06-08 18:38:53 +02:00
Camille Scholtz
2583f52c8f
Clean up shell and fish syntax files
2016-06-02 14:35:09 +02:00
Zachary Yedidia
742370646f
Add cursorline option
2016-06-01 10:05:17 -04:00
Zachary Yedidia
cd6389c49e
Make CursorPageUp and CursorPageDown default
...
This commit also fixes the documentation for PageUp and PageDown.
See #149
2016-05-31 19:45:19 -04:00
Zachary Yedidia
7adcb13c08
Add support for user-created commands
...
Plugins can now create their own commands using the `MakeCommand`
function. Plugins can also now create their own keybindings with the
`BindKey` function. See the go plugin for an example of `MakeCommand`.
2016-05-30 13:38:50 -04:00
Zachary Yedidia
ee9f2a3d9c
Add persistent undo as the option
2016-05-29 11:02:56 -04:00
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
Zachary Yedidia
62967c7935
Add automatic settings to ~/.micro/settings.json
2016-03-28 21:10:10 -04:00
Zachary Yedidia
d1d55277f7
Update syntax files
2016-03-25 16:41:36 -04:00
Zachary Yedidia
a35af11924
Cache syntax highlighting rules
2016-03-23 16:36:17 -04:00
Zachary Yedidia
e2f25947cc
Add colorscheme support for selection color
2016-03-23 13:23:50 -04:00
Zachary Yedidia
886bd11ae1
Add colorschemes to runtime
2016-03-22 20:43:48 -04:00
Zachary Yedidia
c721c0bfab
Fix runtime readme and makefile
2016-03-22 18:29:56 -04:00
Zachary Yedidia
d20df210d0
Add cross-compilation script
2016-03-22 18:17:11 -04:00