]> git.lizzy.rs Git - micro.git/log
micro.git
3 years agoClean default settings in micro -clean v2.0.5
Zachary Yedidia [Thu, 18 Jun 2020 21:22:21 +0000 (17:22 -0400)]
Clean default settings in micro -clean

3 years agoBind Ctrl-/ (CtrlUnderscore) in comment plugin
Zachary Yedidia [Thu, 18 Jun 2020 21:18:34 +0000 (17:18 -0400)]
Bind Ctrl-/ (CtrlUnderscore) in comment plugin

3 years agoFix issue with search and replace at the end of a range
Zachary Yedidia [Thu, 18 Jun 2020 20:38:10 +0000 (16:38 -0400)]
Fix issue with search and replace at the end of a range

3 years agoUpdate tcell version
Zachary Yedidia [Thu, 18 Jun 2020 03:24:53 +0000 (23:24 -0400)]
Update tcell version

3 years agoMerge
Zachary Yedidia [Thu, 18 Jun 2020 03:14:03 +0000 (23:14 -0400)]
Merge

3 years agoImprove keybinding label consistency
Zachary Yedidia [Thu, 18 Jun 2020 03:11:50 +0000 (23:11 -0400)]
Improve keybinding label consistency

The old notation (for example `CtrlG`) causes confusion when combined
with new notation needed for alt (`Alt-g`) due to Alt being case
sensitive. Previously both formats were supported, but the documentation
and defaults used a combination. This commit only uses the new notation
for consistency.

Ref #1470

3 years agoStart replacement search at cursor location
Zachary Yedidia [Thu, 18 Jun 2020 02:43:22 +0000 (22:43 -0400)]
Start replacement search at cursor location

Fixes #1731

3 years agoFix typo in defaultkeys (#1730)
Matthias [Wed, 17 Jun 2020 17:35:59 +0000 (10:35 -0700)]
Fix typo in defaultkeys (#1730)

3 years agoDon't move nightly tag
Zachary Yedidia [Wed, 17 Jun 2020 00:48:17 +0000 (00:48 +0000)]
Don't move nightly tag

3 years agoEdit nightly release instead of replacing
Zachary Yedidia [Wed, 17 Jun 2020 00:33:59 +0000 (20:33 -0400)]
Edit nightly release instead of replacing

3 years agoCross compile binaries in release scripts
Zachary Yedidia [Sun, 16 Feb 2020 00:40:51 +0000 (00:40 +0000)]
Cross compile binaries in release scripts

3 years agoUse hub for creating releases
Zachary Yedidia [Sun, 16 Feb 2020 00:33:49 +0000 (19:33 -0500)]
Use hub for creating releases

3 years agoAdd support for dozens more languages to the comment plugin (#1729)
Hugo Locurcio [Tue, 16 Jun 2020 04:49:07 +0000 (06:49 +0200)]
Add support for dozens more languages to the comment plugin (#1729)

3 years agoAdd comment support for Haskell (#1728)
Ryan Westlund [Mon, 15 Jun 2020 20:11:51 +0000 (16:11 -0400)]
Add comment support for Haskell (#1728)

3 years agoMerge branch 'p-e-w-faster-runewidth'
Zachary Yedidia [Sat, 13 Jun 2020 21:00:03 +0000 (17:00 -0400)]
Merge branch 'p-e-w-faster-runewidth'

3 years agoMerge branch 'faster-runewidth' of https://github.com/p-e-w/micro into p-e-w-faster...
Zachary Yedidia [Sat, 13 Jun 2020 20:59:52 +0000 (16:59 -0400)]
Merge branch 'faster-runewidth' of https://github.com/p-e-w/micro into p-e-w-faster-runewidth

3 years agoUpdate go-shellquote for windows
Zachary Yedidia [Sat, 13 Jun 2020 20:58:20 +0000 (16:58 -0400)]
Update go-shellquote for windows

3 years agoMake determining rune width faster
Philipp Emanuel Weidmann [Sat, 13 Jun 2020 03:29:17 +0000 (08:59 +0530)]
Make determining rune width faster

3 years agoUpdate runtime build script
Zachary Yedidia [Sat, 13 Jun 2020 00:54:37 +0000 (20:54 -0400)]
Update runtime build script

Ref #1687

3 years agoFix MoveLines on last line of buffer
Zachary Yedidia [Fri, 12 Jun 2020 19:16:27 +0000 (15:16 -0400)]
Fix MoveLines on last line of buffer

Fixes #1723
Fixes #1724

3 years agoMore consistent key labels in docs
Zachary Yedidia [Fri, 12 Jun 2020 18:41:57 +0000 (14:41 -0400)]
More consistent key labels in docs

3 years agoAdd note for macOS terminals in docs
Zachary Yedidia [Fri, 12 Jun 2020 18:20:26 +0000 (14:20 -0400)]
Add note for macOS terminals in docs

3 years agoMerge branch 'master' of https://github.com/zyedidia/micro
Zachary Yedidia [Fri, 12 Jun 2020 18:16:53 +0000 (14:16 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro

3 years agoUpdate readme
Zachary Yedidia [Fri, 12 Jun 2020 18:16:47 +0000 (14:16 -0400)]
Update readme

3 years agoAdd latex support in comment plugin (#1725)
Ján Priner [Fri, 12 Jun 2020 16:58:51 +0000 (18:58 +0200)]
Add latex support in comment plugin (#1725)

3 years agoMake determining whether a code point represents a combining mark faster (#1719)
Philipp Emanuel Weidmann [Fri, 12 Jun 2020 04:10:00 +0000 (09:40 +0530)]
Make determining whether a code point represents a combining mark faster (#1719)

3 years agoMerge branch 'settings-config'
Zachary Yedidia [Tue, 9 Jun 2020 20:34:37 +0000 (16:34 -0400)]
Merge branch 'settings-config'

With these changes, settings.json should only contain options that
have been modified from their default values. Micro will actively
options that are set to default values from the settings.json file.
To see a full list of settings and their defaults, see the "options"
documentation, as well as `micro -options`.

3 years agoShow key name in raw pane
Zachary Yedidia [Tue, 9 Jun 2020 19:57:52 +0000 (15:57 -0400)]
Show key name in raw pane

3 years agoDon't apply cli options to settings.json
Zachary Yedidia [Tue, 9 Jun 2020 02:19:15 +0000 (22:19 -0400)]
Don't apply cli options to settings.json

3 years agoLower priority of cursorline and colorcolumn highlighting (#1697)
Dmitry Maluka [Mon, 8 Jun 2020 20:15:54 +0000 (22:15 +0200)]
Lower priority of cursorline and colorcolumn highlighting (#1697)

Fixes #1665

3 years agosettings.json only contains modified settings
Zachary Yedidia [Mon, 8 Jun 2020 19:33:38 +0000 (15:33 -0400)]
settings.json only contains modified settings

If a setting has a default value it will not be listed in settings.json.

3 years agoMerge
Zachary Yedidia [Mon, 8 Jun 2020 17:55:24 +0000 (13:55 -0400)]
Merge

3 years agoOnly start autocompletion for alphanumerics
Zachary Yedidia [Mon, 8 Jun 2020 17:54:31 +0000 (13:54 -0400)]
Only start autocompletion for alphanumerics

Ref #1712

3 years agopython.yaml: add async as a keyword (#1713)
Ryan Westlund [Mon, 8 Jun 2020 17:45:05 +0000 (13:45 -0400)]
python.yaml: add async as a keyword (#1713)

await is already a keyword, but async is not.

3 years agoExpose ConfigDir and Tabs to plugins
Zachary Yedidia [Sun, 7 Jun 2020 22:21:46 +0000 (18:21 -0400)]
Expose ConfigDir and Tabs to plugins

Access with `micro.ConfigDir` (constant value) and `micro.Tabs()`.

3 years agoVerify that all settings have correct type
Zachary Yedidia [Sun, 7 Jun 2020 21:31:16 +0000 (17:31 -0400)]
Verify that all settings have correct type

This prevents crashes that occur when the user has put the wrong
type for a setting manually in the settings.json file.

3 years agoFix mouse support in command bar
Zachary Yedidia [Sun, 7 Jun 2020 19:46:12 +0000 (15:46 -0400)]
Fix mouse support in command bar

3 years agoUpdate tcell to fix escape sequence bug
Zachary Yedidia [Sun, 7 Jun 2020 19:22:17 +0000 (15:22 -0400)]
Update tcell to fix escape sequence bug

3 years agoMerge
Zachary Yedidia [Sat, 6 Jun 2020 19:56:36 +0000 (15:56 -0400)]
Merge

3 years agoFix fileformat for newly created files
Zachary Yedidia [Sat, 6 Jun 2020 19:56:13 +0000 (15:56 -0400)]
Fix fileformat for newly created files

Fixes #1575

3 years agoFix highlighting at the end of line (#1705)
Dmitry Maluka [Fri, 5 Jun 2020 03:32:31 +0000 (05:32 +0200)]
Fix highlighting at the end of line (#1705)

Fixes #1664

3 years agoAdd mksh to the set of supported shells (#1703)
Chloe Kudryavtsev [Wed, 3 Jun 2020 17:30:42 +0000 (13:30 -0400)]
Add mksh to the set of supported shells (#1703)

3 years agoMerge
Zachary Yedidia [Wed, 3 Jun 2020 04:27:51 +0000 (00:27 -0400)]
Merge

3 years agoUp arrow on first line brings to start
Zachary Yedidia [Wed, 3 Jun 2020 04:27:24 +0000 (00:27 -0400)]
Up arrow on first line brings to start

Fixes #1701

3 years agoAdd pkgsrc instruction to readme (#1699)
Sijmen J. Mulder [Tue, 2 Jun 2020 20:49:18 +0000 (22:49 +0200)]
Add pkgsrc instruction to readme (#1699)

3 years agoUpdate readme
Zachary Yedidia [Mon, 1 Jun 2020 04:17:52 +0000 (00:17 -0400)]
Update readme

3 years agoUnicode replacement char for non-displayable chars
Zachary Yedidia [Sat, 30 May 2020 22:11:52 +0000 (18:11 -0400)]
Unicode replacement char for non-displayable chars

3 years agoMore fixes for parsecursor
Zachary Yedidia [Sat, 30 May 2020 16:23:29 +0000 (12:23 -0400)]
More fixes for parsecursor

Fixes #1695
Fixes #1696

3 years agoFix handling of +LINE:COL syntax
Zachary Yedidia [Sat, 30 May 2020 02:48:23 +0000 (22:48 -0400)]
Fix handling of +LINE:COL syntax

Fixes #1685

3 years agoSlightly improve performance for very long lines
Zachary Yedidia [Fri, 29 May 2020 19:31:13 +0000 (15:31 -0400)]
Slightly improve performance for very long lines

3 years agoOnly perform save callback if save was successful
Zachary Yedidia [Fri, 29 May 2020 19:02:38 +0000 (15:02 -0400)]
Only perform save callback if save was successful

Fixes #1684

3 years agoAdd `parsecursor` option for file:line:col syntax
Zachary Yedidia [Fri, 29 May 2020 18:55:24 +0000 (14:55 -0400)]
Add `parsecursor` option for file:line:col syntax

This option is disabled by default, and when enabled causes micro
to parse `:line:col` as a location for the cursor rather than
as part of the filename.

Closes #1650
Closes #1685

3 years agoAlways use current pane for keybinding actions
Zachary Yedidia [Fri, 29 May 2020 18:38:29 +0000 (14:38 -0400)]
Always use current pane for keybinding actions

Fixes #1677

3 years agoUse "goto -1" to move cursor to end of document. (#1691)
Andrew Clarke [Fri, 29 May 2020 17:29:09 +0000 (03:29 +1000)]
Use "goto -1" to move cursor to end of document. (#1691)

3 years agoAdded hybrid line numbers (#1690)
Colin Hughes [Fri, 29 May 2020 02:24:09 +0000 (19:24 -0700)]
Added hybrid line numbers (#1690)

* Added hybrid line numbers

* Changed rulerhybrid to relativeruler, modified documentation accordingly.

* Reverted go.mod and go.sum
I don't know how they got changed but they are good now.

Co-authored-by: Colin Hughes <semilin@pop-os.localdomain>
3 years agoUpdate readme
Zachary Yedidia [Thu, 28 May 2020 22:39:17 +0000 (18:39 -0400)]
Update readme

3 years agoUpdateRules after save is successful
Zachary Yedidia [Thu, 28 May 2020 17:06:29 +0000 (13:06 -0400)]
UpdateRules after save is successful

3 years agoFix '> save' command
Zachary Yedidia [Thu, 28 May 2020 17:02:09 +0000 (13:02 -0400)]
Fix '> save' command

3 years agoUpdate readme
Zachary Yedidia [Thu, 28 May 2020 15:59:31 +0000 (11:59 -0400)]
Update readme

3 years agoTweak railscast colorscheme to better reflect original (#1297)
Peder B. Sundt [Thu, 28 May 2020 15:50:35 +0000 (17:50 +0200)]
Tweak railscast colorscheme to better reflect original (#1297)

3 years agoREADME: Add Fedora install instructions (#1671)
axxx007xxxz [Thu, 28 May 2020 15:49:18 +0000 (17:49 +0200)]
README: Add Fedora install instructions (#1671)

3 years agoRewrite TOML syntax file (#1681)
pyfisch [Tue, 26 May 2020 18:10:27 +0000 (20:10 +0200)]
Rewrite TOML syntax file (#1681)

3 years agoset bash-fc file's syntax as shell (#1679)
Shinichi TAMURA [Mon, 25 May 2020 03:50:30 +0000 (12:50 +0900)]
set bash-fc file's syntax as shell (#1679)

* set bash-fc file's syntax as shell

* remove dups from shell file matcher

3 years agoFix dropped redraw events (#1675) v2.0.4
Dmitry Maluka [Sat, 23 May 2020 18:59:23 +0000 (20:59 +0200)]
Fix dropped redraw events (#1675)

If screen.Redraw() is called very quickly after a key or mouse event,
it may send the redraw event while micro is not waiting for it but
still processing the key or mouse event. Since drawChan is non-buffered
and at the same time non-blocking, this redraw event will be simply lost,
so the screen content will not be up-to-date.

4 years agoMerge branch 'master' of https://github.com/zyedidia/micro
Zachary Yedidia [Thu, 21 May 2020 18:36:34 +0000 (14:36 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro

4 years agoAllow divider customization with divchars option
Zachary Yedidia [Thu, 21 May 2020 18:35:54 +0000 (14:35 -0400)]
Allow divider customization with divchars option

Adds the `divchars` and `divreverse` options to customize divider
styles.

4 years agoImprove unicode line array test
Zachary Yedidia [Wed, 20 May 2020 23:53:54 +0000 (19:53 -0400)]
Improve unicode line array test

4 years agoExpose CharacterCount to plugins
Zachary Yedidia [Wed, 20 May 2020 22:04:00 +0000 (18:04 -0400)]
Expose CharacterCount to plugins

4 years agoUse unicode.Mark for combining unicode range
Zachary Yedidia [Wed, 20 May 2020 22:01:10 +0000 (18:01 -0400)]
Use unicode.Mark for combining unicode range

4 years agoFinal touches for combining character support
Zachary Yedidia [Wed, 20 May 2020 21:00:56 +0000 (17:00 -0400)]
Final touches for combining character support

4 years agoUse CharacterCount over RuneCount
Zachary Yedidia [Wed, 20 May 2020 20:47:08 +0000 (16:47 -0400)]
Use CharacterCount over RuneCount

4 years agoUse DecodeCharacter over DecodeRune
Zachary Yedidia [Wed, 20 May 2020 20:43:12 +0000 (16:43 -0400)]
Use DecodeCharacter over DecodeRune

4 years agoMerge branch 'p-e-w-buffer-benchmarks'
Zachary Yedidia [Wed, 20 May 2020 19:29:02 +0000 (15:29 -0400)]
Merge branch 'p-e-w-buffer-benchmarks'

4 years agoMerge branch 'buffer-benchmarks' of https://github.com/p-e-w/micro into p-e-w-buffer...
Zachary Yedidia [Wed, 20 May 2020 19:28:36 +0000 (15:28 -0400)]
Merge branch 'buffer-benchmarks' of https://github.com/p-e-w/micro into p-e-w-buffer-benchmarks

4 years agoUpdate tcell and support italics in colorschemes
Zachary Yedidia [Sun, 17 May 2020 16:48:34 +0000 (12:48 -0400)]
Update tcell and support italics in colorschemes

Closes #1640

4 years agoMerge branch 'master' of https://github.com/zyedidia/micro
Zachary Yedidia [Sun, 17 May 2020 16:23:21 +0000 (12:23 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro

4 years agoFix end line number in HighlightMatches (#1662)
dmaluka [Sun, 17 May 2020 20:05:34 +0000 (22:05 +0200)]
Fix end line number in HighlightMatches (#1662)

There is a bit of mess in the usage of HighlightMatches: in some places
we assume that it updates lines from startline to endline inclusive,
in other places we assume it's non-inclusive.
This fix makes it always inclusive.

In particular, it fixes a bug: when we open a file which has no
newline at the end, the last line isn't highlighted.

4 years agoAdd support for FindLiteral
Zachary Yedidia [Sun, 17 May 2020 16:22:33 +0000 (12:22 -0400)]
Add support for FindLiteral

Use the FindLiteral action to use Find without regex support.

Fixes #1661

4 years agoUpdate hlint to 3.0 syntax (#1659)
jsyedidia [Sat, 16 May 2020 17:06:55 +0000 (13:06 -0400)]
Update hlint to 3.0 syntax (#1659)

4 years agoAdds command "tabmove ±n", for better tab management (#1636)
Jeff Warner [Fri, 15 May 2020 01:51:49 +0000 (18:51 -0700)]
Adds command "tabmove ±n", for better tab management (#1636)

* Adds command "tabmove ±n", for better tab management

* Added tabmove to help:commands

* Replace uses of util.Min, util.Max with util.Clamp

Browsing code and discovered `util.Clamp`, ideal for this section of my code

* oops, missed an arg

* Typo, again

4 years agoFix unbind of a rune (#1649)
dmaluka [Fri, 15 May 2020 01:50:28 +0000 (03:50 +0200)]
Fix unbind of a rune (#1649)

Fix problem with non-working unbind of a rune key.
E.g. after the following commands:

bind "n" "FindNext"
unbind "n"

Observed result: "n" key still triggers FindNext action
Expected result: "n" key inserts "n" rune

4 years agoRemove outdated c++ highlighter
Zachary Yedidia [Fri, 15 May 2020 01:37:19 +0000 (21:37 -0400)]
Remove outdated c++ highlighter

Fixes #1652

4 years agoSupport snake case autocompletion
Zachary Yedidia [Fri, 15 May 2020 01:34:17 +0000 (21:34 -0400)]
Support snake case autocompletion

Fixes #1655

4 years agoFix movelinesup when selection is not complete
Zachary Yedidia [Thu, 7 May 2020 23:39:17 +0000 (19:39 -0400)]
Fix movelinesup when selection is not complete

4 years agoImprove readme
Zachary Yedidia [Tue, 5 May 2020 02:21:46 +0000 (22:21 -0400)]
Improve readme

4 years agoUpdate makefile
Zachary Yedidia [Mon, 4 May 2020 14:34:16 +0000 (10:34 -0400)]
Update makefile

4 years agoFix v2 import path for go mod
Zachary Yedidia [Mon, 4 May 2020 14:16:15 +0000 (10:16 -0400)]
Fix v2 import path for go mod

4 years agoMerge branch 'jwarner112-jwarner112-copyline'
Zachary Yedidia [Thu, 30 Apr 2020 04:54:11 +0000 (00:54 -0400)]
Merge branch 'jwarner112-jwarner112-copyline'

4 years agogofmt
Zachary Yedidia [Thu, 30 Apr 2020 04:54:02 +0000 (00:54 -0400)]
gofmt

4 years agoAdds CopyLine action, the new default action for CtrlC if cursor has no selection
Jeff Warner [Thu, 30 Apr 2020 04:06:54 +0000 (21:06 -0700)]
Adds CopyLine action, the new default action for CtrlC if cursor has no selection

4 years agoAdd .inl as a C++ file extension (#1630)
Indiana Kernick [Thu, 30 Apr 2020 00:01:59 +0000 (09:31 +0930)]
Add .inl as a C++ file extension (#1630)

4 years agoMerge
Zachary Yedidia [Sat, 25 Apr 2020 21:01:20 +0000 (17:01 -0400)]
Merge

4 years agoBetter actions error message
Zachary Yedidia [Sat, 25 Apr 2020 21:01:16 +0000 (17:01 -0400)]
Better actions error message

4 years agoUpdate coffeescript.yaml (#1571)
Some person [Thu, 23 Apr 2020 03:12:56 +0000 (20:12 -0700)]
Update coffeescript.yaml (#1571)

* Update coffeescript.yaml

We need much much more modern coffeescript standards, the current one has broken `0x123456` (hex) and single quotes, and doesn't support multiline comments. This PR aims to fix that. I'm no regexp expert, I just based this off JS', so tell me if I did anything wrong.

* Update coffeescript.yaml

4 years agoMake cursor follow selections
Zachary Yedidia [Tue, 21 Apr 2020 13:33:21 +0000 (09:33 -0400)]
Make cursor follow selections

Fixes #1624

4 years agoMerge
Zachary Yedidia [Tue, 21 Apr 2020 03:13:10 +0000 (23:13 -0400)]
Merge

4 years agoUpdate clipboard version
Zachary Yedidia [Tue, 21 Apr 2020 03:13:01 +0000 (23:13 -0400)]
Update clipboard version

4 years agoimplemented circular tab movement (#1619)
2pac [Fri, 17 Apr 2020 17:42:48 +0000 (19:42 +0200)]
implemented circular tab movement (#1619)

Co-authored-by: 2pac <tarasyarema@pm.me>
4 years agoUpdate runtime v2.0.3
Zachary Yedidia [Fri, 10 Apr 2020 21:27:57 +0000 (17:27 -0400)]
Update runtime

4 years agoMerge
Zachary Yedidia [Fri, 10 Apr 2020 21:27:34 +0000 (17:27 -0400)]
Merge