Commit Graph

351 Commits

Author SHA1 Message Date
Zachary Yedidia
ddff950fcd Check for filetype after saving an untitled buffer
Fixes #242
2016-08-30 17:25:30 -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
5df28c76e8 Add tutorial.md to help files
Fixes #218
2016-08-29 21:26:53 -04:00
Zachary Yedidia
19c7860f14 Update readme 2016-08-29 10:21:34 -04:00
Zachary Yedidia
fccec47ae5 Have CanClose use single letters for responses
Closes #184
2016-08-29 10:10:16 -04:00
Zachary Yedidia
eda08a994a Make cursorline on by default 2016-08-29 09:20:48 -04:00
Zachary Yedidia
f8071af717 Fix bug with view.Center
Fixes #215
2016-08-29 09:16:24 -04:00
Zachary Yedidia
6ce8fe3ce1 Open an empty buffer if user opened a directory
Fixes #216
2016-08-29 09:01:54 -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
59b7555f01 Fix various small details and update readme 2016-08-28 16:28:28 -04:00
Zachary Yedidia
8cef0abf6a Fix import error in tests 2016-08-28 13:45:38 -04:00
Zachary Yedidia
56224c9184 Minor update to zenburn line number colors 2016-08-28 13:13:01 -04:00
Zachary Yedidia
40523871fa Update runtime 2016-08-28 13:09:37 -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
aa9dbdde3e Improve tab completion in command mode
Pressing tab when all suggestions start with the same substring
will insert that substring (this is how bash autocompletion works).
2016-08-28 13:05:07 -04:00
Zachary Yedidia
da7bc997ff Update docs and makefile 2016-08-27 22:00:56 -04:00
Zachary Yedidia
1260dcc5ee Add some more information to -version flag 2016-08-27 20:03:43 -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
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
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
261748bd56 Add local settings for each buffer 2016-08-25 15:47:26 -04:00
Zachary Yedidia
60b84c7aba Minor fixes and update runtime 2016-08-25 15:47:16 -04:00
Zachary Yedidia
0711c29c0a Add onBufferOpen plugin callback 2016-08-24 17:03:02 -07:00
Zachary Yedidia
dbdfef632e Add center action to center the view on the cursor 2016-08-24 15:48:11 -07:00
Zachary Yedidia
b818011715 Relocate on startup 2016-08-24 14:44:29 -07:00
Zachary Yedidia
d6a7f6291a Plugin onAction return value should determine relocate 2016-08-24 10:02:06 -07:00
Zachary Yedidia
24076e7dff Auto indent on paste
Fixes #204
2016-08-23 14:48:28 -07:00
Zachary Yedidia
78e2445e43 Don't pad suggestions 2016-08-22 11:45:50 -07:00
Zachary Yedidia
bfbba972d8 Fix gutter message overwriting a prompt 2016-08-22 10:13:14 -07:00
Zachary Yedidia
760d709c34 Remove auto indented spaces if the line is empty 2016-08-22 10:04:23 -07:00
Zachary Yedidia
c340e6d48d Add gruvbox colorscheme 2016-08-21 14:40:39 -07:00
Zachary Yedidia
ca4be706ac Small fix to redraw location 2016-08-21 11:31:26 -07:00
Zachary Yedidia
8f51fe84ae Update readme 2016-08-20 13:02:19 -07:00
Zachary Yedidia
e3c2335c14 Slight additional improvement to word movement 2016-08-20 12:31:52 -07:00
Zachary Yedidia
198b1b8e79 Improve cursor word movement
The definition of a "word" is a bit more subtle now. Before it would
just move the cursor until a whitespace was found. Now it will stop
at non word characters as well.
2016-08-20 12:26:54 -07:00
Zachary Yedidia
9db4e640a0 Add pasting in command mode 2016-08-20 10:35:57 -07:00
Zachary Yedidia
f9e8a2426b Add support for init.lua file in ~/.config/micro 2016-08-20 10:22:28 -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