]> git.lizzy.rs Git - micro.git/log
micro.git
7 years agoAdd default ftoptions plugin to override settings
Zachary Yedidia [Tue, 8 Nov 2016 14:34:12 +0000 (09:34 -0500)]
Add default ftoptions plugin to override settings

The ftoptions plugin will override values in settings.json based
on language requirements (e.g. using tabs in makefiles).

7 years agoReset ModTime even if WriteFile fails
Zachary Yedidia [Thu, 3 Nov 2016 14:55:44 +0000 (10:55 -0400)]
Reset ModTime even if WriteFile fails

Ref #440

7 years agoMerge pull request #433 from ilius/pr03.python_syntax
Zachary Yedidia [Sat, 29 Oct 2016 14:20:41 +0000 (10:20 -0400)]
Merge pull request #433 from ilius/pr03.python_syntax

Fixes in Python 2.7 syntax, add Python 3.x syntax

7 years agoMerge pull request #436 from jncraton/paste-cleanup
Zachary Yedidia [Sat, 29 Oct 2016 14:20:16 +0000 (10:20 -0400)]
Merge pull request #436 from jncraton/paste-cleanup

Removed duplicate paste code for OS-level paste

7 years agoRemoved duplicate paste code for OS-level paste
Jon Craton [Sat, 29 Oct 2016 03:15:55 +0000 (23:15 -0400)]
Removed duplicate paste code for OS-level paste

7 years agoMerge
Zachary Yedidia [Sat, 29 Oct 2016 00:34:38 +0000 (20:34 -0400)]
Merge

7 years agoAdd ByteOffset and ToCharPos to plugin API
Zachary Yedidia [Sat, 29 Oct 2016 00:34:28 +0000 (20:34 -0400)]
Add ByteOffset and ToCharPos to plugin API

7 years agoMerge pull request #435 from jncraton/bottomline-selection-fix
Zachary Yedidia [Sat, 29 Oct 2016 00:00:59 +0000 (20:00 -0400)]
Merge pull request #435 from jncraton/bottomline-selection-fix

Search entire file for soft wrap location instead of line 1 to the number of lines in view

7 years agoSearch entire file instead of line 1 to the number of lines in view
Jon Craton [Fri, 28 Oct 2016 23:42:17 +0000 (19:42 -0400)]
Search entire file instead of line 1 to the number of lines in view

7 years agoadd python3 syntax highlighting (detect from header)
Saeed Rasooli [Fri, 28 Oct 2016 17:25:29 +0000 (20:55 +0330)]
add python3 syntax highlighting (detect from header)

7 years agofixes in python (2.7) syntax file, and rename to python2.micro
Saeed Rasooli [Fri, 28 Oct 2016 17:24:25 +0000 (20:54 +0330)]
fixes in python (2.7) syntax file, and rename to python2.micro
constants: sort by name, and __file__, remove __import__
functions: add next, help, __import__
separate types (like int and str) from builtin functions
separate and comment out methods/attrs of standard library (why hightlight?)
comment out NonSenseTypes like IntType, they are never used in code
magic methods: add __dict__
exec and map are functions, not keyword
remove trailing spaces

7 years agoImprovement: FindFileType: header regex should be prior to file extention
Saeed Rasooli [Wed, 12 Oct 2016 22:22:10 +0000 (01:52 +0330)]
Improvement: FindFileType: header regex should be prior to file extention

7 years agoFix problem with calculation Bottomline
Zachary Yedidia [Wed, 26 Oct 2016 16:29:23 +0000 (12:29 -0400)]
Fix problem with calculation Bottomline

Fixes #432

7 years agoAdd 'plugin available' command
Zachary Yedidia [Mon, 24 Oct 2016 23:02:13 +0000 (19:02 -0400)]
Add 'plugin available' command

Closes #413

7 years agoMinor update v1.1.2
Zachary Yedidia [Mon, 24 Oct 2016 12:03:00 +0000 (08:03 -0400)]
Minor update

7 years agoAdd eofnewline option
Zachary Yedidia [Sun, 23 Oct 2016 22:37:29 +0000 (18:37 -0400)]
Add eofnewline option

Closes #429

Enable with '> set eofnewline on'

7 years agoAdd reload command
Zachary Yedidia [Fri, 21 Oct 2016 15:51:36 +0000 (11:51 -0400)]
Add reload command

Closes #427

7 years agoAdd website to readme
Zachary Yedidia [Fri, 21 Oct 2016 14:57:37 +0000 (10:57 -0400)]
Add website to readme

7 years agoUpdate runtime
Zachary Yedidia [Wed, 19 Oct 2016 14:34:09 +0000 (10:34 -0400)]
Update runtime

7 years agoMerge pull request #425 from adrianvoica/master
Zachary Yedidia [Wed, 19 Oct 2016 11:26:49 +0000 (07:26 -0400)]
Merge pull request #425 from adrianvoica/master

Updated TypeScript with all the reserved words and new types

7 years agoMerge pull request #423 from ulrichSchreiner/master
Zachary Yedidia [Wed, 19 Oct 2016 11:26:36 +0000 (07:26 -0400)]
Merge pull request #423 from ulrichSchreiner/master

add additional Dockerfile keywords

7 years agoMerge pull request #424 from ulrichSchreiner/yaml-highlighter
Zachary Yedidia [Wed, 19 Oct 2016 11:26:23 +0000 (07:26 -0400)]
Merge pull request #424 from ulrichSchreiner/yaml-highlighter

highlight yaml dicts as types

7 years agoUpdated TypeScript with all the reserved words and new types
Adrian Voica [Wed, 19 Oct 2016 08:54:49 +0000 (11:54 +0300)]
Updated TypeScript with all the reserved words and new types

7 years agohighlight yaml dicts as types
Ulrich Schreiner [Wed, 19 Oct 2016 07:35:03 +0000 (09:35 +0200)]
highlight yaml dicts as types

7 years agoadd additional Dockerfile keywords
Ulrich Schreiner [Wed, 19 Oct 2016 04:34:50 +0000 (06:34 +0200)]
add additional Dockerfile keywords

7 years agoCleanup and add more comments
Zachary Yedidia [Tue, 18 Oct 2016 15:12:28 +0000 (11:12 -0400)]
Cleanup and add more comments

7 years agoMerge
Zachary Yedidia [Tue, 18 Oct 2016 12:58:31 +0000 (08:58 -0400)]
Merge

7 years agoFix dockerfile syntax file
Zachary Yedidia [Tue, 18 Oct 2016 12:58:09 +0000 (08:58 -0400)]
Fix dockerfile syntax file

Fixes #421

7 years agoMerge pull request #417 from jncraton/outdent-line
Zachary Yedidia [Sun, 16 Oct 2016 13:55:24 +0000 (09:55 -0400)]
Merge pull request #417 from jncraton/outdent-line

Added OutdentLine action

7 years agoAdded OutdentLine action
Jon Craton [Sat, 15 Oct 2016 16:47:15 +0000 (12:47 -0400)]
Added OutdentLine action

7 years agoAdded IndentString method on Buffer (#415)
Jon Craton [Sat, 15 Oct 2016 14:09:20 +0000 (10:09 -0400)]
Added IndentString method on Buffer (#415)

* Added IndentString function to retrun the string used for indentation (n-spaces or a tab) based on buffer settings

* Combined redundant  statements

* Removed duplicate leading whitespace check

* Better IndentString description

* Fixed remainder logic that I broke

7 years agoMerge pull request #416 from jncraton/duplicate-selection
Zachary Yedidia [Sat, 15 Oct 2016 14:09:08 +0000 (10:09 -0400)]
Merge pull request #416 from jncraton/duplicate-selection

DuplicateLine duplicates current selection if there is text selected

7 years agoDuplicateLine now duplicates the current selection if there is text selected
Jon Craton [Sat, 15 Oct 2016 02:22:48 +0000 (22:22 -0400)]
DuplicateLine now duplicates the current selection if there is text selected

7 years agoRefactored IndentSelection and OutdentSelection to remove duplicate code (#414)
Jon Craton [Fri, 14 Oct 2016 20:52:55 +0000 (16:52 -0400)]
Refactored IndentSelection and OutdentSelection to remove duplicate code (#414)

* Refactored indent selection

* Refactored OutdentSelection

* Refactored to use x and y instead of line and j

7 years agoMerge pull request #412 from ilius/pr04.keybindings_help_fixes
Zachary Yedidia [Fri, 14 Oct 2016 11:37:45 +0000 (07:37 -0400)]
Merge pull request #412 from ilius/pr04.keybindings_help_fixes

Fixes in keybindings.md

7 years agoMerge pull request #411 from zenlc2000/master
Zachary Yedidia [Fri, 14 Oct 2016 11:35:19 +0000 (07:35 -0400)]
Merge pull request #411 from zenlc2000/master

Reworded first sentence to make it clearer.

7 years agoBugfix: keybindings.md: fix bad json syntax, due to #407
Saeed Rasooli [Fri, 14 Oct 2016 00:30:05 +0000 (04:00 +0330)]
Bugfix: keybindings.md: fix bad json syntax, due to #407

7 years agoupdate keybindings.md due to PR #409
Saeed Rasooli [Fri, 14 Oct 2016 00:14:47 +0000 (03:44 +0330)]
update keybindings.md due to PR #409

7 years agoReworded first sentence to make it clearer.
zenlc2000 [Fri, 14 Oct 2016 05:10:37 +0000 (23:10 -0600)]
Reworded first sentence to make it clearer.

7 years agoMore fixes to search and replace
Zachary Yedidia [Fri, 14 Oct 2016 00:47:33 +0000 (20:47 -0400)]
More fixes to search and replace

7 years agoImprovements for softwrap mouse support
Zachary Yedidia [Thu, 13 Oct 2016 21:09:15 +0000 (17:09 -0400)]
Improvements for softwrap mouse support

7 years agoFix problem with regexes in search and replace
Zachary Yedidia [Thu, 13 Oct 2016 18:59:57 +0000 (14:59 -0400)]
Fix problem with regexes in search and replace

Fixes #410

7 years agoFix mouse support with soft wrap
Zachary Yedidia [Thu, 13 Oct 2016 18:26:45 +0000 (14:26 -0400)]
Fix mouse support with soft wrap

7 years agoAlways use the selection as search term when using quick search
Zachary Yedidia [Thu, 13 Oct 2016 16:12:55 +0000 (12:12 -0400)]
Always use the selection as search term when using quick search

7 years agoMerge pull request #409 from ilius/pr02.improve_search_escape
Zachary Yedidia [Thu, 13 Oct 2016 16:10:11 +0000 (12:10 -0400)]
Merge pull request #409 from ilius/pr02.improve_search_escape

Improve Search behaviour, and Escape key behaviour

7 years agoFix problem with horizontal scrolling
Zachary Yedidia [Thu, 13 Oct 2016 02:05:24 +0000 (22:05 -0400)]
Fix problem with horizontal scrolling

7 years agoFix problem causing hsplits not to display
Zachary Yedidia [Thu, 13 Oct 2016 02:03:16 +0000 (22:03 -0400)]
Fix problem causing hsplits not to display

7 years agoImprovement: improve Search behaviour, and Escape key behaviour
Saeed Rasooli [Wed, 12 Oct 2016 08:11:45 +0000 (11:41 +0330)]
Improvement: improve Search behaviour, and Escape key behaviour

7 years agoAdd docs
Zachary Yedidia [Wed, 12 Oct 2016 20:34:34 +0000 (16:34 -0400)]
Add docs

7 years agoFix glitch with bottomline when softwrap is disabled
Zachary Yedidia [Wed, 12 Oct 2016 20:30:32 +0000 (16:30 -0400)]
Fix glitch with bottomline when softwrap is disabled

7 years agoAdd softwrap
Zachary Yedidia [Wed, 12 Oct 2016 20:24:00 +0000 (16:24 -0400)]
Add softwrap

7 years agoFixes in last PR: MoveLinesUp and MoveLinesDown (#408)
Saeed Rasooli [Wed, 12 Oct 2016 15:38:44 +0000 (19:08 +0330)]
Fixes in last PR: MoveLinesUp and MoveLinesDown (#408)

* Bugfix: fix panic in MoveLinesUp when moving up the *last* line

* Bugfix: don't panic in Buffer.Line if index is out or range

* clean MoveLinesDown since it won't work for the last line anyway, add comment

* Cleanup: replace spaces with tabs in MoveLinesUp and MoveLinesDown

7 years agoMerge
Zachary Yedidia [Wed, 12 Oct 2016 14:47:40 +0000 (14:47 +0000)]
Merge

7 years agoUse build-date.go in cross compilation script
Zachary Yedidia [Wed, 12 Oct 2016 14:47:29 +0000 (14:47 +0000)]
Use build-date.go in cross compilation script

7 years agoMerge pull request #407 from ilius/pr01.move_up_down
Zachary Yedidia [Wed, 12 Oct 2016 13:51:30 +0000 (09:51 -0400)]
Merge pull request #407 from ilius/pr01.move_up_down

Feature: add MoveLinesUp (Alt + Up) and MoveLinesDown (Alt + Down) actions

7 years agoImprovement: move MoveLinesUp and MoveLinesDown to Buffer
Saeed Rasooli [Wed, 12 Oct 2016 04:44:49 +0000 (08:14 +0330)]
Improvement: move MoveLinesUp and MoveLinesDown to Buffer
enables Undo/Redo with EventHandler, #407

7 years agoadd help for MoveLinesUp and MoveLinesDown
Saeed Rasooli [Tue, 11 Oct 2016 21:34:28 +0000 (01:04 +0330)]
add help for MoveLinesUp and MoveLinesDown

7 years agoFeature: add MoveLinesUp (Alt + Up) and MoveLinesDown (Alt + Down) actions
Saeed Rasooli [Tue, 11 Oct 2016 19:35:41 +0000 (23:05 +0330)]
Feature: add MoveLinesUp (Alt + Up) and MoveLinesDown (Alt + Down) actions

7 years agoUpdate installation instructions
Zachary Yedidia [Tue, 11 Oct 2016 22:21:06 +0000 (18:21 -0400)]
Update installation instructions

7 years agoReturn 0.0.0-unknown version if building without a git repo
Zachary Yedidia [Tue, 11 Oct 2016 19:25:39 +0000 (15:25 -0400)]
Return 0.0.0-unknown version if building without a git repo

7 years agoImprove Makefile
Zachary Yedidia [Tue, 11 Oct 2016 15:07:53 +0000 (11:07 -0400)]
Improve Makefile

Now you can use 'make update' which will update micro and all the
dependencies (but won't rebuild). The makefile also now supports
having a $GOBIN variable and having multiple directories in your
$GOPATH.

7 years agoUpdate readme installation instructions
Zachary Yedidia [Tue, 11 Oct 2016 13:34:49 +0000 (09:34 -0400)]
Update readme installation instructions

7 years agoUpdate docs
Zachary Yedidia [Tue, 11 Oct 2016 13:13:03 +0000 (09:13 -0400)]
Update docs

7 years agoMake monokai the default colorscheme
Zachary Yedidia [Tue, 11 Oct 2016 13:09:56 +0000 (09:09 -0400)]
Make monokai the default colorscheme

Monokai is a better default colorscheme because it has a better 16
color approximation than zenburn. On 16 color terminals, it looks like
zenburn is not syntax highlighting anything.

7 years agoMerge
Zachary Yedidia [Tue, 11 Oct 2016 01:44:48 +0000 (21:44 -0400)]
Merge

7 years agoFix tabstop sizing with mix of tabs and spaces
Zachary Yedidia [Tue, 11 Oct 2016 01:44:16 +0000 (21:44 -0400)]
Fix tabstop sizing with mix of tabs and spaces

Fixes #404

7 years agoMerge v1.1.1
Zachary Yedidia [Mon, 10 Oct 2016 22:40:48 +0000 (18:40 -0400)]
Merge

7 years agoUse default foreground for empty indent chars
Zachary Yedidia [Mon, 10 Oct 2016 22:40:21 +0000 (18:40 -0400)]
Use default foreground for empty indent chars

Fixes #403

7 years agoTemporary fix for plugin panic
Zachary Yedidia [Sat, 8 Oct 2016 00:34:03 +0000 (20:34 -0400)]
Temporary fix for plugin panic

Fixes #402

7 years agoUpdate docs and readme v1.1.0
Zachary Yedidia [Fri, 7 Oct 2016 00:36:37 +0000 (20:36 -0400)]
Update docs and readme

7 years agoMake linter a default plugin once again
Zachary Yedidia [Fri, 7 Oct 2016 00:28:10 +0000 (20:28 -0400)]
Make linter a default plugin once again

7 years agoImprove binary size by stripping more aggressively
Zachary Yedidia [Thu, 6 Oct 2016 21:45:28 +0000 (17:45 -0400)]
Improve binary size by stripping more aggressively

7 years agoMove linter and go plugins to their own repos
Zachary Yedidia [Thu, 6 Oct 2016 21:18:53 +0000 (17:18 -0400)]
Move linter and go plugins to their own repos

The linter and go plugins are no longer 'default'. Their installation
should be handled by the plugin manager: `> plugin install go` and
`> plugin install linter`.

The autoclose plugin will remain a default plugin because it provides
a more essential feature.

Closes #397

7 years agoImprove plugin manager error feedback
Zachary Yedidia [Thu, 6 Oct 2016 17:39:57 +0000 (13:39 -0400)]
Improve plugin manager error feedback

7 years agoMerge pull request #396 from boombuler/help
Zachary Yedidia [Thu, 6 Oct 2016 11:22:25 +0000 (07:22 -0400)]
Merge pull request #396 from boombuler/help

updated plugin help

7 years agoupdated plugin help
Florian Sundermann [Thu, 6 Oct 2016 06:24:39 +0000 (08:24 +0200)]
updated plugin help

7 years agoUpdate readme
Zachary Yedidia [Wed, 5 Oct 2016 22:28:08 +0000 (18:28 -0400)]
Update readme

7 years agoAdd some documentation about plugin manager
Zachary Yedidia [Wed, 5 Oct 2016 22:26:41 +0000 (18:26 -0400)]
Add some documentation about plugin manager

7 years agoAdd more descriptive error messages for plugin installation failures
Zachary Yedidia [Wed, 5 Oct 2016 22:00:05 +0000 (18:00 -0400)]
Add more descriptive error messages for plugin installation failures

Ref #378

7 years agoUse official plugin channel
Zachary Yedidia [Wed, 5 Oct 2016 21:57:03 +0000 (17:57 -0400)]
Use official plugin channel

Use the channel for official plugins from
https://github.com/micro-editor/plugin-channel

Ref #378

7 years agoOnly allow one package per repository
Zachary Yedidia [Wed, 5 Oct 2016 21:52:39 +0000 (17:52 -0400)]
Only allow one package per repository

This may be temporary.

Ref #378

7 years agoMerge pull request #378 from boombuler/pm
Zachary Yedidia [Wed, 5 Oct 2016 21:51:22 +0000 (17:51 -0400)]
Merge pull request #378 from boombuler/pm

Plugin-Manager

7 years agoAdd 'Unsplit' action and VSplit and HSplit actions
Zachary Yedidia [Tue, 4 Oct 2016 15:08:32 +0000 (11:08 -0400)]
Add 'Unsplit' action and VSplit and HSplit actions

This commit adds the 'Unsplit' action used to close all splits except
the current one.

It also adds the 'VSplit' and 'HSplit' actions which open empty
vertical/horizontal splits so you can bind them to keys.

Closes #228

7 years agochanged json5 repo
boombuler [Sun, 2 Oct 2016 05:57:39 +0000 (07:57 +0200)]
changed json5 repo

7 years agoskip core dependencies if micro was build with an unknown version.
boombuler [Sat, 1 Oct 2016 07:28:48 +0000 (09:28 +0200)]
skip core dependencies if micro was build with an unknown version.

7 years agoallow user to set plugin channels / repos in settings.json
boombuler [Sat, 1 Oct 2016 06:37:04 +0000 (08:37 +0200)]
allow user to set plugin channels / repos in settings.json

7 years agofix plugin zips which contain a root directory
boombuler [Sat, 1 Oct 2016 06:05:05 +0000 (08:05 +0200)]
fix plugin zips which contain a root directory

7 years agonew command `plugin list`
boombuler [Sat, 1 Oct 2016 05:37:20 +0000 (07:37 +0200)]
new command `plugin list`

this command shows all currently installed plugins and their verion

7 years agoMerge remote-tracking branch 'zyedidia/master' into pm
boombuler [Sat, 1 Oct 2016 05:20:21 +0000 (07:20 +0200)]
Merge remote-tracking branch 'zyedidia/master' into pm

7 years agoFix more tabnum issues
Zachary Yedidia [Fri, 30 Sep 2016 11:29:24 +0000 (07:29 -0400)]
Fix more tabnum issues

Fixes #395

7 years agoSwitch to my fork of json5
Zachary Yedidia [Thu, 29 Sep 2016 22:43:10 +0000 (18:43 -0400)]
Switch to my fork of json5

This should reduce go get download times for micro considerably
because the original json5 committed a bunch of binaries which
cause the repository to be very large and slow to download.

My fork fixes that.

7 years agoFix SplitTree tab index
Zachary Yedidia [Thu, 29 Sep 2016 18:23:25 +0000 (14:23 -0400)]
Fix SplitTree tab index

Fixes #392

7 years agoMinor optimization to tabsize fix
Zachary Yedidia [Wed, 28 Sep 2016 22:08:06 +0000 (18:08 -0400)]
Minor optimization to tabsize fix

7 years agoMerge pull request #387 from boombuler/bug379
Zachary Yedidia [Wed, 28 Sep 2016 22:06:18 +0000 (18:06 -0400)]
Merge pull request #387 from boombuler/bug379

fixes #379 (second try)

7 years agoMake sure /Users/zachary/gocode/bin exists before putting binary there
Zachary Yedidia [Wed, 28 Sep 2016 21:59:40 +0000 (17:59 -0400)]
Make sure /Users/zachary/gocode/bin exists before putting binary there

7 years agoMerge pull request #389 from dsnet/master
Zachary Yedidia [Wed, 28 Sep 2016 21:57:43 +0000 (17:57 -0400)]
Merge pull request #389 from dsnet/master

fix offset calculation for column ruler

7 years agofix offset calculation for column ruler
Joe Tsai [Wed, 28 Sep 2016 20:40:48 +0000 (13:40 -0700)]
fix offset calculation for column ruler

The calculation for the column ruler index should:
* include the offset for the line numbers gutter
* not include the leftmost column since ruler should scroll with the pane

Fixes #379

7 years agofixes #379 (second try)
boombuler [Wed, 28 Sep 2016 19:54:34 +0000 (21:54 +0200)]
fixes #379 (second try)

7 years agoMerge pull request #386 from zyedidia/revert-382-bug379
Zachary Yedidia [Wed, 28 Sep 2016 18:07:29 +0000 (14:07 -0400)]
Merge pull request #386 from zyedidia/revert-382-bug379

Revert "fixes #379"

7 years agoRevert "fixes #379"
Zachary Yedidia [Wed, 28 Sep 2016 18:07:17 +0000 (14:07 -0400)]
Revert "fixes #379"