]> git.lizzy.rs Git - micro.git/log
micro.git
6 years agoImprove command bar keybindings v1.3.4
Zachary Yedidia [Fri, 24 Nov 2017 19:43:26 +0000 (14:43 -0500)]
Improve command bar keybindings

The command bar now supports better keybindings:

CtrlA, CtrlLeft: start of line
CtrlE, CtrlRight: end of line
CtrlF, AltRight: next word
CtrlB, AltLeft: previous word
CtrlW, AltBackspace: delete previous word
CtrlV: Paste
Arrow keys as usual

These keybindings are not rebindable (maybe support will be added
in the future).

6 years agoMinor comment improvement
Zachary Yedidia [Fri, 24 Nov 2017 18:35:11 +0000 (13:35 -0500)]
Minor comment improvement

6 years agoFix autocomplete behavior for empty args
Zachary Yedidia [Fri, 24 Nov 2017 04:04:32 +0000 (23:04 -0500)]
Fix autocomplete behavior for empty args

This also adds a modified version of go-shellwords as a dependency
and removes the dependency on the original go-shellwords.

6 years agoMove incomplete colorschemes and improve cd
Zachary Yedidia [Thu, 23 Nov 2017 20:57:17 +0000 (15:57 -0500)]
Move incomplete colorschemes and improve cd

The default colorschemes should ideally use 256 colors instead
of just 16 colors. The `simple` colorscheme should cover most
16 color use cases. I went through the colorschemes and put the themes
that didn't look good or looked incomplete in an in_progress directory.

This commit also improves the `cd` command behavior when using an
unnamed buffer.

6 years agoCheck width before drawing cellview
Zachary Yedidia [Thu, 23 Nov 2017 19:44:07 +0000 (14:44 -0500)]
Check width before drawing cellview

Fixes #927

6 years agoImprove cmdbar parsing and add -l replace flag
Zachary Yedidia [Wed, 22 Nov 2017 18:54:39 +0000 (13:54 -0500)]
Improve cmdbar parsing and add -l replace flag

The -l flag to the replace command means "literal" and will treat
the search term literally instead of as a regular expression.

The command bar also now supports expanding environment variables
and running expressions through the shell and using the result
in the command.

6 years agoSupport either io/ioutil or ioutil for lua import
Zachary Yedidia [Tue, 21 Nov 2017 21:24:39 +0000 (16:24 -0500)]
Support either io/ioutil or ioutil for lua import

Closes #923

6 years agoImplement retab command
Zachary Yedidia [Tue, 21 Nov 2017 05:51:07 +0000 (00:51 -0500)]
Implement retab command

Ref #919

6 years agoMerge pull request #891 from pranavraja/master
Zachary Yedidia [Sun, 19 Nov 2017 20:47:05 +0000 (15:47 -0500)]
Merge pull request #891 from pranavraja/master

search: Only update lastSearch on ENTER

6 years agoRemove unnecessary authors file
Zachary Yedidia [Sun, 19 Nov 2017 20:40:21 +0000 (15:40 -0500)]
Remove unnecessary authors file

6 years agoMerge pull request #613 from GeigerCounter/build_tools
Zachary Yedidia [Sun, 19 Nov 2017 20:39:32 +0000 (15:39 -0500)]
Merge pull request #613 from GeigerCounter/build_tools

Build tools

6 years agoMerge pull request #847 from sotpapathe/octave_support
Zachary Yedidia [Sat, 18 Nov 2017 21:56:31 +0000 (16:56 -0500)]
Merge pull request #847 from sotpapathe/octave_support

Initial support for Octave/Matlab syntax highlighting

6 years agoUpdate lua go stdlib access documentation
Zachary Yedidia [Thu, 16 Nov 2017 19:29:36 +0000 (14:29 -0500)]
Update lua go stdlib access documentation

Ref #912

6 years agoSupport .cljs and .cljc as clojure files
Zachary Yedidia [Tue, 14 Nov 2017 18:58:28 +0000 (13:58 -0500)]
Support .cljs and .cljc as clojure files

Fixes #911

6 years agoMerge pull request #908 from FujiHaruka/patch-1
Zachary Yedidia [Wed, 8 Nov 2017 05:28:09 +0000 (00:28 -0500)]
Merge pull request #908 from FujiHaruka/patch-1

Update javascript.yaml

6 years agoMinor documentation update
Zachary Yedidia [Wed, 8 Nov 2017 05:23:18 +0000 (00:23 -0500)]
Minor documentation update

6 years agoUpdate javascript.yaml
Fuji Haruka [Mon, 6 Nov 2017 11:52:28 +0000 (20:52 +0900)]
Update javascript.yaml

Add statements `async` and `await`.

Its status is stage 3 Draft.
https://tc39.github.io/ecmascript-asyncawait/#async-function-definitions
But I think it's usefull to add, because Node.js >= v7.6 support it.

6 years agoAdd a scroll bar option
Zachary Yedidia [Mon, 6 Nov 2017 01:07:14 +0000 (20:07 -0500)]
Add a scroll bar option

The option is `scrollbar` and is off by default. The scroll bar is
not interactive (you can't click and drag it) but this will likely
be fixed in the future.

Ref #869

6 years agoAdd installation script instructions to readme
Zachary Yedidia [Tue, 31 Oct 2017 20:16:57 +0000 (16:16 -0400)]
Add installation script instructions to readme

6 years agoFix typo in readme
Zachary Yedidia [Tue, 24 Oct 2017 02:26:45 +0000 (22:26 -0400)]
Fix typo in readme

6 years agoFix issue with multicursor IDs
Zachary Yedidia [Sun, 22 Oct 2017 23:51:16 +0000 (19:51 -0400)]
Fix issue with multicursor IDs

Fixes #899

6 years agoMerge
Zachary Yedidia [Sun, 22 Oct 2017 22:02:18 +0000 (18:02 -0400)]
Merge

6 years agoDon't print error message if history file doesn't exist
Zachary Yedidia [Sun, 22 Oct 2017 22:00:47 +0000 (18:00 -0400)]
Don't print error message if history file doesn't exist

6 years agoMerge pull request #898 from TedSinger/master
Zachary Yedidia [Sun, 22 Oct 2017 15:59:43 +0000 (11:59 -0400)]
Merge pull request #898 from TedSinger/master

savehistory bugfix

6 years agoIf the history file is unreadable or unparseable, Messenger.history remained nil...
Ted Singer [Sat, 21 Oct 2017 22:59:11 +0000 (18:59 -0400)]
If the history file is unreadable or unparseable, Messenger.history remained nil, causing a panic on read.
Now in that case, we temporarily disable saving history and initialize history to empty, instead of nil

6 years agoMerge
Zachary Yedidia [Sat, 21 Oct 2017 19:32:34 +0000 (15:32 -0400)]
Merge

6 years agoAdd savehistory option
Zachary Yedidia [Sat, 21 Oct 2017 19:31:04 +0000 (15:31 -0400)]
Add savehistory option

When savehistory is enabled, micro will save your command history across
sessions. This includes command-mode, shell-mode, open, jump-to-line...
Anything that uses up-arrow for history in the infobar.

This option is on by default.

Closes #874

6 years agoMerge pull request #782 from i-amdroid/master
Zachary Yedidia [Sat, 21 Oct 2017 04:12:45 +0000 (00:12 -0400)]
Merge pull request #782 from i-amdroid/master

Added Twilight color scheme

6 years agoUpdate Lua syntax (#893)
therainingmonkey [Sat, 21 Oct 2017 04:10:46 +0000 (06:10 +0200)]
Update Lua syntax (#893)

* Edited Lua syntax ('hash' is not a comment in Lua).

* Edited Lua syntax - hash (#) is a symbol in Lua (the length operator).

6 years agoFix comment regex for shell filetype
Zachary Yedidia [Sat, 21 Oct 2017 03:57:49 +0000 (23:57 -0400)]
Fix comment regex for shell filetype

Fixes #895

6 years agoMerge pull request #882 from onodera-punpun/ft
Zachary Yedidia [Tue, 17 Oct 2017 04:04:04 +0000 (00:04 -0400)]
Merge pull request #882 from onodera-punpun/ft

Add fish to ftoptions

6 years agoMerge branch 'master' into ft
Zachary Yedidia [Tue, 17 Oct 2017 04:03:57 +0000 (00:03 -0400)]
Merge branch 'master' into ft

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 agoAdd fish to ftoptions
Camille Scholtz [Wed, 11 Oct 2017 15:02:37 +0000 (17:02 +0200)]
Add fish to ftoptions

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 initial support for Octave/Matlab syntax highlighting
sotpapathe [Mon, 2 Oct 2017 10:08:22 +0000 (14:08 +0400)]
Added initial support for Octave/Matlab syntax highlighting

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