Commit graph

2205 commits

Author SHA1 Message Date
Zachary Yedidia 09ea82c97e Disable current line num style if no cursorline 2020-02-02 00:34:28 -05:00
Zachary Yedidia d94b81b8e6 Synchronize undo and redo chunks
Fixes #1372
Fxies #1471
2020-02-02 00:14:56 -05:00
Zachary Yedidia bcb1947a0a Add plugin manager 2020-02-01 23:54:38 -05:00
Zachary Yedidia b0b5d7b392 Add CurPane and CurTab functions for plugins 2020-02-01 12:20:08 -05:00
Zachary Yedidia 2598d8ad70 Update colorschemes and add new ones
This commit updates the colorschemes and adds some new ones:

* gotham (https://github.com/novln/micro-gotham-colors)
* monokai-dark (https://github.com/Theodus/micro-monokai-dark)
* one-dark (https://github.com/joseluisq/micro-one-dark)
* sunny-day (https://github.com/dwwmmn/micro-sunny-day)
2020-01-31 15:05:55 -05:00
Zachary Yedidia f731e422ea Improve lua interface 2020-01-31 14:21:27 -05:00
Jeremy O'Brien abcdeb01e9 Fix defaultkeys help doc to match reality 2020-01-31 13:10:11 -05:00
Zachary Yedidia d326a9cddd Merge 2020-01-31 00:56:20 -05:00
Zachary Yedidia e3131a0779 Add text event callback 2020-01-31 00:56:15 -05:00
Zachary Yedidia 46c5a81b0d Fix callback cancelation 2020-01-30 18:04:17 -05:00
Zachary Yedidia 59146cabb1 Add callback option to linter 2020-01-30 18:00:17 -05:00
Zachary Yedidia 35e3bddea0 Modify linter and add plugin cmd 2020-01-30 17:51:04 -05:00
Zachary Yedidia 016b8dcc4c Do not add non-plugin directories in plug/ 2020-01-28 23:49:51 -05:00
Zachary Yedidia 03228762d4 Don't call plugin if nil 2020-01-28 22:06:58 -05:00
Zachary Yedidia 953f5a0eff Highlight in parallel 2020-01-28 20:54:14 -05:00
Zachary Yedidia 477bdb3dc8 Empty highlighting for unknown filetypes 2020-01-28 18:34:44 -05:00
Zachary Yedidia d74f40882d Don't rehighlight if there are no modifications 2020-01-28 17:15:02 -05:00
Zachary Yedidia d965e8de4f Fix copy-paste error in docs 2020-01-26 21:39:10 -05:00
Zachary Yedidia 866b3c9238 Resize tabbar properly
Ref #1467
2020-01-26 00:44:34 -05:00
Zachary Yedidia 3252324d24 Don't indent empty lines
Fixes #1472
2020-01-26 00:40:40 -05:00
Zachary Yedidia 8e7a016917 Tab horizontal scrolling should not be negative
Fixes #1467
2020-01-25 13:17:13 -05:00
Zachary Yedidia cf41a587a3 Split the actions StartOfLine and StartOfText
The default keybindings now use StartOfText which moves the cursor
to the start of the text on the current line instead of the actual
start of the line (if the line begins with whitespace).

Fixes #1468
2020-01-25 13:02:13 -05:00
Zachary Yedidia 1dc1c65565 Update tutorial docs 2020-01-21 20:37:51 -05:00
Zachary Yedidia 97ee344268 Fix some issues with syntax highlighting regions
Fixes #1464
2020-01-20 23:43:47 -05:00
Zachary Yedidia b658f94e5a Change ctrl-arrow default binding for non-Mac OSes
On non-Mac operating systems, the default for CtrlLeft/CtrlRight
is now WordLeft and WordRight instead of moving the cursor to the
start and end of lines (now rebound to Alt-Left/Right by default).
Default keybindings are unchanged on Mac.

Fixes #1465
2020-01-20 22:35:00 -05:00
Zachary Yedidia 0abe427026 Make readonly and filetype local-only 2020-01-20 22:03:32 -05:00
Rein F 063389afdf updated runtime 2020-01-18 19:05:54 +01:00
Rein F 1e998ab0e4 Updated javascript.yaml syntaf file 2020-01-18 19:05:33 +01:00
Zachary Yedidia b3e40a2644 Make debug mode flag, plugins can access logbuf 2020-01-15 22:25:08 -05:00
Zachary Yedidia fa4103f7aa Merge 2020-01-15 20:09:33 -05:00
Zachary Yedidia 17f0eb80cd Readonly should only apply to default buffers
Ref #1298
2020-01-15 20:09:17 -05:00
Zachary Yedidia 35dfb1830b
Merge pull request #1459 from wgj/osx_terminal_opt_key
Add suggestions for MacOS Terminal.app users
2020-01-14 16:54:02 -05:00
Zachary Yedidia 76f09adb48
Merge pull request #1456 from srishanbhattarai/patch-2
Include mingw and fix README section link
2020-01-14 16:53:54 -05:00
Weston Johnson 289c7147e4 Add suggestions for MacOS Terminal.app users 2020-01-14 14:42:05 -07:00
Krerkkiat Chusap be34e1241c Update julia.yml (#1262)
Add export to the keywords. This should fixes zyedidia/micro#1215.
2020-01-11 13:41:52 -05:00
Srishan Bhattarai 83ea8d8be9
Include mingw and fix README section link 2020-01-09 15:16:15 -06:00
Zachary Yedidia 7c90f4d6f1 Merge 2020-01-06 12:29:39 -05:00
Zachary Yedidia 61a90f7666 Update xml.yaml 2020-01-06 12:29:33 -05:00
Serge Voilokov 8d373cde6e Add golang keywords (#1455)
* Add golang keywords

* Update runtime
2020-01-06 12:06:44 -05:00
Zachary Yedidia 6a465500bc Properly handle empty args with new shellquote lib
Fixes #1454
2020-01-06 11:38:21 -05:00
Zachary Yedidia f3e8413e77 More doc updates 2020-01-06 00:01:49 -05:00
Zachary Yedidia f2a1e2337f Update tcell to include true color fix
Fixes #1452
2020-01-05 21:26:53 -05:00
Zachary Yedidia c7f36f9480 Don't indent softwrap if ruler is off
Ref #1450
2020-01-05 20:32:29 -05:00
Zachary Yedidia 955bde4abc Minor view fix 2020-01-05 15:02:52 -05:00
Zachary Yedidia afb03aa37f Small doc update 2020-01-05 13:21:46 -05:00
Zachary Yedidia 6c3814dfac Better message for gob error 2020-01-05 12:45:27 -05:00
Zachary Yedidia d234e9ec41 Add cycleautocompleteback action 2020-01-04 15:51:15 -05:00
Bonnie c2c0325384 Fix #1383: "Save with Sudo" rewrite (#1424)
* Rewrite save with sudo (Fixes #1383)

* Combine overrideFile & overrideFileAsRoot into 1 function
2020-01-03 17:39:12 -05:00
Zachary Yedidia dfb6bc0312 Fix save callback issue 2020-01-03 17:38:50 -05:00
Zachary Yedidia 0c6a7e2837 Update options docs and new docs on copy-paste 2020-01-03 13:39:39 -05:00