]> git.lizzy.rs Git - micro.git/log
micro.git
7 years agoMinor fix to current line num style
Zachary Yedidia [Wed, 17 Aug 2016 15:59:29 +0000 (11:59 -0400)]
Minor fix to current line num style

7 years agoMerge pull request #209 from onodera-punpun/coloredline
Zachary Yedidia [Wed, 17 Aug 2016 02:03:07 +0000 (22:03 -0400)]
Merge pull request #209 from onodera-punpun/coloredline

Add colored current line number option

7 years agoClean up go plugin
Zachary Yedidia [Tue, 16 Aug 2016 17:52:42 +0000 (13:52 -0400)]
Clean up go plugin

7 years agoFix recursive issue with go plugin
Zachary Yedidia [Tue, 16 Aug 2016 17:46:33 +0000 (13:46 -0400)]
Fix recursive issue with go plugin

7 years agoChange plugin callbacks to not only happen when a keybinding triggers the action
Zachary Yedidia [Tue, 16 Aug 2016 15:43:36 +0000 (11:43 -0400)]
Change plugin callbacks to not only happen when a keybinding triggers the action

7 years agoRebind Home and End to StartOfLine and EndOfLine
Zachary Yedidia [Tue, 16 Aug 2016 14:55:04 +0000 (10:55 -0400)]
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

7 years agoAdd colored current line number option
Camille Scholtz [Mon, 15 Aug 2016 20:35:40 +0000 (22:35 +0200)]
Add colored current line number option

7 years agoUser plugins should replace default plugins
Zachary Yedidia [Sun, 14 Aug 2016 19:29:02 +0000 (15:29 -0400)]
User plugins should replace default plugins

Fixes #208

7 years agoSyntax highlighting optimization
Zachary Yedidia [Sun, 14 Aug 2016 01:28:52 +0000 (21:28 -0400)]
Syntax highlighting optimization

7 years agoAdd HandleCommand and HandleShellCommand to plugin api
Zachary Yedidia [Sat, 13 Aug 2016 15:44:30 +0000 (11:44 -0400)]
Add HandleCommand and HandleShellCommand to plugin api

7 years agoMinor update
Zachary Yedidia [Thu, 11 Aug 2016 21:35:40 +0000 (17:35 -0400)]
Minor update

7 years agoSet parents correctly on split nodes
Zachary Yedidia [Thu, 11 Aug 2016 20:59:06 +0000 (16:59 -0400)]
Set parents correctly on split nodes

7 years agoSmall fix to splits
Zachary Yedidia [Thu, 11 Aug 2016 20:52:50 +0000 (16:52 -0400)]
Small fix to splits

7 years agoFix statusline and tabbar offsets
Zachary Yedidia [Thu, 11 Aug 2016 17:50:59 +0000 (13:50 -0400)]
Fix statusline and tabbar offsets

7 years agoAdd ability to delete splits
Zachary Yedidia [Thu, 11 Aug 2016 15:27:32 +0000 (11:27 -0400)]
Add ability to delete splits

7 years agoAdd split_tree and ability to create splits
Zachary Yedidia [Thu, 11 Aug 2016 14:45:35 +0000 (10:45 -0400)]
Add split_tree and ability to create splits

7 years agoRemove current implementation of splits
Zachary Yedidia [Wed, 10 Aug 2016 19:28:23 +0000 (15:28 -0400)]
Remove current implementation of splits

7 years agoSmall fix to OutdentSelection
Zachary Yedidia [Mon, 8 Aug 2016 18:11:34 +0000 (13:11 -0500)]
Small fix to OutdentSelection

7 years agoBind OutdentSelection to ShiftTab (Backtab)
Zachary Yedidia [Mon, 8 Aug 2016 01:41:12 +0000 (21:41 -0400)]
Bind OutdentSelection to ShiftTab (Backtab)

I was under the impression that tcell couldn't detect shift tab
key presses, but this was incorrect. It turns out that tcell just
calls it backtab. This commit makes backtab the default binding
for OutdentSelection.

See #203

7 years agoBindings for IndentSelection and OutdentSelection
Zachary Yedidia [Sun, 7 Aug 2016 23:45:35 +0000 (19:45 -0400)]
Bindings for IndentSelection and OutdentSelection

Tab is now bound to both IndentSelection and InsertTab.

There is currently no binding for OutdentSelection (the user can
bind that to their liking). Hopefully in the future it can be bound
to shift-tab but tcell does currently support that.

Closes #203

7 years agoPressing tab on a selection indents the selection
Zachary Yedidia [Tue, 2 Aug 2016 22:30:36 +0000 (18:30 -0400)]
Pressing tab on a selection indents the selection

See #203

7 years agoRemove backspace prompt cancelation
Zachary Yedidia [Tue, 2 Aug 2016 13:45:41 +0000 (09:45 -0400)]
Remove backspace prompt cancelation

Fixes #202

7 years agoAdd gololang to pre installed syntax files
Zachary Yedidia [Sat, 30 Jul 2016 20:01:46 +0000 (16:01 -0400)]
Add gololang to pre installed syntax files

7 years agoMerge pull request #200 from k33g/wip-golo-syntax
Zachary Yedidia [Sat, 30 Jul 2016 20:00:34 +0000 (16:00 -0400)]
Merge pull request #200 from k33g/wip-golo-syntax

Add Gololang support

7 years agoTo only use the colorscheme groups
Philippe Charrière [Sat, 30 Jul 2016 18:20:28 +0000 (20:20 +0200)]
To only use the colorscheme groups

7 years agoAdd Gololang support
Philippe Charrière [Sat, 30 Jul 2016 16:38:55 +0000 (18:38 +0200)]
Add Gololang support

7 years agoUse file completion for command mode
Zachary Yedidia [Sun, 24 Jul 2016 20:38:37 +0000 (16:38 -0400)]
Use file completion for command mode

7 years agoAdd tab command to open a file in a new tab
Zachary Yedidia [Sun, 24 Jul 2016 20:29:03 +0000 (16:29 -0400)]
Add tab command to open a file in a new tab

7 years agoFix issue with autoclose plugin
Zachary Yedidia [Sun, 24 Jul 2016 20:19:41 +0000 (16:19 -0400)]
Fix issue with autoclose plugin

7 years agoUse my fork of clipboard
Zachary Yedidia [Sun, 24 Jul 2016 14:51:08 +0000 (10:51 -0400)]
Use my fork of clipboard

7 years agoFix small horizontal scrolling glitch
Zachary Yedidia [Sat, 23 Jul 2016 15:58:28 +0000 (11:58 -0400)]
Fix small horizontal scrolling glitch

7 years agoRehighlight a split as soon as it is opened
Zachary Yedidia [Wed, 20 Jul 2016 00:15:23 +0000 (20:15 -0400)]
Rehighlight a split as soon as it is opened

I think this might fix the problem in #198, but I can't seemd to
reproduce it.

7 years agoAdd separator characters between splits
Zachary Yedidia [Fri, 15 Jul 2016 21:38:42 +0000 (17:38 -0400)]
Add separator characters between splits

Fixes #196

7 years agoHighlight plist as XML
Zachary Yedidia [Fri, 15 Jul 2016 21:29:36 +0000 (17:29 -0400)]
Highlight plist as XML

See #197

7 years agoRecompile runtime.go
Zachary Yedidia [Thu, 14 Jul 2016 19:39:09 +0000 (15:39 -0400)]
Recompile runtime.go

Fixes #195

7 years agoAdd preAction plugin callbacks which can return false to cancel the action
Zachary Yedidia [Thu, 14 Jul 2016 17:53:38 +0000 (13:53 -0400)]
Add preAction plugin callbacks which can return false to cancel the action

7 years agoMerge
Zachary Yedidia [Thu, 14 Jul 2016 17:01:10 +0000 (13:01 -0400)]
Merge

7 years agoOpen help in a separate split
Zachary Yedidia [Thu, 14 Jul 2016 17:01:02 +0000 (13:01 -0400)]
Open help in a separate split

7 years agoMerge pull request #193 from timon999/master
Zachary Yedidia [Wed, 13 Jul 2016 19:16:46 +0000 (15:16 -0400)]
Merge pull request #193 from timon999/master

Small improve for how Python's syntax highlighting handles string literals

7 years agoChanged Python syntax file to use Go's regex for matching string literals (which...
Timon Böhler [Wed, 13 Jul 2016 19:03:16 +0000 (21:03 +0200)]
Changed Python syntax file to use Go's regex for matching string literals (which also works for empty strings)

7 years agoUpdate runtime and syntax file listing
Zachary Yedidia [Tue, 12 Jul 2016 13:12:07 +0000 (09:12 -0400)]
Update runtime and syntax file listing

7 years agoMerge pull request #191 from bvaudour/patch-1
Zachary Yedidia [Tue, 12 Jul 2016 13:10:36 +0000 (09:10 -0400)]
Merge pull request #191 from bvaudour/patch-1

Add lilypond syntax (http://lilypond.org/)

7 years agoUpdate of lilypond.micro
Benjamin VAUDOUR [Tue, 12 Jul 2016 05:35:43 +0000 (07:35 +0200)]
Update of lilypond.micro

- full colorschemes-based
- accurate notes' detection

7 years agoFix draw ordering
Zachary Yedidia [Mon, 11 Jul 2016 23:10:29 +0000 (19:10 -0400)]
Fix draw ordering

7 years agoRewrite view display function
Zachary Yedidia [Mon, 11 Jul 2016 19:35:50 +0000 (15:35 -0400)]
Rewrite view display function

7 years agoAdd lilypond syntax (http://lilypond.org/)
Benjamin VAUDOUR [Mon, 11 Jul 2016 10:14:07 +0000 (12:14 +0200)]
Add lilypond syntax (http://lilypond.org/)

7 years agoSeparate bindings and actions into two files
Zachary Yedidia [Sun, 10 Jul 2016 17:30:28 +0000 (13:30 -0400)]
Separate bindings and actions into two files

7 years agoAdd some lines back
Zachary Yedidia [Sun, 10 Jul 2016 17:27:28 +0000 (13:27 -0400)]
Add some lines back

7 years agoAdd some more comments
Zachary Yedidia [Sun, 10 Jul 2016 17:26:05 +0000 (13:26 -0400)]
Add some more comments

7 years agoMerge pull request #185 from zyedidia/splits
Zachary Yedidia [Sat, 9 Jul 2016 15:41:53 +0000 (11:41 -0400)]
Merge pull request #185 from zyedidia/splits

Splits

7 years agoAdd documentation for splits
Zachary Yedidia [Sat, 9 Jul 2016 15:40:46 +0000 (11:40 -0400)]
Add documentation for splits

7 years agoFix small glitch with splits
Zachary Yedidia [Sat, 9 Jul 2016 15:29:22 +0000 (11:29 -0400)]
Fix small glitch with splits

7 years agoMerge pull request #190 from onodera-punpun/patch-1
Zachary Yedidia [Wed, 6 Jul 2016 17:42:49 +0000 (13:42 -0400)]
Merge pull request #190 from onodera-punpun/patch-1

fish.micro: Add missing command, use constant.string

7 years agofish.micro: Add missing command, use constat.string
Camille [Wed, 6 Jul 2016 17:35:51 +0000 (19:35 +0200)]
fish.micro: Add missing command, use constat.string

7 years agoFix extra line being added with odd heights
Zachary Yedidia [Tue, 5 Jul 2016 22:46:50 +0000 (18:46 -0400)]
Fix extra line being added with odd heights

7 years agoChange default colorscheme to monokai
Zachary Yedidia [Tue, 5 Jul 2016 22:34:51 +0000 (18:34 -0400)]
Change default colorscheme to monokai

The monokai-tc colorscheme has been renamed to plain monokai and has
been made the default colorscheme. It is still a true color colorscheme,
but the automatic 256 color approximation is very good so it can be used
just fine in terminals which do not support true color.

If your terminal only supports 16 colors, used the 'default'
colorscheme.

7 years agoAdd binding to move to next split (default binding: CtrlW)
Zachary Yedidia [Sat, 2 Jul 2016 14:01:05 +0000 (10:01 -0400)]
Add binding to move to next split (default binding: CtrlW)

7 years agoAdd the ability to close splits and change splits using the mouse
Zachary Yedidia [Fri, 1 Jul 2016 22:12:37 +0000 (18:12 -0400)]
Add the ability to close splits and change splits using the mouse

This commits adds split navigation with the mouse and the ability to
close splits. You can now also open a file directly with the hsplit
and vsplit commands.

7 years agoFix tabbar offset with splits
Zachary Yedidia [Wed, 29 Jun 2016 01:33:10 +0000 (21:33 -0400)]
Fix tabbar offset with splits

7 years agoMake sure splits can't draw in other splits
Zachary Yedidia [Mon, 27 Jun 2016 22:41:04 +0000 (18:41 -0400)]
Make sure splits can't draw in other splits

7 years agoAdd horizontal splits
Zachary Yedidia [Sun, 26 Jun 2016 22:44:15 +0000 (18:44 -0400)]
Add horizontal splits

7 years agoFix redrawing for splits
Zachary Yedidia [Sun, 26 Jun 2016 20:18:33 +0000 (16:18 -0400)]
Fix redrawing for splits

7 years agoQuick first try at vertical splits
Zachary Yedidia [Wed, 15 Jun 2016 22:38:37 +0000 (18:38 -0400)]
Quick first try at vertical splits

8 years agoMerge pull request #189 from onodera-punpun/sudosave
Zachary Yedidia [Thu, 30 Jun 2016 15:08:12 +0000 (11:08 -0400)]
Merge pull request #189 from onodera-punpun/sudosave

bindings:go: Only display saved message if actually saved

8 years agobindings:go: Only display saved message if actually saved
Camille Scholtz [Thu, 30 Jun 2016 14:49:32 +0000 (16:49 +0200)]
bindings:go: Only display saved message if actually saved

8 years agoWrap around when using NextTab and PreviousTab
Zachary Yedidia [Wed, 29 Jun 2016 01:29:46 +0000 (21:29 -0400)]
Wrap around when using NextTab and PreviousTab

Fixes #188

8 years agoFix JumpLine range
Zachary Yedidia [Wed, 29 Jun 2016 01:26:19 +0000 (21:26 -0400)]
Fix JumpLine range

Fixes #187

8 years agoFix replace cursor relocation
Zachary Yedidia [Tue, 28 Jun 2016 19:06:42 +0000 (15:06 -0400)]
Fix replace cursor relocation

8 years agoMerge pull request #186 from onodera-punpun/replaced
Zachary Yedidia [Tue, 28 Jun 2016 19:03:59 +0000 (15:03 -0400)]
Merge pull request #186 from onodera-punpun/replaced

command.go: Add some feedback to replace

8 years agocommand.go: Simplify and prettify replace feedback
Camille Scholtz [Tue, 28 Jun 2016 17:55:29 +0000 (19:55 +0200)]
command.go: Simplify and prettify replace feedback

8 years agocommand.go: Add some feedback to replace
Camille Scholtz [Tue, 28 Jun 2016 17:49:26 +0000 (19:49 +0200)]
command.go: Add some feedback to replace

8 years agoAdd string group to syntax files
Zachary Yedidia [Sat, 25 Jun 2016 23:20:13 +0000 (19:20 -0400)]
Add string group to syntax files

This commit adds the string group (constant.string) to valid strings
in all the syntax files that support colorschemes (see the readme in
the runtime/syntax directory).

Fixes #178

8 years agoAdd feedback to save with sudo
Zachary Yedidia [Sat, 25 Jun 2016 17:42:21 +0000 (13:42 -0400)]
Add feedback to save with sudo

Fixes #183

8 years agoAdd new colorschemes to runtime
Zachary Yedidia [Thu, 23 Jun 2016 12:39:26 +0000 (08:39 -0400)]
Add new colorschemes to runtime

8 years agoMerge pull request #180 from Calinou/monokai-colorscheme
Zachary Yedidia [Thu, 23 Jun 2016 12:29:24 +0000 (08:29 -0400)]
Merge pull request #180 from Calinou/monokai-colorscheme

Add a Monokai colorscheme

8 years agoMerge pull request #181 from Calinou/atom-dark-colorscheme
Zachary Yedidia [Thu, 23 Jun 2016 12:25:23 +0000 (08:25 -0400)]
Merge pull request #181 from Calinou/atom-dark-colorscheme

Add Atom Dark colorscheme

8 years agoMerge pull request #182 from Calinou/gdscript-syntax
Zachary Yedidia [Thu, 23 Jun 2016 12:25:11 +0000 (08:25 -0400)]
Merge pull request #182 from Calinou/gdscript-syntax

Add GDScript syntax file

8 years agoAdd GDScript syntax file
Hugo Locurcio [Thu, 23 Jun 2016 10:06:06 +0000 (12:06 +0200)]
Add GDScript syntax file

8 years agoAdd Atom Dark colorscheme
Hugo Locurcio [Thu, 23 Jun 2016 09:36:35 +0000 (11:36 +0200)]
Add Atom Dark colorscheme

8 years agoAdd a Monokai colorscheme
Hugo Locurcio [Thu, 23 Jun 2016 08:01:48 +0000 (10:01 +0200)]
Add a Monokai colorscheme

8 years agoFix issue with autoclose plugin
Zachary Yedidia [Thu, 23 Jun 2016 01:03:40 +0000 (21:03 -0400)]
Fix issue with autoclose plugin

8 years agoColorscheme group inheritance
Zachary Yedidia [Wed, 22 Jun 2016 22:51:36 +0000 (18:51 -0400)]
Colorscheme group inheritance

With this commit, the syntax files can define groups that are subsets of
other groups, for example constant.string. This is so that colorschemes
can be more accurate, possibly highlighting strings differently than
numbers for example.

See #176. This doesn't fully close that issue yet because the string
group still needs to be added to all strings in the syntax files.

8 years agoUpdate README.md
Zachary Yedidia [Wed, 22 Jun 2016 17:59:07 +0000 (13:59 -0400)]
Update README.md

8 years agoUpdate README.md
Zachary Yedidia [Wed, 22 Jun 2016 17:58:07 +0000 (13:58 -0400)]
Update README.md

8 years agoAdd autoclose plugin to handle autoclose for brackets, quotes etc...
Zachary Yedidia [Wed, 22 Jun 2016 17:54:42 +0000 (13:54 -0400)]
Add autoclose plugin to handle autoclose for brackets, quotes etc...

The plugin adds an option `autoclose` to configure whether or not you
would like quotes, brackets etc... to be automatically closed. The
option is enabled by default.

Closes #176

8 years agoAdd onRune(r string) callback for plugins
Zachary Yedidia [Tue, 21 Jun 2016 21:57:25 +0000 (17:57 -0400)]
Add onRune(r string) callback for plugins

Define this function in a plugin (which takes one argument) to be
notified whenever a character is typed, and the character will be passed
as the argument.

8 years agoOnly copy messages if there is a mouse left click (not any mouse event)
Zachary Yedidia [Tue, 21 Jun 2016 21:54:36 +0000 (17:54 -0400)]
Only copy messages if there is a mouse left click (not any mouse event)

8 years agoAuto prefix for plugin functions
Zachary Yedidia [Tue, 21 Jun 2016 21:49:57 +0000 (17:49 -0400)]
Auto prefix for plugin functions

YOu no longer have to prefix all functions in a plugin with the plugin
name (linter_onSave). This will now be done automatically using lua's
setfenv. When passing a function as a callback to a editor function,
make sure to prefix the plugin name (linter.onExit, or go.goimports) so
that micro knows which plugin to call the function from.

8 years agoFix mouse controls
Zachary Yedidia [Sun, 19 Jun 2016 13:02:47 +0000 (09:02 -0400)]
Fix mouse controls

Fixes #173

8 years agoClicking on messages will copy them to the clipboard
Zachary Yedidia [Fri, 17 Jun 2016 15:24:54 +0000 (11:24 -0400)]
Clicking on messages will copy them to the clipboard

Fixes #172

8 years agoAdd support for job control
Zachary Yedidia [Wed, 15 Jun 2016 15:19:00 +0000 (11:19 -0400)]
Add support for job control

This commit adds support for job control (running processes
asynchronously from plugins) with the JobStart, JobSend, and JobStop
functions (copying neovim's job control).

This commit also makes the linter plugin work asynchronously, so the
editor won't be frozen while the linter checks your code for errors.

8 years agoUpdate windows binary name to .zip
Zachary Yedidia [Sun, 12 Jun 2016 15:35:12 +0000 (11:35 -0400)]
Update windows binary name to .zip

8 years agoUpdate readme
Zachary Yedidia [Sun, 12 Jun 2016 15:24:09 +0000 (11:24 -0400)]
Update readme

8 years agoAdd nightly release script
Zachary Yedidia [Sun, 12 Jun 2016 15:05:19 +0000 (11:05 -0400)]
Add nightly release script

8 years agoAlso allow ModShift to be on for windows terminals
Zachary Yedidia [Sat, 11 Jun 2016 23:41:37 +0000 (19:41 -0400)]
Also allow ModShift to be on for windows terminals

Fixes #165

8 years agoFix diff remove problem in ApplyDiff
Zachary Yedidia [Sat, 11 Jun 2016 15:23:05 +0000 (11:23 -0400)]
Fix diff remove problem in ApplyDiff

The location counter was being updated when there was a removal in
the text but it shouldn't be.

Fixes #163

8 years agoFix cursor line in true color colorschemes
Zachary Yedidia [Thu, 9 Jun 2016 20:00:43 +0000 (16:00 -0400)]
Fix cursor line in true color colorschemes

Ref #171

8 years agoFix autocompletion using a slash
Zachary Yedidia [Thu, 9 Jun 2016 17:36:16 +0000 (13:36 -0400)]
Fix autocompletion using a slash

8 years agoAdd file completion to OpenFile (CtrlO) with tab
Zachary Yedidia [Thu, 9 Jun 2016 14:03:50 +0000 (10:03 -0400)]
Add file completion to OpenFile (CtrlO) with tab

8 years agoFix mouse coordinates when tabbar is open
Zachary Yedidia [Thu, 9 Jun 2016 13:29:23 +0000 (09:29 -0400)]
Fix mouse coordinates when tabbar is open

Fixes #170