Zachary Yedidia
e643860e3d
Add Open command for view
2016-09-06 19:58:34 -04:00
Zachary Yedidia
0373589ab8
Merge
2016-09-06 19:30:28 -04:00
Zachary Yedidia
dce56a2b85
Have HandleShellCommand return the stdout
...
HandleShellCommand will now return the stdout as a string and
it also takes an additional flag indicating whether it should
wait before closing the shell and returning to the editor.
2016-09-06 19:27:57 -04:00
anatoly techtonik
1f457f9d9e
Fix CanClose comment after API change
...
Follow up to 966dac97f8
2016-09-06 22:51:13 +03:00
Zachary Yedidia
131524e670
Merge branch 'params' of https://github.com/boombuler/micro into boombuler-params
2016-09-06 10:59:30 -04:00
Zachary Yedidia
539495d2f7
Add support for macros
...
Closes #270
CtrlU to toggle recording and CtrlJ to playback.
You can also rebind using the "ToggleMacro" and "PlayMacro"
actions.
Note that recursive macros are not yet supported.
2016-09-06 10:44:15 -04:00
Zachary Yedidia
966dac97f8
Make unsaved changes prompt more clear
...
Fixes #301
2016-09-06 10:06:36 -04:00
Leo Arias
02b6eaaff0
Update runtime
...
closes #317
2016-09-05 18:31:36 +00:00
boombuler
a952e249b4
added pascal syntax
2016-09-05 17:53:49 +02:00
Zachary Yedidia
0a534767f0
Merge branch 'primary-clipboard'
2016-09-05 11:37:49 -04:00
Zachary Yedidia
b1cb583e8c
Update runtime
2016-09-05 10:30:08 -04:00
Zachary Yedidia
ea4d822923
Merge pull request #283 from boombuler/autocompleteplugin
...
Autocomplete for plugins
2016-09-05 10:29:51 -04:00
to-miz
725533d991
fixed inserting runes that require ctrl+alt
...
we check wheter an input is a binding first, only if it is not a binding
do we insert the rune regardless of modifiers
2016-09-05 16:03:05 +02:00
Zachary Yedidia
2041e12eba
Fix some issues with mouse selection copying
2016-09-05 08:36:30 -04:00
Zachary Yedidia
5d00522d4e
Deselect for CursorStart
...
Fixes #308
2016-09-05 08:25:49 -04:00
Zachary Yedidia
c71e816e37
Fix recursive function
2016-09-04 21:28:40 -04:00
Zachary Yedidia
6721ec8e7d
Copy to primary clipboard for any change in selection
2016-09-04 21:19:14 -04:00
Zachary Yedidia
cf3ce29a08
Fix YesNoPrompt bug
2016-09-04 18:27:11 -04:00
Zachary Yedidia
a8feef3c12
Minor cleanup
...
See #300
2016-09-04 12:57:09 -04:00
Zachary Yedidia
de9707f088
Merge
2016-09-04 12:51:00 -04:00
Zachary Yedidia
9ff396c69f
Don't allow setting invalid colorschemes
...
Fixes #303
2016-09-04 12:50:13 -04:00
Zachary Yedidia
b3f6731db5
Update runtime
2016-09-04 11:36:25 -04:00
Zachary Yedidia
54a34001e3
Fix cursor problem in LetterPrompt
...
Fixes #300
2016-09-04 11:19:53 -04:00
James Tancock
187ea0da1c
Correct the number of spaces to add when a tab is inserted at an offset cursor.
...
Fixes #268
2016-09-04 15:50:39 +01:00
Zachary Yedidia
5b7fa01825
Add newline to end of settings.json
...
Fixes #296
2016-09-04 10:10:57 -04:00
Zachary Yedidia
c38044106c
Merge pull request #298 from boombuler/bug269
...
exit conditional replace if no match is left
2016-09-04 09:44:05 -04:00
boombuler
fce5b81c22
exit conditional replace if no match is left
2016-09-04 09:29:26 +02:00
Zachary Yedidia
a4ac9f2b7b
Merge pull request #286 from boombuler/bug269
...
fixes conditional replace
2016-09-03 13:45:43 -04:00
Zachary Yedidia
abedeebc0a
Merge pull request #282 from boombuler/windows
...
File autocomplete should now work on windows
2016-09-03 13:45:19 -04:00
Zachary Yedidia
b905400892
Add default bindings for CtrlHome and CtrlEnd
...
Fixes #280
2016-09-03 13:37:16 -04:00
Zachary Yedidia
c4d6f5e584
Fix various infobar bugs
...
Fixes #294
Fixes #295
2016-09-03 13:28:48 -04:00
Zachary Yedidia
76f80bf694
Merge pull request #293 from devoncarew/add_dart
...
add dart syntax highlighting
2016-09-03 12:53:39 -04:00
Devon Carew
a7b72f0e0e
add dart syntax highlighting
2016-09-03 09:16:52 -07:00
Zachary Yedidia
af22e0a567
Allow overwriting options with flags
...
Fixes #258
Also related to #233 , this commit also changes how +LINE,COL works. Now it is
micro -startpos LINE,COL file.
2016-09-03 11:26:01 -04:00
boombuler
98b6f63b70
fixes conditional replace
...
before this, conditional replace always replaces the first found
occurence of the match not the currenly selected.
Might also fix #269
2016-09-03 12:34:57 +02:00
boombuler
403a99d2ea
removed obsolete replace command preparations
2016-09-03 12:13:25 +02:00
boombuler
b2735d7b5b
use build-in functions to quote / unquote
2016-09-03 12:02:49 +02:00
boombuler
699ad316e5
removed old code
2016-09-03 08:18:47 +02:00
boombuler
8617ae5c1f
keep trailing space at commandline
2016-09-03 08:16:18 +02:00
boombuler
881f57b047
allow plugins to register autocomplete functions
2016-09-02 19:42:33 +02:00
Zachary Yedidia
b45fcf5bd7
Use json5 for config files
2016-09-02 11:12:16 -04:00
Zachary Yedidia
89c34ed8b3
Copy to primary clipboard on mouse selection
2016-09-02 10:44:32 -04:00
Zachary Yedidia
d9b8a04841
Add support for primary clipboard
2016-09-02 09:40:08 -04:00
Florian Sundermann
ccfe08bc60
allow command parameters to be quoted
...
this way FileCompletions could contain space runes without
breaking the parameter.
2016-09-02 13:44:22 +02:00
Florian Sundermann
2e3ee22aca
File autocomplete should now work on windows
2016-09-02 08:49:54 +02:00
Zachary Yedidia
226cf399ba
Merge pull request #271 from teryanik/master
...
Improvement highlight php syntax
2016-09-01 20:23:53 -04:00
cotne nazarashvili
d2254df062
improve json.micro
2016-09-02 03:59:36 +04:00
teryanik
3e83d29fb4
improvement highlight php syntax
2016-09-01 22:24:31 +03:00
Zachary Yedidia
fc2d9bb461
Merge pull request #233 from schollz/master
...
Flag to start at specified line/column number (#224 )
2016-08-31 16:39:30 -04:00
Zachary Yedidia
5458605618
Add "bubblegum" light colorscheme
...
Closes #255
2016-08-31 14:21:46 -04:00
Zachary Yedidia
031ed64305
Add colorscheme support for gentoo-ebuild
...
See #229
2016-08-31 12:12:23 -04:00
Zachary Yedidia
1be332a0f9
Merge
2016-08-31 12:00:28 -04:00
Zachary Yedidia
b9d4dbd5e0
Add colorscheme support for yaml
...
See #229
2016-08-31 11:59:43 -04:00
Zachary Yedidia
2e264b342a
Fix prompts not displaying because of infobar
2016-08-31 11:52:59 -04:00
Zachary Yedidia
4972db4bf6
Merge
2016-08-31 11:16:58 -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
f8612d1572
Merge pull request #259 from handicraftsman/master
...
ASM & Micro fix
2016-08-31 10:53:14 -04:00
Nickolay
f9d0c563e4
Fixed Micro & ASM syntax files
2016-08-31 17:50:09 +03:00
Zachary Yedidia
3105205ab8
Use text from the paste event, not the clipboard
...
Closes #93
2016-08-31 10:47:31 -04:00
Zack Scholl
62ac9f79f2
Switched to +LINE,COL
...
Previously the flag was parsed for `-cursor LINE,COL`
However, emacs and nano both us `+LINE,COL` and this also makes
it easier to ignore the `+` as a filename.
2016-08-31 10:10:54 -04:00
Zachary Yedidia
a6d695f471
Merge
2016-08-31 08:51:44 -04:00
Zachary Yedidia
59d2fa81dd
Unselect for cursor movement actions
...
Fixes #250
2016-08-31 08:51:24 -04:00
Nickolay
c59b1ea387
Added .micro syntax theme
2016-08-31 15:19:45 +03:00
Zachary Yedidia
c661c65c8c
Update help to give quick instructions on quitting and saving
2016-08-30 21:29:41 -04:00
Zachary Yedidia
13da5ced15
Fix problem with linter.onSave calling view.Save
...
Fixes #246
2016-08-30 19:38:45 -04:00
Zachary Yedidia
b970b393f2
Add caddyfile to runtime
2016-08-30 19:32:26 -04:00
Zachary Yedidia
b6f5db3692
Add QuitAll action to close all splits and tabs at once
...
See #239
2016-08-30 17:38:46 -04:00
Zachary Yedidia
8bdaacaa5e
Switch splits on mouse *click* not drag
...
Fixes #240
2016-08-30 17:29:49 -04:00
Zachary Yedidia
c9ead25b1e
Merge
2016-08-30 17:26:05 -04:00
Zachary Yedidia
ddff950fcd
Check for filetype after saving an untitled buffer
...
Fixes #242
2016-08-30 17:25:30 -04:00
Nickolay
6e63472930
Whooops!
2016-08-31 00:08:37 +03:00
Nickolay
94397a90bd
Fully finished ASM syntax highlightig
2016-08-31 00:03:22 +03:00
Nickolay
9854fc712f
Added x87 instructions
2016-08-30 22:13:46 +03:00
Nickolay
99635d9491
Added x86 cpu support for assembly.
2016-08-30 21:51:30 +03:00
Zachary Yedidia
93361fe72d
Fix issue with settings.json
2016-08-30 11:32:23 -04:00
Zack Scholl
4499228cdb
Added flag to introduce cursor starting positions
2016-08-30 11:28:28 -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