Zachary Yedidia
fb69ecdc9b
Add 'autosave' option
...
Closes #278
2016-09-28 13:07:05 -04:00
Richard Burke
bdc857952a
Added ability to validate options values when being set
2016-09-14 20:06:48 +01:00
Zachary Yedidia
8f06e51170
Add colorcolumn option
...
Fixes #333
For example: `> set colorcolumn 80`.
2016-09-07 17:17:51 -04:00
Zachary Yedidia
9ff396c69f
Don't allow setting invalid colorschemes
...
Fixes #303
2016-09-04 12:50:13 -04:00
Zachary Yedidia
5b7fa01825
Add newline to end of settings.json
...
Fixes #296
2016-09-04 10:10:57 -04:00
Zachary Yedidia
b45fcf5bd7
Use json5 for config files
2016-09-02 11:12:16 -04:00
Zachary Yedidia
b70db77c29
Add infobar option to disable the message line
...
Fixes #257
2016-08-31 11:16:22 -04:00
Zachary Yedidia
93361fe72d
Fix issue with settings.json
2016-08-30 11:32:23 -04:00
Zachary Yedidia
ec9eab8a3e
Auto update settings.json if it contains 'null'
2016-08-30 11:19:51 -04:00
Zachary Yedidia
791a397d55
Fix problem with first-time creation of the settings file
...
Fixes #219
2016-08-30 09:45:05 -04:00
Zachary Yedidia
eda08a994a
Make cursorline on by default
2016-08-29 09:20:48 -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
b4e470b6e2
Add support for making buffer local options in settings.json
2016-08-25 20:15:58 -04:00
Zachary Yedidia
acc03e9707
Update docs and add some comments
2016-08-25 17:24:13 -04:00
Zachary Yedidia
1a9123630b
Add support for local or global only settings
2016-08-25 15:48:02 -04:00
Zachary Yedidia
348922e1f2
Add filetype as an option
...
Still in progress
2016-08-25 15:48:02 -04:00
Zachary Yedidia
261748bd56
Add local settings for each buffer
2016-08-25 15:47:26 -04:00
Zachary Yedidia
f9cb99b35f
Go plugin should disable tabstospaces if the file is go
2016-08-19 18:47:37 -07:00
Zachary Yedidia
e4b6a931de
Make setting options global
2016-08-17 20:00:38 -07:00
Zachary Yedidia
61536326ca
Fix statusline and tabbar offsets
2016-08-11 13:50:59 -04:00
Zachary Yedidia
cbbe312762
Add split_tree and ability to create splits
2016-08-11 10:45:35 -04: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
742370646f
Add cursorline option
2016-06-01 10:05:17 -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
Camille Scholtz
1806ef3ad0
Remove undo options, make stackundo default behavior
2016-05-27 23:39:27 +02:00
Camille Scholtz
007ece1e78
Add stackundo option
2016-05-26 19:36:59 +02:00
Camille Scholtz
3da2a870b6
make undothresthold a setting
2016-05-24 21:38:46 +02:00
Zachary Yedidia
4cc85868d9
Rename to tabstospaces for consistency
2016-05-22 15:35:57 -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
Camille Scholtz
bfbfc50018
Add ignorecase option
2016-05-18 18:44:32 +02: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 Scholtz
a0d4123731
Add indent character option
2016-05-17 17:17:18 +02:00
Zachary Yedidia
aa8944304b
Add statusline option
...
Fixes #105
2016-05-15 13:44:07 -04:00
Zachary Yedidia
908bcb22ae
Have go plugin create its own options
2016-05-05 12:53:27 -04:00
Zachary Yedidia
eba820a9c7
Rewrite gofmt and goimports as plugins
2016-05-05 12:53:07 -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
56cdfcfe46
If a setting is not defined, use the default, not the zero value
2016-04-30 15:02:33 -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
eabf21d3ed
Use reflection for setting options
2016-04-24 15:35:16 -04:00
Zachary Yedidia
8807ede224
Added StartOfLine and EndOfLine actions
...
This commit also adds error reporting for invalid json.
Fixes #36 .
2016-04-24 09:01:01 -04:00
aerth
7746952545
gofmt-on-save redone for new bindings
2016-04-24 01:48:51 +00:00
Zachary Yedidia
7281cdbadd
Fix autoindent setting
2016-04-23 08:56:45 -04:00
aerth
23248c3a6f
Add ruler to possibleSettings
2016-04-22 20:15:38 +00:00
aerth
0440ca45cd
Toggle line numbers
2016-04-22 20:02:26 +00:00
Zachary Yedidia
c7f8584d84
Add tabsToSpaces option
2016-04-18 13:01:39 -04:00
Zachary Yedidia
8dee0ad2d5
Use XDG_CONFIG_HOME for configuration directory
...
Fixes #18
2016-04-18 10:31:19 -04:00
Zachary Yedidia
63ce8bcfce
Create ~/.micro if it does not exist
2016-04-18 09:40:27 -04:00