]> git.lizzy.rs Git - micro.git/log
micro.git
6 years agoFix terminal emulator support v1.4.0
Zachary Yedidia [Fri, 26 Jan 2018 01:10:49 +0000 (20:10 -0500)]
Fix terminal emulator support

6 years agoUpdate tcell
Zachary Yedidia [Wed, 24 Jan 2018 21:11:48 +0000 (16:11 -0500)]
Update tcell

6 years agoUpdate tcell
Zachary Yedidia [Tue, 23 Jan 2018 04:40:42 +0000 (23:40 -0500)]
Update tcell

6 years agoAdd new shell command documentation
Zachary Yedidia [Tue, 23 Jan 2018 02:03:52 +0000 (21:03 -0500)]
Add new shell command documentation

Ref #979

6 years agoFix compile error
Zachary Yedidia [Mon, 22 Jan 2018 22:32:30 +0000 (17:32 -0500)]
Fix compile error

6 years agoImprove shell commands
Zachary Yedidia [Mon, 22 Jan 2018 22:20:03 +0000 (17:20 -0500)]
Improve shell commands

6 years agoMake onViewOpen and onBufferOpen the same
Zachary Yedidia [Mon, 22 Jan 2018 20:27:56 +0000 (15:27 -0500)]
Make onViewOpen and onBufferOpen the same

Ref #948

6 years agoDon't throw error if job callback doesn't exist
Zachary Yedidia [Sun, 21 Jan 2018 21:31:13 +0000 (16:31 -0500)]
Don't throw error if job callback doesn't exist

Closes #953

6 years agoExpose emulator functions and support output
Zachary Yedidia [Sun, 21 Jan 2018 04:34:16 +0000 (23:34 -0500)]
Expose emulator functions and support output

Ref #979

6 years agoUse zyedidia/pty instead of kr/pty
Zachary Yedidia [Sun, 21 Jan 2018 03:28:17 +0000 (22:28 -0500)]
Use zyedidia/pty instead of kr/pty

6 years agoChange HandleShellCommand backend
Zachary Yedidia [Sun, 21 Jan 2018 03:23:52 +0000 (22:23 -0500)]
Change HandleShellCommand backend

I'm trying to add more options for plugins that want to run shell
commands. Also trying to add support for running shell commands in the
terminal emulator from a plugin and return the output.

More to come soon.

Ref #979

6 years agoImprove unicode softwrap drawing
Zachary Yedidia [Sat, 20 Jan 2018 17:36:22 +0000 (12:36 -0500)]
Improve unicode softwrap drawing

Ref #1002
Ref #909

6 years agoMerge
Zachary Yedidia [Fri, 19 Jan 2018 05:28:58 +0000 (00:28 -0500)]
Merge

6 years agoClean up terminal emulator a bit
Zachary Yedidia [Fri, 19 Jan 2018 05:28:51 +0000 (00:28 -0500)]
Clean up terminal emulator a bit

6 years agoMerge pull request #999 from sum01/create_parents
Zachary Yedidia [Thu, 18 Jan 2018 05:49:45 +0000 (00:49 -0500)]
Merge pull request #999 from sum01/create_parents

Create parent folders (if none) when saving

6 years agoMerge pull request #1001 from sum01/makefile_syntax
Zachary Yedidia [Thu, 18 Jan 2018 04:59:36 +0000 (23:59 -0500)]
Merge pull request #1001 from sum01/makefile_syntax

Fix Makefile equals highlighting

6 years agoFix Makefile = highlighting
sum01 [Thu, 18 Jan 2018 04:44:53 +0000 (23:44 -0500)]
Fix Makefile = highlighting
I think they weren't being highlighted at all, leading to a weird looking default white box around them.

6 years agoPrompt to create parent folders (if none) when saving
sum01 [Wed, 17 Jan 2018 02:54:13 +0000 (21:54 -0500)]
Prompt to create parent folders (if none) when saving
Fixes #995

6 years agoSupport line:col in JumpLine
Zachary Yedidia [Thu, 18 Jan 2018 00:09:50 +0000 (19:09 -0500)]
Support line:col in JumpLine

Closes #1000

6 years agoFix minor autoindent issue
Zachary Yedidia [Wed, 17 Jan 2018 22:37:17 +0000 (17:37 -0500)]
Fix minor autoindent issue

Fixes #985

6 years agoMerge pull request #998 from JoshuaRLi/select-line-action
Zachary Yedidia [Wed, 17 Jan 2018 22:25:37 +0000 (17:25 -0500)]
Merge pull request #998 from JoshuaRLi/select-line-action

Implemented SelectLine as an Action

6 years agoFix shebang js highlighting and js division
Zachary Yedidia [Wed, 17 Jan 2018 22:19:03 +0000 (17:19 -0500)]
Fix shebang js highlighting and js division

Closes #901
Closes #994

6 years agoimplemented select line as an Action
Joshua Li [Tue, 16 Jan 2018 22:27:15 +0000 (17:27 -0500)]
implemented select line as an Action

6 years agoDon't use indentchar style if disabled
Zachary Yedidia [Sun, 14 Jan 2018 19:23:30 +0000 (11:23 -0800)]
Don't use indentchar style if disabled

Fixes #990

6 years agoFix autocomplete on empty prompt
Zachary Yedidia [Wed, 10 Jan 2018 20:41:49 +0000 (15:41 -0500)]
Fix autocomplete on empty prompt

6 years agoAdd onBufferOpen plugin callback
Zachary Yedidia [Mon, 8 Jan 2018 22:08:11 +0000 (17:08 -0500)]
Add onBufferOpen plugin callback

Closes #948

6 years agoAdd GetMouseClickLocation to view
Zachary Yedidia [Mon, 8 Jan 2018 21:54:27 +0000 (16:54 -0500)]
Add GetMouseClickLocation to view

6 years agoUpdate third-party licenses
Zachary Yedidia [Mon, 8 Jan 2018 21:41:26 +0000 (16:41 -0500)]
Update third-party licenses

6 years agoRemove duplicate utf8 code
Zachary Yedidia [Mon, 8 Jan 2018 21:38:59 +0000 (16:38 -0500)]
Remove duplicate utf8 code

6 years agoChange docs to use true/false instead of on/off
Zachary Yedidia [Mon, 8 Jan 2018 20:21:32 +0000 (15:21 -0500)]
Change docs to use true/false instead of on/off

Closes #976

6 years agoAdd railscast colorscheme
Zachary Yedidia [Mon, 8 Jan 2018 02:02:24 +0000 (21:02 -0500)]
Add railscast colorscheme

From https://github.com/pbsds/micro-railscast-theme

6 years agoDon't brace highlight with selection
Zachary Yedidia [Mon, 8 Jan 2018 01:58:01 +0000 (20:58 -0500)]
Don't brace highlight with selection

6 years agoAdd JumpToMatchingBrace action
Zachary Yedidia [Sun, 7 Jan 2018 21:17:22 +0000 (16:17 -0500)]
Add JumpToMatchingBrace action

This commit adds the JumpToMatchingBrace action which lets the cursor
jump to a matching brace if it is on one.

Closes #853

6 years agoAdd brace highlighting
Zachary Yedidia [Sun, 7 Jan 2018 20:50:08 +0000 (15:50 -0500)]
Add brace highlighting

Use the 'matchbrace' option which is off by default.

Ref #853

6 years agoFix minor issue with indent/outdent selection
Zachary Yedidia [Sat, 6 Jan 2018 21:04:18 +0000 (16:04 -0500)]
Fix minor issue with indent/outdent selection

Fixes #984

6 years agoUpdate readme
Zachary Yedidia [Sat, 6 Jan 2018 04:05:20 +0000 (23:05 -0500)]
Update readme

6 years agoMerge pull request #877 from IOAyman/readme
Zachary Yedidia [Sat, 6 Jan 2018 04:04:52 +0000 (23:04 -0500)]
Merge pull request #877 from IOAyman/readme

Added ToC in README

6 years agoAdd support for selection and copy in terminal
Zachary Yedidia [Sat, 6 Jan 2018 03:44:36 +0000 (22:44 -0500)]
Add support for selection and copy in terminal

This commit adds mouse and copy support in the terminal emulator
in micro.

6 years agoMerge
Zachary Yedidia [Sat, 6 Jan 2018 02:39:03 +0000 (21:39 -0500)]
Merge

6 years agoClean up terminal a bit and wait before closing
Zachary Yedidia [Sat, 6 Jan 2018 02:38:40 +0000 (21:38 -0500)]
Clean up terminal a bit and wait before closing

6 years agoMerge pull request #982 from sum01/syntax-touchups
Zachary Yedidia [Fri, 5 Jan 2018 19:06:38 +0000 (14:06 -0500)]
Merge pull request #982 from sum01/syntax-touchups

Remove weird ignore on git-commit

6 years agoRemove weird ignore on git-commit
sum01 [Fri, 5 Jan 2018 08:35:11 +0000 (03:35 -0500)]
Remove weird ignore on git-commit
It was needlessly highlighting everything that wasn't a comment.

Adds keyword detection for Github-esque issue-closing syntax.
Adds missing 'd' and 'drop' highlighting in git-rebase-todo

6 years agoMerge pull request #981 from sum01/fix_import
Zachary Yedidia [Fri, 5 Jan 2018 03:29:27 +0000 (22:29 -0500)]
Merge pull request #981 from sum01/fix_import

Fix #980 duplicate import

6 years agoFix #980 duplicate import
sum01 [Fri, 5 Jan 2018 03:27:09 +0000 (22:27 -0500)]
Fix #980 duplicate import

6 years agoFix windows errors
Zachary Yedidia [Fri, 5 Jan 2018 02:46:44 +0000 (21:46 -0500)]
Fix windows errors

6 years agoAdd more comments
Zachary Yedidia [Thu, 4 Jan 2018 22:14:51 +0000 (17:14 -0500)]
Add more comments

6 years agoAdd new dependencies
Zachary Yedidia [Thu, 4 Jan 2018 22:05:49 +0000 (17:05 -0500)]
Add new dependencies

6 years agoInitial support for terminal within micro
Zachary Yedidia [Thu, 4 Jan 2018 22:03:08 +0000 (17:03 -0500)]
Initial support for terminal within micro

This commit adds beta support for running a shell or other program
within a micro view.

Use the `> term` command. With no arguments, `term` will open your
shell in interactive mode. You can also run an arbitrary command
with `> term cmd` and the command with be executed and output
shown. One issue at the moment is the terminal window will close
immediately after the process dies.

No mouse events are sent to programs running within micro.

Ref #243

6 years agoImprove command bar completion
Zachary Yedidia [Thu, 4 Jan 2018 02:35:03 +0000 (21:35 -0500)]
Improve command bar completion

6 years agoUpdate colorscheme list in docs
Zachary Yedidia [Wed, 3 Jan 2018 03:46:24 +0000 (22:46 -0500)]
Update colorscheme list in docs

Closes #956

6 years agoAdd basename option
Zachary Yedidia [Wed, 3 Jan 2018 03:25:55 +0000 (22:25 -0500)]
Add basename option

Closes #903

6 years agoImprove file save speed for large files
Zachary Yedidia [Tue, 2 Jan 2018 23:36:29 +0000 (18:36 -0500)]
Improve file save speed for large files

6 years agoMore command binding
Zachary Yedidia [Tue, 2 Jan 2018 20:15:28 +0000 (15:15 -0500)]
More command binding

Now can bind editable commands with `command-edit:`

Ref #974

6 years agoMerge
Zachary Yedidia [Tue, 2 Jan 2018 20:03:10 +0000 (15:03 -0500)]
Merge

6 years agoAllow binding commands
Zachary Yedidia [Tue, 2 Jan 2018 20:02:46 +0000 (15:02 -0500)]
Allow binding commands

Bind commands with `command:...`

Ref #974

6 years agoAdd some Lua syntax (#962)
sum01 [Sun, 31 Dec 2017 05:37:11 +0000 (00:37 -0500)]
Add some Lua syntax (#962)

* Add some missing Lua string syntax
All Lua strings have the string functions inside of them.

'...you can use the string functions in object-oriented style'
See '6.4 – String Manipulation' in https://www.lua.org/manual/5.3/manual.html

* Lua - Highlight self and TODO/NOTE/FIXME

* Add Lua 'arg' and triple-dot syntax

6 years agoMerge pull request #971 from mbesancon/patch-1
Zachary Yedidia [Sun, 31 Dec 2017 05:36:49 +0000 (00:36 -0500)]
Merge pull request #971 from mbesancon/patch-1

added const for julia

6 years agoMerge pull request #973 from sum01/micro_syntax
Zachary Yedidia [Sun, 31 Dec 2017 05:36:38 +0000 (00:36 -0500)]
Merge pull request #973 from sum01/micro_syntax

Fix micro (color) file syntax

6 years agoFix micro file syntax
sum01 [Sat, 30 Dec 2017 16:47:39 +0000 (11:47 -0500)]
Fix micro file syntax
Some of the words were missing, so this adds those.

6 years agoadded const for julia
mbesancon [Fri, 29 Dec 2017 18:08:21 +0000 (13:08 -0500)]
added const for julia

const is a base keyword

6 years agoMerge
Zachary Yedidia [Thu, 28 Dec 2017 21:05:53 +0000 (16:05 -0500)]
Merge

6 years agoFix options cmdline message
Zachary Yedidia [Thu, 28 Dec 2017 21:05:35 +0000 (16:05 -0500)]
Fix options cmdline message

Ref #969

6 years agoMerge pull request #942 from motet-a/javascript-syntax
Zachary Yedidia [Thu, 28 Dec 2017 19:57:49 +0000 (14:57 -0500)]
Merge pull request #942 from motet-a/javascript-syntax

Improve JavaScript syntax highlighting

6 years agoMerge pull request #960 from nitsakh/insert-issue
Zachary Yedidia [Thu, 28 Dec 2017 19:54:31 +0000 (14:54 -0500)]
Merge pull request #960 from nitsakh/insert-issue

Changes to add support for Insert Key Press

6 years agoMerge pull request #965 from tommyshem/ada
Zachary Yedidia [Thu, 28 Dec 2017 19:52:09 +0000 (14:52 -0500)]
Merge pull request #965 from tommyshem/ada

#964 add ada syntax highlighting file

6 years ago#964 add ada syntax
tommy [Wed, 27 Dec 2017 14:27:42 +0000 (14:27 +0000)]
#964 add ada syntax

6 years agoMerge pull request #961 from sum01/fix_commit_syntax
Zachary Yedidia [Sat, 23 Dec 2017 04:06:37 +0000 (23:06 -0500)]
Merge pull request #961 from sum01/fix_commit_syntax

Fix git-commit comment syntax

6 years agoFix git-commit comment syntax
sum01 [Sat, 23 Dec 2017 01:02:43 +0000 (20:02 -0500)]
Fix git-commit comment syntax
A comment in a git-commit must have the hash at the start of the line, instead of just anywhere in the line.

6 years agoUpdating to make overwrite mode as an action
Nitish Sakhawalkar [Tue, 19 Dec 2017 01:11:00 +0000 (17:11 -0800)]
Updating to make overwrite mode as an action

6 years agoChanges to add support for Insert Key Press
Nitish Sakhawalkar [Fri, 15 Dec 2017 22:43:37 +0000 (14:43 -0800)]
Changes to add support for Insert Key Press

6 years agoImprove JavaScript syntax highlighting
Antoine Motet [Sun, 3 Dec 2017 22:30:29 +0000 (23:30 +0100)]
Improve JavaScript syntax highlighting

- Sort keywords alphabetically
- Use `symbol.operator` for operators instead of `statement`
- Add a basic support for back-tick strings
- Mark unassigned keywords as errors

6 years agocreate plugin folders work on windows fix #931 (#951)
Tommy [Thu, 14 Dec 2017 02:53:30 +0000 (02:53 +0000)]
create plugin folders work on windows fix #931 (#951)

6 years agoDon't autosave buffers with no path
Zachary Yedidia [Wed, 13 Dec 2017 17:43:00 +0000 (12:43 -0500)]
Don't autosave buffers with no path

Closes #955

6 years agoRemove android from actions_other build tag
Zachary Yedidia [Sun, 10 Dec 2017 21:15:06 +0000 (16:15 -0500)]
Remove android from actions_other build tag

Ref #949

6 years agoMerge pull request #946 from tommyshem/luafix
Zachary Yedidia [Mon, 4 Dec 2017 20:41:48 +0000 (15:41 -0500)]
Merge pull request #946 from tommyshem/luafix

fix lua comment block #929

6 years agofix lua comment block
tommy [Mon, 4 Dec 2017 20:30:35 +0000 (20:30 +0000)]
fix lua comment block

6 years agoAdd support for setting local settings via filetype
Zachary Yedidia [Mon, 4 Dec 2017 04:38:09 +0000 (23:38 -0500)]
Add support for setting local settings via filetype

6 years agoStore string keys for bindings
Zachary Yedidia [Mon, 4 Dec 2017 04:15:32 +0000 (23:15 -0500)]
Store string keys for bindings

6 years agoFix ViewType refactor
Zachary Yedidia [Sun, 3 Dec 2017 22:19:51 +0000 (17:19 -0500)]
Fix ViewType refactor

6 years agoMerge
Zachary Yedidia [Sun, 3 Dec 2017 21:49:27 +0000 (16:49 -0500)]
Merge

6 years agoMake ViewType fields public
Zachary Yedidia [Sun, 3 Dec 2017 21:49:05 +0000 (16:49 -0500)]
Make ViewType fields public

Ref #904

6 years agoFix typo in tutorial.md (#940)
Bastien Traverse [Sun, 3 Dec 2017 20:16:50 +0000 (21:16 +0100)]
Fix typo in tutorial.md (#940)

Delete extraneous "plugins" word in line 12.

6 years agoAllow plugins to create view types
Zachary Yedidia [Sun, 3 Dec 2017 20:15:07 +0000 (15:15 -0500)]
Allow plugins to create view types

Closes #904

6 years agoMerge
Zachary Yedidia [Sun, 3 Dec 2017 18:05:50 +0000 (13:05 -0500)]
Merge

6 years agoAdd showkey command
Zachary Yedidia [Sun, 3 Dec 2017 18:05:46 +0000 (13:05 -0500)]
Add showkey command

6 years agostop version error when updating and option to disable builtin plugin. (#939)
Tommy [Sun, 3 Dec 2017 17:41:22 +0000 (17:41 +0000)]
stop version error when updating and option to disable builtin plugin. (#939)

6 years agoMerge
Zachary Yedidia [Sat, 2 Dec 2017 01:39:30 +0000 (20:39 -0500)]
Merge

6 years agoUpdate readme
Zachary Yedidia [Sat, 2 Dec 2017 01:39:25 +0000 (20:39 -0500)]
Update readme

6 years agoTypo (#934)
Petr Shevtsov [Thu, 30 Nov 2017 16:39:44 +0000 (19:39 +0300)]
Typo (#934)

6 years agoAdd `raw` command to view raw terminal esc codes
Zachary Yedidia [Wed, 29 Nov 2017 06:06:16 +0000 (01:06 -0500)]
Add `raw` command to view raw terminal esc codes

6 years agoFix panic on scroll
Zachary Yedidia [Tue, 28 Nov 2017 02:44:29 +0000 (21:44 -0500)]
Fix panic on scroll

Fixes #932

6 years agoImprove command bar keybindings v1.3.4
Zachary Yedidia [Fri, 24 Nov 2017 19:43:26 +0000 (14:43 -0500)]
Improve command bar keybindings

The command bar now supports better keybindings:

CtrlA, CtrlLeft: start of line
CtrlE, CtrlRight: end of line
CtrlF, AltRight: next word
CtrlB, AltLeft: previous word
CtrlW, AltBackspace: delete previous word
CtrlV: Paste
Arrow keys as usual

These keybindings are not rebindable (maybe support will be added
in the future).

6 years agoMinor comment improvement
Zachary Yedidia [Fri, 24 Nov 2017 18:35:11 +0000 (13:35 -0500)]
Minor comment improvement

6 years agoFix autocomplete behavior for empty args
Zachary Yedidia [Fri, 24 Nov 2017 04:04:32 +0000 (23:04 -0500)]
Fix autocomplete behavior for empty args

This also adds a modified version of go-shellwords as a dependency
and removes the dependency on the original go-shellwords.

6 years agoMove incomplete colorschemes and improve cd
Zachary Yedidia [Thu, 23 Nov 2017 20:57:17 +0000 (15:57 -0500)]
Move incomplete colorschemes and improve cd

The default colorschemes should ideally use 256 colors instead
of just 16 colors. The `simple` colorscheme should cover most
16 color use cases. I went through the colorschemes and put the themes
that didn't look good or looked incomplete in an in_progress directory.

This commit also improves the `cd` command behavior when using an
unnamed buffer.

6 years agoCheck width before drawing cellview
Zachary Yedidia [Thu, 23 Nov 2017 19:44:07 +0000 (14:44 -0500)]
Check width before drawing cellview

Fixes #927

6 years agoImprove cmdbar parsing and add -l replace flag
Zachary Yedidia [Wed, 22 Nov 2017 18:54:39 +0000 (13:54 -0500)]
Improve cmdbar parsing and add -l replace flag

The -l flag to the replace command means "literal" and will treat
the search term literally instead of as a regular expression.

The command bar also now supports expanding environment variables
and running expressions through the shell and using the result
in the command.

6 years agoSupport either io/ioutil or ioutil for lua import
Zachary Yedidia [Tue, 21 Nov 2017 21:24:39 +0000 (16:24 -0500)]
Support either io/ioutil or ioutil for lua import

Closes #923

6 years agoImplement retab command
Zachary Yedidia [Tue, 21 Nov 2017 05:51:07 +0000 (00:51 -0500)]
Implement retab command

Ref #919

6 years agoMerge pull request #891 from pranavraja/master
Zachary Yedidia [Sun, 19 Nov 2017 20:47:05 +0000 (15:47 -0500)]
Merge pull request #891 from pranavraja/master

search: Only update lastSearch on ENTER