]> git.lizzy.rs Git - micro.git/log
micro.git
6 years agosearch: Only update lastSearch on ENTER
Pranav Raja [Mon, 16 Oct 2017 06:35:57 +0000 (17:35 +1100)]
search: Only update lastSearch on ENTER

This has a few effects:

- `lastSearch` doesn't get overriden with partial searches
unnecessarily, which matches the behaviour of vim/emacs etc.

- Selecting a word, then pressing C-c C-f ENTER works better as you can
now use C-n and C-p to jump to more occurrences of what you just
searched for. Without this C-n would jump to what you searched for
*previously*.

- `lastSearch` will now be updated even if the search did not match -
again, this matches the behaviour of vim/emacs.

6 years agoMerge
Zachary Yedidia [Sun, 15 Oct 2017 19:35:54 +0000 (15:35 -0400)]
Merge

6 years agoDon't draw statusline if infobar is off and in use
Zachary Yedidia [Sun, 15 Oct 2017 19:35:19 +0000 (15:35 -0400)]
Don't draw statusline if infobar is off and in use

Fixes #873

6 years agoMerge pull request #890 from Jipok/patch-1
Zachary Yedidia [Sun, 15 Oct 2017 19:32:50 +0000 (15:32 -0400)]
Merge pull request #890 from Jipok/patch-1

Use spaces for nim

6 years agoMerge pull request #880 from onodera-punpun/consistent
Zachary Yedidia [Sun, 15 Oct 2017 19:32:35 +0000 (15:32 -0400)]
Merge pull request #880 from onodera-punpun/consistent

Alphabetically order options, format *.md files

6 years agoMerge pull request #883 from onodera-punpun/lint
Zachary Yedidia [Sun, 15 Oct 2017 19:30:52 +0000 (15:30 -0400)]
Merge pull request #883 from onodera-punpun/lint

alphabetically order linters, add shell linter

6 years agoMerge pull request #888 from matthewgraybosch/master
Zachary Yedidia [Sun, 15 Oct 2017 19:30:35 +0000 (15:30 -0400)]
Merge pull request #888 from matthewgraybosch/master

Update README.md

6 years agoUse spaces for nim
Jipok [Sat, 14 Oct 2017 15:21:41 +0000 (20:21 +0500)]
Use spaces for nim

From manual:
Nim's standard grammar describes an indentation sensitive language. This means that all the control structures are recognized by indentation. Indentation consists only of spaces; tabulators are not allowed.

6 years agoUpdate README.md
Matthew Graybosch [Thu, 12 Oct 2017 17:52:47 +0000 (13:52 -0400)]
Update README.md

Added information for OpenBSD. It works great there. :metal:

6 years agoalphabetically order linters, add shell linter
Camille Scholtz [Wed, 11 Oct 2017 15:47:23 +0000 (17:47 +0200)]
alphabetically order linters, add shell linter

6 years agoUse more consisten syntax in md files, format tp 80 collumns, fix some typos
Camille Scholtz [Wed, 11 Oct 2017 13:16:53 +0000 (15:16 +0200)]
Use more consisten syntax in md files, format tp 80 collumns, fix some typos

6 years agoalphabetically order options
Camille Scholtz [Wed, 11 Oct 2017 12:43:38 +0000 (14:43 +0200)]
alphabetically order options

6 years agoMake settings capitalization consistent
Camille Scholtz [Wed, 11 Oct 2017 12:22:23 +0000 (14:22 +0200)]
Make settings capitalization consistent

6 years agoMerge pull request #876 from yannicka/setlocal-optionvaluecompletion
Zachary Yedidia [Sun, 8 Oct 2017 18:52:50 +0000 (14:52 -0400)]
Merge pull request #876 from yannicka/setlocal-optionvaluecompletion

Add option value completion on setlocal

6 years agoAdd option value completion on setlocal
Yannick Armand [Sun, 8 Oct 2017 16:42:09 +0000 (18:42 +0200)]
Add option value completion on setlocal

6 years agoUpdate readme
Zachary Yedidia [Sat, 7 Oct 2017 20:27:55 +0000 (16:27 -0400)]
Update readme

6 years agoDon't store cmd stdout in string
Zachary Yedidia [Sat, 7 Oct 2017 01:09:53 +0000 (21:09 -0400)]
Don't store cmd stdout in string

Storing the stdout confuses isatty causing programs running within
ShellMode to not format properly.

Fixes #862

6 years agoUpdate runtime
Zachary Yedidia [Sat, 7 Oct 2017 00:43:14 +0000 (20:43 -0400)]
Update runtime

6 years agoAdd docs for binding esc sequences
Zachary Yedidia [Sat, 7 Oct 2017 00:42:58 +0000 (20:42 -0400)]
Add docs for binding esc sequences

6 years agoSupport binding raw escapes codes
Zachary Yedidia [Fri, 6 Oct 2017 18:03:35 +0000 (14:03 -0400)]
Support binding raw escapes codes

6 years agoRevert "Update tcell to use gdamore's fix for idle wakeup"
Zachary Yedidia [Fri, 6 Oct 2017 17:21:53 +0000 (13:21 -0400)]
Revert "Update tcell to use gdamore's fix for idle wakeup"

This reverts commit f01ad3f726701349a2de24ae2e3fcf663f273ee3.

6 years agoUpdate tcell to use gdamore's fix for idle wakeup
Zachary Yedidia [Fri, 6 Oct 2017 17:03:43 +0000 (13:03 -0400)]
Update tcell to use gdamore's fix for idle wakeup

Note that you may encounter merge conflicts if you try to update. If you
do, remove the directory `cmd/micro/vendor/github.com/zyedidia/tcell`
and it will be recloned.

6 years agoMerge
Zachary Yedidia [Fri, 6 Oct 2017 15:00:31 +0000 (11:00 -0400)]
Merge

6 years agoAdd paren highlighting for js and update runtime
Zachary Yedidia [Fri, 6 Oct 2017 14:59:43 +0000 (10:59 -0400)]
Add paren highlighting for js and update runtime

6 years agoMerge pull request #868 from nicolasbd/patch-1
Zachary Yedidia [Fri, 6 Oct 2017 14:58:28 +0000 (10:58 -0400)]
Merge pull request #868 from nicolasbd/patch-1

Support .es files and fix js parenthesis highlighting

6 years agosupport es files and fix parenthesis highlighting
Nicolas [Fri, 6 Oct 2017 14:29:49 +0000 (16:29 +0200)]
support es files and fix parenthesis highlighting

* This allows `micro` to use javascript syntax highlighting on `.es`, `.es6|7|8` files
* Fix parenthesis highlighting with @is73 regex, see #864

6 years agoMerge pull request #858 from andreaTP/scalaSyntax
Zachary Yedidia [Wed, 4 Oct 2017 19:15:18 +0000 (15:15 -0400)]
Merge pull request #858 from andreaTP/scalaSyntax

a couple more keywords to scala syntax

6 years agoFix save and quit prompt
Zachary Yedidia [Wed, 4 Oct 2017 16:11:20 +0000 (12:11 -0400)]
Fix  save and quit prompt

6 years agoa couple more keywords to scala syntax
andrea [Wed, 4 Oct 2017 09:17:50 +0000 (10:17 +0100)]
a couple more keywords to scala syntax

6 years agoMerge pull request #850 from nitsakh/feat-809
Zachary Yedidia [Wed, 4 Oct 2017 03:49:57 +0000 (23:49 -0400)]
Merge pull request #850 from nitsakh/feat-809

Implementation of Paragraph Feature

6 years agoMerge pull request #852 from popey/patch-3
Zachary Yedidia [Tue, 3 Oct 2017 14:48:46 +0000 (10:48 -0400)]
Merge pull request #852 from popey/patch-3

Ensure snap is built with git version/tag info

6 years agoFix sucmd option
Zachary Yedidia [Tue, 3 Oct 2017 14:48:07 +0000 (10:48 -0400)]
Fix sucmd option

Fixes #854

6 years agoEnsure snap is built with git version/tag info
Alan Pope [Tue, 3 Oct 2017 11:50:47 +0000 (12:50 +0100)]
Ensure snap is built with git version/tag info

Changing from version: master to version: git will prevent the snap being built with the text 'master' as the version, but instead use the latest git tag or version info. This makes it easier to figure out which build is which in the store.

6 years agoMerge
Zachary Yedidia [Tue, 3 Oct 2017 03:44:58 +0000 (23:44 -0400)]
Merge

6 years agoAdd nano-style key menu option
Zachary Yedidia [Tue, 3 Oct 2017 03:44:11 +0000 (23:44 -0400)]
Add nano-style key menu option

Use the `keymenu` option (default `off`) to enable. ToggleKeyMenu is
also bound to `Alt-g` and this info is now displayed in the status line.

Closes #829

6 years agoImplementation of Paragraph Feature
Nitish Sakhawalkar [Tue, 3 Oct 2017 02:01:01 +0000 (19:01 -0700)]
Implementation of Paragraph Feature

Changes to support moving cursor to next and previous paragraph
and updates to corresponding documentation

6 years agoMerge pull request #846 from sotpapathe/patch_yaml_ftoptions
Zachary Yedidia [Mon, 2 Oct 2017 18:05:14 +0000 (14:05 -0400)]
Merge pull request #846 from sotpapathe/patch_yaml_ftoptions

Added automatic tabs to spaces for yaml and updated readme

6 years agoAdded automatic tabs to spaces for yaml and updated readme
sotpapathe [Mon, 2 Oct 2017 09:36:28 +0000 (13:36 +0400)]
Added automatic tabs to spaces for yaml and updated readme

6 years agoMerge pull request #845 from paykroyd/nit
Zachary Yedidia [Mon, 2 Oct 2017 03:13:11 +0000 (23:13 -0400)]
Merge pull request #845 from paykroyd/nit

grammar nit

6 years agogrammar nit
Pete Aykroyd [Mon, 2 Oct 2017 02:33:03 +0000 (22:33 -0400)]
grammar nit

6 years agoMerge
Zachary Yedidia [Mon, 2 Oct 2017 01:56:10 +0000 (21:56 -0400)]
Merge

6 years agoAdd sucmd to customize "sudo" command
Zachary Yedidia [Mon, 2 Oct 2017 01:55:43 +0000 (21:55 -0400)]
Add sucmd to customize "sudo" command

Fixes #833

6 years agoMerge pull request #842 from marius92mc/add-editorconfig-and-set-indent-size-to-4
Zachary Yedidia [Sun, 1 Oct 2017 18:37:05 +0000 (14:37 -0400)]
Merge pull request #842 from marius92mc/add-editorconfig-and-set-indent-size-to-4

Add .editorconfig and set indent_size to 4

6 years agoAdd .editorconfig and set indent_size to 4
marius92mc [Sun, 1 Oct 2017 17:51:33 +0000 (20:51 +0300)]
Add .editorconfig and set indent_size to 4

6 years agoFix some golint warnings
Zachary Yedidia [Sun, 1 Oct 2017 16:42:23 +0000 (12:42 -0400)]
Fix some golint warnings

6 years agoFix support for user-friendly plugin names
Zachary Yedidia [Sat, 30 Sep 2017 21:47:19 +0000 (17:47 -0400)]
Fix support for user-friendly plugin names

Fixes #840

6 years agoMerge pull request #838 from yursan9/appstream
Zachary Yedidia [Sat, 30 Sep 2017 03:54:28 +0000 (23:54 -0400)]
Merge pull request #838 from yursan9/appstream

Update Appstream

6 years agoUpdate Appstream
Yurizal Susanto [Sat, 30 Sep 2017 03:12:53 +0000 (10:12 +0700)]
Update Appstream

6 years agoMerge
Zachary Yedidia [Fri, 29 Sep 2017 17:46:54 +0000 (13:46 -0400)]
Merge

6 years agoUpdate readme
Zachary Yedidia [Fri, 29 Sep 2017 17:46:51 +0000 (13:46 -0400)]
Update readme

6 years agoMerge pull request #835 from andreaTP/jsSyntax
Zachary Yedidia [Fri, 29 Sep 2017 17:39:04 +0000 (13:39 -0400)]
Merge pull request #835 from andreaTP/jsSyntax

few more keywords for js syntax

6 years agofew more keywords for js syntax
andrea [Fri, 29 Sep 2017 15:20:38 +0000 (16:20 +0100)]
few more keywords for js syntax

6 years agoUpdate readme
Zachary Yedidia [Thu, 28 Sep 2017 23:38:24 +0000 (19:38 -0400)]
Update readme

6 years agoReplace home directory before performing SaveAs v1.3.3
Zachary Yedidia [Wed, 27 Sep 2017 02:55:06 +0000 (22:55 -0400)]
Replace home directory before performing SaveAs

Fixes #820

6 years agoPerl syntax highlighting fix (#818)
MrSndmn [Sun, 24 Sep 2017 15:59:57 +0000 (18:59 +0300)]
Perl syntax highlighting fix (#818)

* Perl syntax highlighting fix

* Useless escapes removed

6 years agoSet fastdirty on for files larger than 50kb
Zachary Yedidia [Sun, 24 Sep 2017 01:18:37 +0000 (21:18 -0400)]
Set fastdirty on for files larger than 50kb

6 years agoOnly replace '~' with home if at start of path
Zachary Yedidia [Sun, 24 Sep 2017 00:56:08 +0000 (20:56 -0400)]
Only replace '~' with home if at start of path

Ref #757

6 years agoAdd autocompletion for option values
Zachary Yedidia [Sun, 24 Sep 2017 00:47:19 +0000 (20:47 -0400)]
Add autocompletion for option values

Closes #555

6 years agoMake mouse option global option
Zachary Yedidia [Thu, 21 Sep 2017 21:10:53 +0000 (17:10 -0400)]
Make mouse option global option

Fixes #816

6 years agoUpdate tcell
Zachary Yedidia [Tue, 19 Sep 2017 17:21:09 +0000 (13:21 -0400)]
Update tcell

The latest commit to tcell should fix behavior for large pastes.

Fixes #815

6 years agoAdd option for very accurate dirty flag
Zachary Yedidia [Mon, 18 Sep 2017 03:33:18 +0000 (23:33 -0400)]
Add option for very accurate dirty flag

Set the `fastdirty` option flag to off if you really want accurate
reporting on whether the buffer is modified. This is more resource
intensive but it can be useful for people who don't mind.

Closes #787
Closes #467

6 years agoFix options and make usage text much more readable
Zachary Yedidia [Mon, 18 Sep 2017 02:11:26 +0000 (22:11 -0400)]
Fix options and make usage text much more readable

Now micro -h will just show you the important information and if you
want to see each individual option's help text use micro -options.

6 years agoOnly register double click on equal mouse location
Zachary Yedidia [Sun, 17 Sep 2017 22:31:32 +0000 (18:31 -0400)]
Only register double click on equal mouse location

6 years agoUpdate readme
Zachary Yedidia [Fri, 15 Sep 2017 20:25:01 +0000 (16:25 -0400)]
Update readme

6 years agoFix moving to end of line on cursor down v1.3.2
Zachary Yedidia [Fri, 15 Sep 2017 20:09:33 +0000 (16:09 -0400)]
Fix moving to end of line on cursor down

6 years agoUpdate tcell
Zachary Yedidia [Fri, 15 Sep 2017 18:15:21 +0000 (14:15 -0400)]
Update tcell

6 years agoUpdate tcell
Zachary Yedidia [Fri, 15 Sep 2017 17:33:06 +0000 (13:33 -0400)]
Update tcell

6 years agoUpdate tcell
Zachary Yedidia [Fri, 15 Sep 2017 14:50:56 +0000 (10:50 -0400)]
Update tcell

6 years agoUpdate tcell
Zachary Yedidia [Thu, 14 Sep 2017 21:29:25 +0000 (17:29 -0400)]
Update tcell

6 years agoUse type.keyword instead of keyword
Zachary Yedidia [Wed, 13 Sep 2017 22:00:47 +0000 (18:00 -0400)]
Use type.keyword instead of keyword

Some syntax files used keyword from an old version when they should have
been using type.keyword.

Fixes #811

6 years agoAdd documentation for new lua functions
Zachary Yedidia [Mon, 11 Sep 2017 16:23:19 +0000 (12:23 -0400)]
Add documentation for new lua functions

6 years agoAdd --config-dir option
Zachary Yedidia [Mon, 11 Sep 2017 03:20:21 +0000 (23:20 -0400)]
Add --config-dir option

6 years agoMerge branch 'better-lua'
Zachary Yedidia [Mon, 11 Sep 2017 02:22:31 +0000 (22:22 -0400)]
Merge branch 'better-lua'

6 years agoUpdate tcell
Zachary Yedidia [Sun, 10 Sep 2017 21:21:37 +0000 (17:21 -0400)]
Update tcell

6 years agoMerge
Zachary Yedidia [Sun, 10 Sep 2017 18:16:35 +0000 (14:16 -0400)]
Merge

6 years agoGive Lua access to most of the Go stdlib
Zachary Yedidia [Sat, 9 Sep 2017 21:37:08 +0000 (17:37 -0400)]
Give Lua access to most of the Go stdlib

6 years agoUpdate tcell
Zachary Yedidia [Sun, 10 Sep 2017 16:47:24 +0000 (12:47 -0400)]
Update tcell

6 years agoGive Lua access to most of the Go stdlib
Zachary Yedidia [Sat, 9 Sep 2017 21:37:08 +0000 (17:37 -0400)]
Give Lua access to most of the Go stdlib

6 years agoMerge pull request #805 from techtonik/patch-2
Zachary Yedidia [Sat, 9 Sep 2017 03:19:32 +0000 (23:19 -0400)]
Merge pull request #805 from techtonik/patch-2

Allow GitHub to detect license

6 years agoEscape regex chars in selections for multicursors
Zachary Yedidia [Fri, 8 Sep 2017 23:16:14 +0000 (19:16 -0400)]
Escape regex chars in selections for multicursors

Fixes #808

6 years agoAdd note about NaCl deprecation
Zachary Yedidia [Fri, 8 Sep 2017 23:00:02 +0000 (19:00 -0400)]
Add note about NaCl deprecation

6 years agoSet OrigSelection during search
Zachary Yedidia [Fri, 8 Sep 2017 22:57:24 +0000 (18:57 -0400)]
Set OrigSelection during search

Fixes #807

6 years agoAllow GitHub to detect license
anatoly techtonik [Fri, 8 Sep 2017 13:23:07 +0000 (16:23 +0300)]
Allow GitHub to detect license

It will appear in commits/releases line

6 years agoHandle zip files that do not list directories
Zachary Yedidia [Thu, 7 Sep 2017 21:02:26 +0000 (17:02 -0400)]
Handle zip files that do not list directories

Some zip files do not mark the subdirectories in them as "files"
but they still need to be created.

Fixes #803

6 years agoFix UpN if proposedY < 0
Zachary Yedidia [Thu, 7 Sep 2017 20:44:05 +0000 (16:44 -0400)]
Fix UpN if proposedY < 0

Fixes #804

6 years agoUpdate tcell
Zachary Yedidia [Wed, 6 Sep 2017 20:41:09 +0000 (16:41 -0400)]
Update tcell

6 years agoAdd mouse option to allow disabling mouse support
Zachary Yedidia [Wed, 6 Sep 2017 19:50:50 +0000 (15:50 -0400)]
Add mouse option to allow disabling mouse support

6 years agoFix autoclose plugin cursor position
Zachary Yedidia [Tue, 5 Sep 2017 22:36:42 +0000 (18:36 -0400)]
Fix autoclose plugin cursor position

6 years agoFix undo of MultipleReplace
Zachary Yedidia [Mon, 4 Sep 2017 20:21:08 +0000 (16:21 -0400)]
Fix undo of MultipleReplace

Fixes #799

6 years agoClear cursors before performing undo or redo
Zachary Yedidia [Mon, 4 Sep 2017 19:47:24 +0000 (15:47 -0400)]
Clear cursors before performing undo or redo

This fix isn't ideal because it removes the cursors but it does work

Fixes #798

6 years agoMerge pull request #796 from tommyshem/remove-offset
Zachary Yedidia [Sat, 2 Sep 2017 14:30:39 +0000 (10:30 -0400)]
Merge pull request #796 from tommyshem/remove-offset

missing line number offset to current line highlighting for loop. Fix #795

6 years agoadd missing new lua command WorkingDirectory to docs (#797)
Tommy [Sat, 2 Sep 2017 14:30:19 +0000 (15:30 +0100)]
add missing new lua command WorkingDirectory to docs (#797)

* add missing new lua command WorkingDirectory to docs

* added messenger.AddLog to doc and changed lua commands from . to :

6 years agoadd missing offset to current highlighting line. Fix #795
tommy [Sat, 2 Sep 2017 08:40:35 +0000 (09:40 +0100)]
add missing offset to current highlighting line. Fix #795

6 years agoadd comment and let multi values to the log to make it easy to log. (#788)
Tommy [Sun, 27 Aug 2017 16:18:56 +0000 (17:18 +0100)]
add comment and let multi values to the log to make it easy to log. (#788)

* add comment and let multi values to the log to make it easy to log.

* added WorkingDirectory to lua bindings (returns the current directory)

6 years agoProper bounds check
Zachary Yedidia [Thu, 24 Aug 2017 18:56:46 +0000 (14:56 -0400)]
Proper bounds check

Closes #791

6 years agoUpdate runtime
Zachary Yedidia [Thu, 24 Aug 2017 17:15:17 +0000 (13:15 -0400)]
Update runtime

6 years agoMerge
Zachary Yedidia [Thu, 24 Aug 2017 17:15:01 +0000 (13:15 -0400)]
Merge

6 years agoAdd support for switching between crlf and lf
Zachary Yedidia [Thu, 24 Aug 2017 17:13:14 +0000 (13:13 -0400)]
Add support for switching between crlf and lf

Dos and Unix line endings are now both supported (previously on unix
line endings were supported) and can be accessed via the `fileformat`
option. The file format will be automatically detected and displayed in
the statusline but can be overriden.

Possible values for the `fileformat` option are `dos` and `unix`.

Closes #443
Closes #755

6 years agoImprove julia syntax file
Zachary Yedidia [Mon, 14 Aug 2017 19:18:48 +0000 (15:18 -0400)]
Improve julia syntax file

Ref #781

6 years agoAdd julia rules
Zachary Yedidia [Mon, 14 Aug 2017 15:59:29 +0000 (11:59 -0400)]
Add julia rules

Fixes #781