]> git.lizzy.rs Git - micro.git/log
micro.git
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

4 years agoUse StartCol in colorcolumn calculation
Zachary Yedidia [Fri, 10 Apr 2020 21:27:11 +0000 (17:27 -0400)]
Use StartCol in colorcolumn calculation

Fixes #1615

4 years agoAdd StartOfTextToggle and SelectToStartOfTextToggle actions. (#1612)
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.

4 years agoEnsure mouse release before focus change
Zachary Yedidia [Fri, 10 Apr 2020 19:58:43 +0000 (15:58 -0400)]
Ensure mouse release before focus change

Fixes #1613

4 years agoSupport csharp-script syntax. (#1425)
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.

4 years agoAdd sagemath syntax highlight based on python3. (#1227)
Ján Jančár [Thu, 9 Apr 2020 16:20:48 +0000 (18:20 +0200)]
Add sagemath syntax highlight based on python3. (#1227)

4 years agoFix docs regarding "Home" key and "StartOfText" and "StartOfLine". (#1611)
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)

4 years agoAdd Haskell linter hlint to linter plugin (#1610)
jsyedidia [Sun, 5 Apr 2020 18:05:01 +0000 (14:05 -0400)]
Add Haskell linter hlint to linter plugin (#1610)

4 years agoClarify regex for `git commit --verbose` (#1606)
Nikita Bobko [Sun, 5 Apr 2020 18:04:36 +0000 (21:04 +0300)]
Clarify regex for `git commit --verbose` (#1606)

4 years agoFix python3 syntax file and make python3 default
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

4 years agoRelocate during replace
Zachary Yedidia [Tue, 24 Mar 2020 15:33:52 +0000 (11:33 -0400)]
Relocate during replace

Fixes #1587

4 years agoMerge
Zachary Yedidia [Tue, 24 Mar 2020 15:17:12 +0000 (11:17 -0400)]
Merge

4 years agoClarify replace message if replacing in selection
Zachary Yedidia [Tue, 24 Mar 2020 15:14:54 +0000 (11:14 -0400)]
Clarify replace message if replacing in selection

4 years agoBetter Julia syntax. (#1567)
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.

4 years agoClarify the Find operation being regex-enabled (#1561)
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.

4 years agoAdd elm as a default comment type in the comment plugin. (#1586)
allanderek [Tue, 24 Mar 2020 14:56:50 +0000 (14:56 +0000)]
Add elm as a default comment type in the comment plugin. (#1586)

4 years agoBetter ordering for reading syntax files
Zachary Yedidia [Tue, 24 Mar 2020 14:52:15 +0000 (10:52 -0400)]
Better ordering for reading syntax files

Ref #1580

4 years agoFix term emulator crash if invalid exec given
Zachary Yedidia [Tue, 24 Mar 2020 14:22:10 +0000 (10:22 -0400)]
Fix term emulator crash if invalid exec given

Ref #1583

4 years agoSupport +LINE:COL flag syntax for cursor pos
Zachary Yedidia [Tue, 24 Mar 2020 14:10:44 +0000 (10:10 -0400)]
Support +LINE:COL flag syntax for cursor pos

Closes #1566

4 years agoDon't clear infobar if not enabled
Zachary Yedidia [Tue, 17 Mar 2020 18:21:36 +0000 (14:21 -0400)]
Don't clear infobar if not enabled

Fixes #1584

4 years agoFix linter c++ entry
Zachary Yedidia [Sat, 14 Mar 2020 19:40:05 +0000 (15:40 -0400)]
Fix linter c++ entry

Fixes #1578

4 years agoAdd color schemes dukeubuntu-tc, dukedark-tc and dukelight-tc (#1547)
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>
4 years agoCopy selection to primary on mouse release
Zachary Yedidia [Thu, 5 Mar 2020 21:00:40 +0000 (16:00 -0500)]
Copy selection to primary on mouse release

Fixes #1558

4 years agoAdd JumpLine action back
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

4 years agoAdd support for Fastlane and Cocoapods file syntax highlighting (#1544)
Andrew Havens [Tue, 3 Mar 2020 01:03:28 +0000 (17:03 -0800)]
Add support for Fastlane and Cocoapods file syntax highlighting (#1544)

4 years agoIf stdout is a pipe, output to the pipe
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

4 years agoUse bytes.Buffer for LineArray.Bytes
Zachary Yedidia [Thu, 27 Feb 2020 16:27:00 +0000 (11:27 -0500)]
Use bytes.Buffer for LineArray.Bytes

4 years agoFix custom syntax files not highlighting
Zachary Yedidia [Thu, 27 Feb 2020 05:58:52 +0000 (00:58 -0500)]
Fix custom syntax files not highlighting

Fixes #1530

4 years agoImprove buffer test
Zachary Yedidia [Wed, 26 Feb 2020 04:59:27 +0000 (23:59 -0500)]
Improve buffer test

4 years agoImprove buffer test
Zachary Yedidia [Wed, 26 Feb 2020 04:21:50 +0000 (23:21 -0500)]
Improve buffer test

4 years agoUpdate runtime v2.0.2
Zachary Yedidia [Wed, 26 Feb 2020 02:08:22 +0000 (21:08 -0500)]
Update runtime

4 years agoUndo event chunks instead of single events
Zachary Yedidia [Wed, 26 Feb 2020 01:53:48 +0000 (20:53 -0500)]
Undo event chunks instead of single events

4 years agoUpdate readme
Zachary Yedidia [Wed, 26 Feb 2020 01:40:57 +0000 (20:40 -0500)]
Update readme

4 years agomod tidy
Zachary Yedidia [Wed, 26 Feb 2020 01:28:02 +0000 (20:28 -0500)]
mod tidy

4 years agoFix buffer tests and selection bug
Zachary Yedidia [Wed, 26 Feb 2020 01:24:02 +0000 (20:24 -0500)]
Fix buffer tests and selection bug

Fixes #1528
Ref #1526

4 years agoMerge branch 'buffer-tests' of https://github.com/p-e-w/micro into buffer-unit-tests
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

4 years agoline_array insert for eofnewline and make default
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

4 years agofix eofnewline not running on files with 1 rune (#1535)
josh [Tue, 25 Feb 2020 03:26:51 +0000 (03:26 +0000)]
fix eofnewline not running on files with 1 rune (#1535)

4 years agoFix text transformation bug
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

4 years agoHide ISSUE_TEMPLATE version help into a comment (#1532)
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

4 years agoApply basename option in tabbar as well
Zachary Yedidia [Mon, 24 Feb 2020 18:48:37 +0000 (13:48 -0500)]
Apply basename option in tabbar as well

4 years agoUse tabbar color group, and mark modified tabs
Zachary Yedidia [Mon, 24 Feb 2020 18:45:10 +0000 (13:45 -0500)]
Use tabbar color group, and mark modified tabs

Fixes #1523

4 years agoMove multi-cursors correctly after newlines
Zachary Yedidia [Mon, 24 Feb 2020 18:39:34 +0000 (13:39 -0500)]
Move multi-cursors correctly after newlines

Fixes #1527

4 years agoFilename completion for all non-command prompts
Zachary Yedidia [Mon, 24 Feb 2020 18:00:55 +0000 (13:00 -0500)]
Filename completion for all non-command prompts

Fixes #1529

4 years agoDebug off using default "go build"
Zachary Yedidia [Mon, 24 Feb 2020 17:55:59 +0000 (12:55 -0500)]
Debug off using default "go build"

Ref #1469

4 years agoAdd buffer test and benchmark suite (and tool to generate it)
Philipp Emanuel Weidmann [Sat, 22 Feb 2020 03:21:38 +0000 (08:51 +0530)]
Add buffer test and benchmark suite (and tool to generate it)

4 years agoFix issue with simultaneous buffers
Zachary Yedidia [Wed, 19 Feb 2020 22:40:54 +0000 (17:40 -0500)]
Fix issue with simultaneous buffers

4 years agoShare more buffer elements and fix rehighlight
Zachary Yedidia [Wed, 19 Feb 2020 19:41:30 +0000 (14:41 -0500)]
Share more buffer elements and fix rehighlight

Fixes #1521

4 years agoTweak version build script
Zachary Yedidia [Wed, 19 Feb 2020 05:27:33 +0000 (05:27 +0000)]
Tweak version build script

4 years agoMerge
Zachary Yedidia [Wed, 19 Feb 2020 02:40:36 +0000 (21:40 -0500)]
Merge

4 years agoGo lint the current directory of file
Zachary Yedidia [Wed, 19 Feb 2020 02:40:14 +0000 (21:40 -0500)]
Go lint the current directory of file

Closes #1520

4 years agoUse filecomplete for shell mode
Zachary Yedidia [Tue, 18 Feb 2020 03:29:33 +0000 (22:29 -0500)]
Use filecomplete for shell mode

4 years agoFix relocation with softwrap on small buffers
Zachary Yedidia [Sat, 15 Feb 2020 20:38:20 +0000 (15:38 -0500)]
Fix relocation with softwrap on small buffers

Fixes #1512

4 years agoAdd 'xterm' option
Zachary Yedidia [Sat, 15 Feb 2020 17:53:17 +0000 (12:53 -0500)]
Add 'xterm' option

Ref #1489

4 years agoRelocate after rune insert
Zachary Yedidia [Fri, 14 Feb 2020 20:52:20 +0000 (15:52 -0500)]
Relocate after rune insert

Fixes #1510

4 years agoUpdate snap version info
Zachary Yedidia [Fri, 14 Feb 2020 02:27:07 +0000 (21:27 -0500)]
Update snap version info

4 years agoChange some default option values
Zachary Yedidia [Fri, 14 Feb 2020 01:51:56 +0000 (20:51 -0500)]
Change some default option values

4 years agoFix makefile tags dependencies
Zachary Yedidia [Fri, 14 Feb 2020 01:00:35 +0000 (20:00 -0500)]
Fix makefile tags dependencies

4 years agoFetch tags before snapcraft build
Zachary Yedidia [Fri, 14 Feb 2020 00:57:31 +0000 (19:57 -0500)]
Fetch tags before snapcraft build

4 years agoMerge
Zachary Yedidia [Fri, 14 Feb 2020 00:49:27 +0000 (19:49 -0500)]
Merge

4 years agoSearch and replace within a selection
Zachary Yedidia [Fri, 14 Feb 2020 00:48:48 +0000 (19:48 -0500)]
Search and replace within a selection

Closes #1098

4 years agoAdd transparency (#1509)
Tonus1 [Thu, 13 Feb 2020 23:15:32 +0000 (00:15 +0100)]
Add transparency (#1509)

4 years agoSyntax file change
Zachary Yedidia [Thu, 13 Feb 2020 21:50:44 +0000 (16:50 -0500)]
Syntax file change

4 years agoHandle terminal paste and raw events in info bar
Zachary Yedidia [Thu, 13 Feb 2020 21:10:35 +0000 (16:10 -0500)]
Handle terminal paste and raw events in info bar

4 years agoMerge
Zachary Yedidia [Thu, 13 Feb 2020 21:09:16 +0000 (16:09 -0500)]
Merge

4 years agoSupport regex capture groups in replace command
Zachary Yedidia [Thu, 13 Feb 2020 21:05:56 +0000 (16:05 -0500)]
Support regex capture groups in replace command

See https://golang.org/pkg/regexp/syntax/ for the
supported syntax. Here are some examples:

```
replace "(foo)" "$1-bar"
replace "(foo)" "${1}-bar"
replace "(?P<group>foo)" "$group-bar"
replace "(?P<group>foo)" "$group-bar"
replace "(?P<key>\w+):\s+(?P<value>\w+)$" "$key=$value"
```

Closes #1115

4 years agoreadme: document clipboard support on Wayland (#1508)
Simon Ser [Thu, 13 Feb 2020 19:00:18 +0000 (20:00 +0100)]
readme: document clipboard support on Wayland (#1508)

4 years agoFix gutter offset when softwrap is enabled
Zachary Yedidia [Thu, 13 Feb 2020 16:04:10 +0000 (11:04 -0500)]
Fix gutter offset when softwrap is enabled

4 years agoMake default plugin options more explicit
Zachary Yedidia [Wed, 12 Feb 2020 20:34:13 +0000 (15:34 -0500)]
Make default plugin options more explicit

Ref #1305

4 years agoMerge branch 'utkarsh2102-update-readme' v2.0.1
Zachary Yedidia [Wed, 12 Feb 2020 19:26:33 +0000 (14:26 -0500)]
Merge branch 'utkarsh2102-update-readme'

4 years agoUpdate readme
Zachary Yedidia [Wed, 12 Feb 2020 19:26:17 +0000 (14:26 -0500)]
Update readme

4 years agoMerge branch 'update-readme' of https://github.com/utkarsh2102/micro into utkarsh2102...
Zachary Yedidia [Wed, 12 Feb 2020 19:22:33 +0000 (14:22 -0500)]
Merge branch 'update-readme' of https://github.com/utkarsh2102/micro into utkarsh2102-update-readme

4 years agoMerge branch 'seitokaichou-autosu'
Zachary Yedidia [Wed, 12 Feb 2020 19:15:37 +0000 (14:15 -0500)]
Merge branch 'seitokaichou-autosu'

4 years agoMerge branch 'autosu' of https://github.com/seitokaichou/micro into seitokaichou...
Zachary Yedidia [Wed, 12 Feb 2020 19:15:30 +0000 (14:15 -0500)]
Merge branch 'autosu' of https://github.com/seitokaichou/micro into seitokaichou-autosu

4 years agoMerge branch 'jawahars16-bug-endless-reload-prompt'
Zachary Yedidia [Wed, 12 Feb 2020 18:56:17 +0000 (13:56 -0500)]
Merge branch 'jawahars16-bug-endless-reload-prompt'

4 years agoMerge branch 'bug-endless-reload-prompt' of https://github.com/jawahars16/micro into...
Zachary Yedidia [Wed, 12 Feb 2020 18:56:00 +0000 (13:56 -0500)]
Merge branch 'bug-endless-reload-prompt' of https://github.com/jawahars16/micro into jawahars16-bug-endless-reload-prompt

4 years agoUpdate readme toc
Zachary Yedidia [Wed, 12 Feb 2020 18:38:14 +0000 (13:38 -0500)]
Update readme toc

4 years agoShare hash across equivalent buffers for fastdirty=off
Zachary Yedidia [Wed, 12 Feb 2020 18:32:42 +0000 (13:32 -0500)]
Share hash across equivalent buffers for fastdirty=off

4 years agoIntroduce IndentLine action
Zachary Yedidia [Wed, 12 Feb 2020 18:30:24 +0000 (13:30 -0500)]
Introduce IndentLine action

Closes #1476

4 years agoFix issue with global/local settings
Zachary Yedidia [Wed, 12 Feb 2020 18:18:59 +0000 (13:18 -0500)]
Fix issue with global/local settings

4 years agoClicking tabbar arrow scrolls and fix multicursor
Zachary Yedidia [Wed, 12 Feb 2020 18:05:15 +0000 (13:05 -0500)]
Clicking tabbar arrow scrolls and fix multicursor

Closes #1503

4 years agoExpose OpenLogBuf to plugins
Zachary Yedidia [Wed, 12 Feb 2020 17:35:40 +0000 (12:35 -0500)]
Expose OpenLogBuf to plugins

4 years agoOnly highlight matching brace if one is found
Zachary Yedidia [Wed, 12 Feb 2020 06:32:23 +0000 (01:32 -0500)]
Only highlight matching brace if one is found

Fixes #1505

4 years agoOnly fetch tags if no tags are found at all
Zachary Yedidia [Wed, 12 Feb 2020 06:24:25 +0000 (01:24 -0500)]
Only fetch tags if no tags are found at all

Fixes #1504

4 years agoFix deleteLines off-by-one error
Zachary Yedidia [Wed, 12 Feb 2020 06:16:11 +0000 (01:16 -0500)]
Fix deleteLines off-by-one error

Fixes #1501

4 years agoClamp modifications
Zachary Yedidia [Wed, 12 Feb 2020 05:55:52 +0000 (00:55 -0500)]
Clamp modifications

Fixes #1502

4 years agoRemove incorrect plugin documentation
Zachary Yedidia [Wed, 12 Feb 2020 05:22:32 +0000 (00:22 -0500)]
Remove incorrect plugin documentation

4 years agoUpdate installation instruction on Debian systems
Utkarsh Gupta [Wed, 12 Feb 2020 02:15:07 +0000 (07:45 +0530)]
Update installation instruction on Debian systems

4 years agoDon't expose draw channel to outside packages
Zachary Yedidia [Wed, 12 Feb 2020 01:39:26 +0000 (20:39 -0500)]
Don't expose draw channel to outside packages

4 years agoUpdate tcell to v1.4.4
Zachary Yedidia [Wed, 12 Feb 2020 01:34:22 +0000 (20:34 -0500)]
Update tcell to v1.4.4

4 years agoDon't block when redraw channel becomes full
Zachary Yedidia [Wed, 12 Feb 2020 01:03:32 +0000 (20:03 -0500)]
Don't block when redraw channel becomes full

Fixes #1497

4 years agoMerge
Zachary Yedidia [Wed, 12 Feb 2020 00:13:41 +0000 (19:13 -0500)]
Merge

4 years agoUpdate haskell syntax file
Zachary Yedidia [Wed, 12 Feb 2020 00:13:36 +0000 (19:13 -0500)]
Update haskell syntax file

4 years agoUpdate readme v2.0.0
Zachary Yedidia [Tue, 11 Feb 2020 21:40:15 +0000 (16:40 -0500)]
Update readme

4 years agoUpdate screenshot
Zachary Yedidia [Tue, 11 Feb 2020 21:30:58 +0000 (16:30 -0500)]
Update screenshot

4 years agoTypo
Zachary Yedidia [Tue, 11 Feb 2020 19:50:15 +0000 (14:50 -0500)]
Typo

4 years agoFix tag fetching in build-version.go
Zachary Yedidia [Tue, 11 Feb 2020 19:46:19 +0000 (14:46 -0500)]
Fix tag fetching in build-version.go

4 years agoFetch tags if none are found
Zachary Yedidia [Tue, 11 Feb 2020 19:14:34 +0000 (14:14 -0500)]
Fetch tags if none are found

4 years agoUse filepath.Join more
Zachary Yedidia [Tue, 11 Feb 2020 18:09:17 +0000 (13:09 -0500)]
Use filepath.Join more