Commit graph

834 commits

Author SHA1 Message Date
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
5ff1917f20 Remove todolist
The todolist is no longer necessary and I wasn't using it anymore.
2016-08-20 12:32:29 -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
Zachary Yedidia
62c359e5c1 Improve autoclose plugin auto tabbing 2016-08-19 15:14:34 -07:00
Zachary Yedidia
39645d4bfd Move cursor with search selection
Fixes #212
2016-08-18 19:09:48 -07:00
Zachary Yedidia
eb27d65d24 Update runtime 2016-08-18 11:38:19 -07:00
Zachary Yedidia
f790e16883 Fix minor autoindent bug 2016-08-18 11:31:09 -07:00
Zachary Yedidia
8d230d2038 Fix some issues with unicode handling
There were unicode issues with prompts, search, and syntax highlighting,
which are now fixed.
2016-08-18 08:14:33 -07:00
Zachary Yedidia
e4b6a931de Make setting options global 2016-08-17 20:00:38 -07:00
Zachary Yedidia
7474fdc499 Fix statusline suggestion style 2016-08-17 15:22:22 -04:00
Zachary Yedidia
fd68dbd852 Add visual indicator for autocomplete suggestions 2016-08-17 14:37:30 -04: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
70c3d42f9c Update runtime.go 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
6777419dc4 Don't open a new split if help is already open 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
cb79e08f19 Minor fix to current line num style 2016-08-17 11:59:29 -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
Zachary Yedidia
899b6a4a24 User plugins should replace default plugins
Fixes #208
2016-08-14 15:29:02 -04:00
Zachary Yedidia
632e4312d5 Syntax highlighting optimization 2016-08-13 21:28:52 -04:00
Zachary Yedidia
28897c01ea Add HandleCommand and HandleShellCommand to plugin api 2016-08-13 11:44:30 -04:00