]>
git.lizzy.rs Git - micro.git/log
Zachary Yedidia [Sun, 3 Dec 2017 21:49:05 +0000 (16:49 -0500)]
Make ViewType fields public
Ref #904
Zachary Yedidia [Sun, 3 Dec 2017 20:15:07 +0000 (15:15 -0500)]
Allow plugins to create view types
Closes #904
Zachary Yedidia [Sun, 3 Dec 2017 18:05:50 +0000 (13:05 -0500)]
Merge
Zachary Yedidia [Sun, 3 Dec 2017 18:05:46 +0000 (13:05 -0500)]
Add showkey command
Tommy [Sun, 3 Dec 2017 17:41:22 +0000 (17:41 +0000)]
stop version error when updating and option to disable builtin plugin. (#939)
Zachary Yedidia [Sat, 2 Dec 2017 01:39:30 +0000 (20:39 -0500)]
Merge
Zachary Yedidia [Sat, 2 Dec 2017 01:39:25 +0000 (20:39 -0500)]
Update readme
Petr Shevtsov [Thu, 30 Nov 2017 16:39:44 +0000 (19:39 +0300)]
Typo (#934)
Zachary Yedidia [Wed, 29 Nov 2017 06:06:16 +0000 (01:06 -0500)]
Add `raw` command to view raw terminal esc codes
Zachary Yedidia [Tue, 28 Nov 2017 02:44:29 +0000 (21:44 -0500)]
Fix panic on scroll
Fixes #932
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).
Zachary Yedidia [Fri, 24 Nov 2017 18:35:11 +0000 (13:35 -0500)]
Minor comment improvement
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.
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.
Zachary Yedidia [Thu, 23 Nov 2017 19:44:07 +0000 (14:44 -0500)]
Check width before drawing cellview
Fixes #927
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.
Zachary Yedidia [Tue, 21 Nov 2017 21:24:39 +0000 (16:24 -0500)]
Support either io/ioutil or ioutil for lua import
Closes #923
Zachary Yedidia [Tue, 21 Nov 2017 05:51:07 +0000 (00:51 -0500)]
Implement retab command
Ref #919
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
Zachary Yedidia [Sun, 19 Nov 2017 20:40:21 +0000 (15:40 -0500)]
Remove unnecessary authors file
Zachary Yedidia [Sun, 19 Nov 2017 20:39:32 +0000 (15:39 -0500)]
Merge pull request #613 from GeigerCounter/build_tools
Build tools
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
Zachary Yedidia [Thu, 16 Nov 2017 19:29:36 +0000 (14:29 -0500)]
Update lua go stdlib access documentation
Ref #912
Zachary Yedidia [Tue, 14 Nov 2017 18:58:28 +0000 (13:58 -0500)]
Support .cljs and .cljc as clojure files
Fixes #911
Zachary Yedidia [Wed, 8 Nov 2017 05:28:09 +0000 (00:28 -0500)]
Merge pull request #908 from FujiHaruka/patch-1
Update javascript.yaml
Zachary Yedidia [Wed, 8 Nov 2017 05:23:18 +0000 (00:23 -0500)]
Minor documentation update
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.
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
Zachary Yedidia [Tue, 31 Oct 2017 20:16:57 +0000 (16:16 -0400)]
Add installation script instructions to readme
Zachary Yedidia [Tue, 24 Oct 2017 02:26:45 +0000 (22:26 -0400)]
Fix typo in readme
Zachary Yedidia [Sun, 22 Oct 2017 23:51:16 +0000 (19:51 -0400)]
Fix issue with multicursor IDs
Fixes #899
Zachary Yedidia [Sun, 22 Oct 2017 22:02:18 +0000 (18:02 -0400)]
Merge
Zachary Yedidia [Sun, 22 Oct 2017 22:00:47 +0000 (18:00 -0400)]
Don't print error message if history file doesn't exist
Zachary Yedidia [Sun, 22 Oct 2017 15:59:43 +0000 (11:59 -0400)]
Merge pull request #898 from TedSinger/master
savehistory bugfix
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
Zachary Yedidia [Sat, 21 Oct 2017 19:32:34 +0000 (15:32 -0400)]
Merge
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
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
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).
Zachary Yedidia [Sat, 21 Oct 2017 03:57:49 +0000 (23:57 -0400)]
Fix comment regex for shell filetype
Fixes #895
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
Zachary Yedidia [Tue, 17 Oct 2017 04:03:57 +0000 (00:03 -0400)]
Merge branch 'master' into ft
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.
Zachary Yedidia [Sun, 15 Oct 2017 19:35:54 +0000 (15:35 -0400)]
Merge
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
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
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
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
Zachary Yedidia [Sun, 15 Oct 2017 19:30:35 +0000 (15:30 -0400)]
Merge pull request #888 from matthewgraybosch/master
Update README.md
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.
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:
Camille Scholtz [Wed, 11 Oct 2017 15:47:23 +0000 (17:47 +0200)]
alphabetically order linters, add shell linter
Camille Scholtz [Wed, 11 Oct 2017 15:02:37 +0000 (17:02 +0200)]
Add fish to ftoptions
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
Camille Scholtz [Wed, 11 Oct 2017 12:43:38 +0000 (14:43 +0200)]
alphabetically order options
Camille Scholtz [Wed, 11 Oct 2017 12:22:23 +0000 (14:22 +0200)]
Make settings capitalization consistent
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
Yannick Armand [Sun, 8 Oct 2017 16:42:09 +0000 (18:42 +0200)]
Add option value completion on setlocal
Zachary Yedidia [Sat, 7 Oct 2017 20:27:55 +0000 (16:27 -0400)]
Update readme
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
Zachary Yedidia [Sat, 7 Oct 2017 00:43:14 +0000 (20:43 -0400)]
Update runtime
Zachary Yedidia [Sat, 7 Oct 2017 00:42:58 +0000 (20:42 -0400)]
Add docs for binding esc sequences
Zachary Yedidia [Fri, 6 Oct 2017 18:03:35 +0000 (14:03 -0400)]
Support binding raw escapes codes
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 .
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.
Zachary Yedidia [Fri, 6 Oct 2017 15:00:31 +0000 (11:00 -0400)]
Merge
Zachary Yedidia [Fri, 6 Oct 2017 14:59:43 +0000 (10:59 -0400)]
Add paren highlighting for js and update runtime
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
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
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
Zachary Yedidia [Wed, 4 Oct 2017 16:11:20 +0000 (12:11 -0400)]
Fix save and quit prompt
andrea [Wed, 4 Oct 2017 09:17:50 +0000 (10:17 +0100)]
a couple more keywords to scala syntax
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
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
Zachary Yedidia [Tue, 3 Oct 2017 14:48:07 +0000 (10:48 -0400)]
Fix sucmd option
Fixes #854
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.
Zachary Yedidia [Tue, 3 Oct 2017 03:44:58 +0000 (23:44 -0400)]
Merge
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
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
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
sotpapathe [Mon, 2 Oct 2017 10:08:22 +0000 (14:08 +0400)]
Added initial support for Octave/Matlab syntax highlighting
sotpapathe [Mon, 2 Oct 2017 09:36:28 +0000 (13:36 +0400)]
Added automatic tabs to spaces for yaml and updated readme
Zachary Yedidia [Mon, 2 Oct 2017 03:13:11 +0000 (23:13 -0400)]
Merge pull request #845 from paykroyd/nit
grammar nit
Pete Aykroyd [Mon, 2 Oct 2017 02:33:03 +0000 (22:33 -0400)]
grammar nit
Zachary Yedidia [Mon, 2 Oct 2017 01:56:10 +0000 (21:56 -0400)]
Merge
Zachary Yedidia [Mon, 2 Oct 2017 01:55:43 +0000 (21:55 -0400)]
Add sucmd to customize "sudo" command
Fixes #833
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
marius92mc [Sun, 1 Oct 2017 17:51:33 +0000 (20:51 +0300)]
Add .editorconfig and set indent_size to 4
Zachary Yedidia [Sun, 1 Oct 2017 16:42:23 +0000 (12:42 -0400)]
Fix some golint warnings
Zachary Yedidia [Sat, 30 Sep 2017 21:47:19 +0000 (17:47 -0400)]
Fix support for user-friendly plugin names
Fixes #840
Zachary Yedidia [Sat, 30 Sep 2017 03:54:28 +0000 (23:54 -0400)]
Merge pull request #838 from yursan9/appstream
Update Appstream
Yurizal Susanto [Sat, 30 Sep 2017 03:12:53 +0000 (10:12 +0700)]
Update Appstream
Zachary Yedidia [Fri, 29 Sep 2017 17:46:54 +0000 (13:46 -0400)]
Merge
Zachary Yedidia [Fri, 29 Sep 2017 17:46:51 +0000 (13:46 -0400)]
Update readme
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
andrea [Fri, 29 Sep 2017 15:20:38 +0000 (16:20 +0100)]
few more keywords for js syntax
Zachary Yedidia [Thu, 28 Sep 2017 23:38:24 +0000 (19:38 -0400)]
Update readme
Zachary Yedidia [Wed, 27 Sep 2017 02:55:06 +0000 (22:55 -0400)]
Replace home directory before performing SaveAs
Fixes #820
MrSndmn [Sun, 24 Sep 2017 15:59:57 +0000 (18:59 +0300)]
Perl syntax highlighting fix (#818)
* Perl syntax highlighting fix
* Useless escapes removed
Zachary Yedidia [Sun, 24 Sep 2017 01:18:37 +0000 (21:18 -0400)]
Set fastdirty on for files larger than 50kb