]>
git.lizzy.rs Git - micro.git/log
Zachary Yedidia [Sat, 6 Jun 2020 19:56:13 +0000 (15:56 -0400)]
Fix fileformat for newly created files
Fixes #1575
Chloe Kudryavtsev [Wed, 3 Jun 2020 17:30:42 +0000 (13:30 -0400)]
Add mksh to the set of supported shells (#1703)
Zachary Yedidia [Wed, 3 Jun 2020 04:27:51 +0000 (00:27 -0400)]
Merge
Zachary Yedidia [Wed, 3 Jun 2020 04:27:24 +0000 (00:27 -0400)]
Up arrow on first line brings to start
Fixes #1701
Sijmen J. Mulder [Tue, 2 Jun 2020 20:49:18 +0000 (22:49 +0200)]
Add pkgsrc instruction to readme (#1699)
Zachary Yedidia [Mon, 1 Jun 2020 04:17:52 +0000 (00:17 -0400)]
Update readme
Zachary Yedidia [Sat, 30 May 2020 22:11:52 +0000 (18:11 -0400)]
Unicode replacement char for non-displayable chars
Zachary Yedidia [Sat, 30 May 2020 16:23:29 +0000 (12:23 -0400)]
More fixes for parsecursor
Fixes #1695
Fixes #1696
Zachary Yedidia [Sat, 30 May 2020 02:48:23 +0000 (22:48 -0400)]
Fix handling of +LINE:COL syntax
Fixes #1685
Zachary Yedidia [Fri, 29 May 2020 19:31:13 +0000 (15:31 -0400)]
Slightly improve performance for very long lines
Zachary Yedidia [Fri, 29 May 2020 19:02:38 +0000 (15:02 -0400)]
Only perform save callback if save was successful
Fixes #1684
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
Zachary Yedidia [Fri, 29 May 2020 18:38:29 +0000 (14:38 -0400)]
Always use current pane for keybinding actions
Fixes #1677
Andrew Clarke [Fri, 29 May 2020 17:29:09 +0000 (03:29 +1000)]
Use "goto -1" to move cursor to end of document. (#1691)
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>
Zachary Yedidia [Thu, 28 May 2020 22:39:17 +0000 (18:39 -0400)]
Update readme
Zachary Yedidia [Thu, 28 May 2020 17:06:29 +0000 (13:06 -0400)]
UpdateRules after save is successful
Zachary Yedidia [Thu, 28 May 2020 17:02:09 +0000 (13:02 -0400)]
Fix '> save' command
Zachary Yedidia [Thu, 28 May 2020 15:59:31 +0000 (11:59 -0400)]
Update readme
Peder B. Sundt [Thu, 28 May 2020 15:50:35 +0000 (17:50 +0200)]
Tweak railscast colorscheme to better reflect original (#1297)
axxx007xxxz [Thu, 28 May 2020 15:49:18 +0000 (17:49 +0200)]
README: Add Fedora install instructions (#1671)
pyfisch [Tue, 26 May 2020 18:10:27 +0000 (20:10 +0200)]
Rewrite TOML syntax file (#1681)
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
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.
Zachary Yedidia [Thu, 21 May 2020 18:36:34 +0000 (14:36 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro
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.
Zachary Yedidia [Wed, 20 May 2020 23:53:54 +0000 (19:53 -0400)]
Improve unicode line array test
Zachary Yedidia [Wed, 20 May 2020 22:04:00 +0000 (18:04 -0400)]
Expose CharacterCount to plugins
Zachary Yedidia [Wed, 20 May 2020 22:01:10 +0000 (18:01 -0400)]
Use unicode.Mark for combining unicode range
Zachary Yedidia [Wed, 20 May 2020 21:00:56 +0000 (17:00 -0400)]
Final touches for combining character support
Zachary Yedidia [Wed, 20 May 2020 20:47:08 +0000 (16:47 -0400)]
Use CharacterCount over RuneCount
Zachary Yedidia [Wed, 20 May 2020 20:43:12 +0000 (16:43 -0400)]
Use DecodeCharacter over DecodeRune
Zachary Yedidia [Wed, 20 May 2020 19:29:02 +0000 (15:29 -0400)]
Merge branch 'p-e-w-buffer-benchmarks'
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
Zachary Yedidia [Sun, 17 May 2020 16:48:34 +0000 (12:48 -0400)]
Update tcell and support italics in colorschemes
Closes #1640
Zachary Yedidia [Sun, 17 May 2020 16:23:21 +0000 (12:23 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro
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.
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
jsyedidia [Sat, 16 May 2020 17:06:55 +0000 (13:06 -0400)]
Update hlint to 3.0 syntax (#1659)
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
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
Zachary Yedidia [Fri, 15 May 2020 01:37:19 +0000 (21:37 -0400)]
Remove outdated c++ highlighter
Fixes #1652
Zachary Yedidia [Fri, 15 May 2020 01:34:17 +0000 (21:34 -0400)]
Support snake case autocompletion
Fixes #1655
Zachary Yedidia [Thu, 7 May 2020 23:39:17 +0000 (19:39 -0400)]
Fix movelinesup when selection is not complete
Zachary Yedidia [Tue, 5 May 2020 02:21:46 +0000 (22:21 -0400)]
Improve readme
Zachary Yedidia [Mon, 4 May 2020 14:34:16 +0000 (10:34 -0400)]
Update makefile
Zachary Yedidia [Mon, 4 May 2020 14:16:15 +0000 (10:16 -0400)]
Fix v2 import path for go mod
Zachary Yedidia [Thu, 30 Apr 2020 04:54:11 +0000 (00:54 -0400)]
Merge branch 'jwarner112-jwarner112-copyline'
Zachary Yedidia [Thu, 30 Apr 2020 04:54:02 +0000 (00:54 -0400)]
gofmt
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
Indiana Kernick [Thu, 30 Apr 2020 00:01:59 +0000 (09:31 +0930)]
Add .inl as a C++ file extension (#1630)
Zachary Yedidia [Sat, 25 Apr 2020 21:01:20 +0000 (17:01 -0400)]
Merge
Zachary Yedidia [Sat, 25 Apr 2020 21:01:16 +0000 (17:01 -0400)]
Better actions error message
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
Zachary Yedidia [Tue, 21 Apr 2020 13:33:21 +0000 (09:33 -0400)]
Make cursor follow selections
Fixes #1624
Zachary Yedidia [Tue, 21 Apr 2020 03:13:10 +0000 (23:13 -0400)]
Merge
Zachary Yedidia [Tue, 21 Apr 2020 03:13:01 +0000 (23:13 -0400)]
Update clipboard version
2pac [Fri, 17 Apr 2020 17:42:48 +0000 (19:42 +0200)]
implemented circular tab movement (#1619)
Co-authored-by: 2pac <tarasyarema@pm.me>
Zachary Yedidia [Fri, 10 Apr 2020 21:27:57 +0000 (17:27 -0400)]
Update runtime
Zachary Yedidia [Fri, 10 Apr 2020 21:27:34 +0000 (17:27 -0400)]
Merge
Zachary Yedidia [Fri, 10 Apr 2020 21:27:11 +0000 (17:27 -0400)]
Use StartCol in colorcolumn calculation
Fixes #1615
Ján Jančár [Fri, 10 Apr 2020 21:21:02 +0000 (23:21 +0200)]
Add StartOfTextToggle and SelectToStartOfTextToggle actions. (#1612)
These actions reintroduce the behavior of micro where the Home key
toggles between the start of text (first) and the start of the line.
The same applies for the variant with selection. This commit also
sets these bindings as the defaults.
Zachary Yedidia [Fri, 10 Apr 2020 19:58:43 +0000 (15:58 -0400)]
Ensure mouse release before focus change
Fixes #1613
trrbl [Fri, 10 Apr 2020 17:57:36 +0000 (19:57 +0200)]
Support csharp-script syntax. (#1425)
```
#!/usr/bin/env dotnet-script
// Set Runtime
#! "netcoreapp3.0"
// Imports
#load "myAssembly.dll"
#r "nuget:CliWrap,2.5.0"
```
This syntax file basically imports the `csharp` rules and adds it's custom pre-processors.
Ján Jančár [Thu, 9 Apr 2020 16:20:48 +0000 (18:20 +0200)]
Add sagemath syntax highlight based on python3. (#1227)
Ján Jančár [Tue, 7 Apr 2020 16:58:30 +0000 (18:58 +0200)]
Fix docs regarding "Home" key and "StartOfText" and "StartOfLine". (#1611)
jsyedidia [Sun, 5 Apr 2020 18:05:01 +0000 (14:05 -0400)]
Add Haskell linter hlint to linter plugin (#1610)
Nikita Bobko [Sun, 5 Apr 2020 18:04:36 +0000 (21:04 +0300)]
Clarify regex for `git commit --verbose` (#1606)
Zachary Yedidia [Tue, 24 Mar 2020 15:42:23 +0000 (11:42 -0400)]
Fix python3 syntax file and make python3 default
The python3 syntax had "filename" instead of "filetype"
as the header. This commit also makes standard py extensions
use the python3 highlighting and requires .py2 or a python2
env to use python2 highlighting because python3 is the standard
python now.
Fixes #1592
Zachary Yedidia [Tue, 24 Mar 2020 15:33:52 +0000 (11:33 -0400)]
Relocate during replace
Fixes #1587
Zachary Yedidia [Tue, 24 Mar 2020 15:17:12 +0000 (11:17 -0400)]
Merge
Zachary Yedidia [Tue, 24 Mar 2020 15:14:54 +0000 (11:14 -0400)]
Clarify replace message if replacing in selection
Koki Fushimi [Tue, 24 Mar 2020 14:59:48 +0000 (23:59 +0900)]
Better Julia syntax. (#1567)
* Fix regex syntax and change to match one or more spaces.
* Add constant `nothing` and `missing`.
* Add Inf and NaN to constant numbers.
Hugo Locurcio [Tue, 24 Mar 2020 14:59:40 +0000 (15:59 +0100)]
Clarify the Find operation being regex-enabled (#1561)
This makes it more obvious that the Find option accepts regular
expressions as input.
See discussion in #1560.
allanderek [Tue, 24 Mar 2020 14:56:50 +0000 (14:56 +0000)]
Add elm as a default comment type in the comment plugin. (#1586)
Zachary Yedidia [Tue, 24 Mar 2020 14:52:15 +0000 (10:52 -0400)]
Better ordering for reading syntax files
Ref #1580
Zachary Yedidia [Tue, 24 Mar 2020 14:22:10 +0000 (10:22 -0400)]
Fix term emulator crash if invalid exec given
Ref #1583
Zachary Yedidia [Tue, 24 Mar 2020 14:10:44 +0000 (10:10 -0400)]
Support +LINE:COL flag syntax for cursor pos
Closes #1566
Zachary Yedidia [Tue, 17 Mar 2020 18:21:36 +0000 (14:21 -0400)]
Don't clear infobar if not enabled
Fixes #1584
Zachary Yedidia [Sat, 14 Mar 2020 19:40:05 +0000 (15:40 -0400)]
Fix linter c++ entry
Fixes #1578
Cafe Duke [Sun, 8 Mar 2020 03:07:43 +0000 (08:37 +0530)]
Add color schemes dukeubuntu-tc, dukedark-tc and dukelight-tc (#1547)
* Duke ubuntu, dark and light color schemes
* Duke color schemes: Change bgcolor for line number and cursor line
Co-authored-by: Raghunandan.Seshadri <raghubs81@gmail.com>
Co-authored-by: Raghunandan Seshadri <raghunandan.seshadri@oracle.com>
Zachary Yedidia [Thu, 5 Mar 2020 21:00:40 +0000 (16:00 -0500)]
Copy selection to primary on mouse release
Fixes #1558
Zachary Yedidia [Tue, 3 Mar 2020 01:09:19 +0000 (20:09 -0500)]
Add JumpLine action back
You can bind to "command-edit:goto ", but binding to the action
"JumpLine" will have the same effect now.
Fixes #1550
Andrew Havens [Tue, 3 Mar 2020 01:03:28 +0000 (17:03 -0800)]
Add support for Fastlane and Cocoapods file syntax highlighting (#1544)
Philipp Emanuel Weidmann [Sun, 1 Mar 2020 07:50:10 +0000 (13:20 +0530)]
Add more sophisticated buffer benchmark system
Zachary Yedidia [Thu, 27 Feb 2020 17:39:19 +0000 (12:39 -0500)]
If stdout is a pipe, output to the pipe
If you run micro as `micro | cat` for example, micro will disallow
you from saving the file, and when you quit the buffer, the contents
will be sent to the pipe. This allows one to use micro as part of
an interactive unix pipeline.
Closes #1524
Zachary Yedidia [Thu, 27 Feb 2020 16:27:00 +0000 (11:27 -0500)]
Use bytes.Buffer for LineArray.Bytes
Zachary Yedidia [Thu, 27 Feb 2020 05:58:52 +0000 (00:58 -0500)]
Fix custom syntax files not highlighting
Fixes #1530
Zachary Yedidia [Wed, 26 Feb 2020 04:59:27 +0000 (23:59 -0500)]
Improve buffer test
Zachary Yedidia [Wed, 26 Feb 2020 04:21:50 +0000 (23:21 -0500)]
Improve buffer test
Zachary Yedidia [Wed, 26 Feb 2020 02:08:22 +0000 (21:08 -0500)]
Update runtime
Zachary Yedidia [Wed, 26 Feb 2020 01:53:48 +0000 (20:53 -0500)]
Undo event chunks instead of single events
Zachary Yedidia [Wed, 26 Feb 2020 01:40:57 +0000 (20:40 -0500)]
Update readme
Zachary Yedidia [Wed, 26 Feb 2020 01:28:02 +0000 (20:28 -0500)]
mod tidy
Zachary Yedidia [Wed, 26 Feb 2020 01:24:02 +0000 (20:24 -0500)]
Fix buffer tests and selection bug
Fixes #1528
Ref #1526
Zachary Yedidia [Tue, 25 Feb 2020 15:30:31 +0000 (10:30 -0500)]
Merge branch 'buffer-tests' of https://github.com/p-e-w/micro into buffer-unit-tests
Zachary Yedidia [Tue, 25 Feb 2020 03:31:05 +0000 (22:31 -0500)]
line_array insert for eofnewline and make default
Makes the `eofnewline` option enabled by default.
Fixes #1525
josh [Tue, 25 Feb 2020 03:26:51 +0000 (03:26 +0000)]
fix eofnewline not running on files with 1 rune (#1535)
Zachary Yedidia [Tue, 25 Feb 2020 01:11:11 +0000 (20:11 -0500)]
Fix text transformation bug
This fixes the remaining text transformation tests.
Ref #1526
Roman Kornev [Mon, 24 Feb 2020 18:49:45 +0000 (21:49 +0300)]
Hide ISSUE_TEMPLATE version help into a comment (#1532)
Because some people don't remove it