]> git.lizzy.rs Git - micro.git/log
micro.git
6 years agoMerge pull request #741 from adrian5/patch-1
Zachary Yedidia [Sun, 16 Jul 2017 14:19:43 +0000 (10:19 -0400)]
Merge pull request #741 from adrian5/patch-1

Add consistent spacing to help file

6 years agoAdd consistent spacing to help file
adrian5 [Sun, 16 Jul 2017 00:00:30 +0000 (02:00 +0200)]
Add consistent spacing to help file

6 years agoMerge
Zachary Yedidia [Sat, 15 Jul 2017 21:53:40 +0000 (17:53 -0400)]
Merge

6 years agoStore visual x when cursor loc moves in certain cases
Zachary Yedidia [Sat, 15 Jul 2017 21:52:56 +0000 (17:52 -0400)]
Store visual x when cursor loc moves in certain cases

Fixes #739

6 years agoMerge pull request #720 from bvaudour/master
Zachary Yedidia [Wed, 12 Jul 2017 20:10:48 +0000 (16:10 -0400)]
Merge pull request #720 from bvaudour/master

Add twig syntax (https://twig.sensiolabs.org/)

6 years agoAdd semver code to tools directory
Zachary Yedidia [Wed, 12 Jul 2017 13:34:59 +0000 (09:34 -0400)]
Add semver code to tools directory

Ref #736

6 years agoMerge pull request #734 from eyelash/vala-types
Zachary Yedidia [Tue, 11 Jul 2017 14:46:39 +0000 (10:46 -0400)]
Merge pull request #734 from eyelash/vala-types

improved highlighting for Vala types

6 years agoimproved highlighting for Vala types
Elias Aebi [Tue, 11 Jul 2017 12:40:38 +0000 (14:40 +0200)]
improved highlighting for Vala types

6 years agoMerge
Zachary Yedidia [Mon, 10 Jul 2017 22:04:40 +0000 (18:04 -0400)]
Merge

6 years agoMake sure screen is not nil before pollevent
Zachary Yedidia [Mon, 10 Jul 2017 22:04:11 +0000 (18:04 -0400)]
Make sure screen is not nil before pollevent

Ref #728
Ref #727

6 years agoMerge pull request #726 from DanielPower/patch-1
Zachary Yedidia [Mon, 10 Jul 2017 12:49:38 +0000 (08:49 -0400)]
Merge pull request #726 from DanielPower/patch-1

Remove `new` keyword from C syntax

6 years agoRemove `new` keyword from C syntax
DanielPower [Mon, 10 Jul 2017 03:06:49 +0000 (00:36 -0230)]
Remove `new` keyword from C syntax

Fixes #725

6 years agoAlways restart the screen when saving with sudo
Zachary Yedidia [Sat, 8 Jul 2017 19:13:42 +0000 (15:13 -0400)]
Always restart the screen when saving with sudo

Fixes #723

6 years agoOptimize search
Zachary Yedidia [Sat, 8 Jul 2017 19:03:35 +0000 (15:03 -0400)]
Optimize search

Fixes #722

7 years agoFix recursive search and replace in special case
Zachary Yedidia [Sat, 1 Jul 2017 20:50:25 +0000 (16:50 -0400)]
Fix recursive search and replace in special case

Fixes #717

7 years agoPrint help text to stdout instead of stderr
Zachary Yedidia [Sat, 1 Jul 2017 20:49:08 +0000 (16:49 -0400)]
Print help text to stdout instead of stderr

Fixes #719

7 years agoAdd 'a' option in replace prompt
Zachary Yedidia [Sat, 1 Jul 2017 20:47:50 +0000 (16:47 -0400)]
Add 'a' option in replace prompt

Closes #718

7 years agoOptimize search and replace
Zachary Yedidia [Sat, 1 Jul 2017 20:40:28 +0000 (16:40 -0400)]
Optimize search and replace

7 years agoAdd twig syntax (https://twig.sensiolabs.org/)
bvaudour [Fri, 30 Jun 2017 10:31:18 +0000 (12:31 +0200)]
Add twig syntax (https://twig.sensiolabs.org/)

7 years agoMove cursor selections on Insert or Remove
Zachary Yedidia [Sun, 25 Jun 2017 23:14:01 +0000 (19:14 -0400)]
Move cursor selections on Insert or Remove

Ref #715

7 years agoFix vendor-src script
Zachary Yedidia [Fri, 23 Jun 2017 21:28:33 +0000 (17:28 -0400)]
Fix vendor-src script

7 years agoFix ordering of tagging and compiling in release script
Zachary Yedidia [Fri, 23 Jun 2017 21:26:06 +0000 (17:26 -0400)]
Fix ordering of tagging and compiling in release script

7 years agoThrow error if there is no detect regex
Zachary Yedidia [Thu, 22 Jun 2017 14:42:06 +0000 (10:42 -0400)]
Throw error if there is no detect regex

Closes #712

7 years agoFix compilation errors
Zachary Yedidia [Wed, 21 Jun 2017 18:37:30 +0000 (14:37 -0400)]
Fix compilation errors

7 years agoRecover errors in highlight
Zachary Yedidia [Wed, 21 Jun 2017 18:26:05 +0000 (14:26 -0400)]
Recover errors in highlight

Ref #712

7 years agoAdd new tcell commits
Zachary Yedidia [Tue, 20 Jun 2017 21:47:39 +0000 (17:47 -0400)]
Add new tcell commits

7 years agoMerge pull request #710 from HeavyHorst/master
Zachary Yedidia [Tue, 20 Jun 2017 20:52:48 +0000 (16:52 -0400)]
Merge pull request #710 from HeavyHorst/master

fixed a panic when a line is cut out(strg+k) and the next line is empty.

7 years agoMerge pull request #709 from mfxmfx/xterm-ctrl-pgup
Zachary Yedidia [Tue, 20 Jun 2017 14:53:31 +0000 (10:53 -0400)]
Merge pull request #709 from mfxmfx/xterm-ctrl-pgup

Add support for xterm CtrlPgUp and CtrlPgDn keys.

7 years agoAdd new commits to tcell (ctrlpageup/down)
Zachary Yedidia [Tue, 20 Jun 2017 14:53:07 +0000 (10:53 -0400)]
Add new commits to tcell (ctrlpageup/down)

7 years agofixed a panic when a line is cut out(strg+k) and the next line
Rene Kaufmann [Tue, 20 Jun 2017 09:53:59 +0000 (11:53 +0200)]
fixed a panic when a line is cut out(strg+k) and the next line
is empty.

7 years agoAdd support for xterm CtrlPgUp and CtrlPgDn keys.
Markus F.X.J. Oberhumer [Mon, 19 Jun 2017 17:37:55 +0000 (19:37 +0200)]
Add support for xterm CtrlPgUp and CtrlPgDn keys.

7 years agoMerge
Zachary Yedidia [Sun, 18 Jun 2017 19:39:50 +0000 (15:39 -0400)]
Merge

7 years agoCheck bounds on LastVisualX
Zachary Yedidia [Sun, 18 Jun 2017 19:38:33 +0000 (15:38 -0400)]
Check bounds on LastVisualX

Fixes #708

7 years agoMerge pull request #679 from alialaee/master
Zachary Yedidia [Sun, 18 Jun 2017 16:13:43 +0000 (12:13 -0400)]
Merge pull request #679 from alialaee/master

Find and replace one at a time

7 years agoMerge pull request #700 from Calinou/darcula-tc-colorscheme
Zachary Yedidia [Sun, 18 Jun 2017 16:12:21 +0000 (12:12 -0400)]
Merge pull request #700 from Calinou/darcula-tc-colorscheme

Add a Darcula colorscheme

7 years agoAdd a Darcula colorscheme
Hugo Locurcio [Fri, 16 Jun 2017 09:16:36 +0000 (11:16 +0200)]
Add a Darcula colorscheme

It is ideally used in truecolor mode, but it also approximates well to
a 256-color palette.

7 years agoDon't vendor src in cross compile script
Zachary Yedidia [Sun, 18 Jun 2017 14:38:57 +0000 (10:38 -0400)]
Don't vendor src in cross compile script

7 years agoUse correct separator on windows
Zachary Yedidia [Sun, 18 Jun 2017 13:56:36 +0000 (09:56 -0400)]
Use correct separator on windows

Ref #673

7 years agoUpdate makefile
Zachary Yedidia [Sun, 18 Jun 2017 13:54:07 +0000 (09:54 -0400)]
Update makefile

7 years agoUpdate tcell
Zachary Yedidia [Sun, 18 Jun 2017 03:02:22 +0000 (23:02 -0400)]
Update tcell

7 years agoUse the idle-wakeup-fix-forked branch of tcell
Zachary Yedidia [Sun, 18 Jun 2017 02:54:05 +0000 (22:54 -0400)]
Use the idle-wakeup-fix-forked branch of tcell

7 years agoUpdate readme
Zachary Yedidia [Sat, 17 Jun 2017 22:00:26 +0000 (18:00 -0400)]
Update readme

7 years agoUpdate makefile
Zachary Yedidia [Sat, 17 Jun 2017 21:54:08 +0000 (17:54 -0400)]
Update makefile

Since dependencies are now vendored, there is no need to update them in
the makefile.

7 years agoUse submodules for dependency management
Zachary Yedidia [Sat, 10 Jun 2017 22:44:27 +0000 (18:44 -0400)]
Use submodules for dependency management

7 years agoUpdate readme
Zachary Yedidia [Sat, 17 Jun 2017 21:42:43 +0000 (17:42 -0400)]
Update readme

7 years agoMerge pull request #704 from zyedidia/multiple-cursors
Zachary Yedidia [Sat, 17 Jun 2017 21:39:31 +0000 (17:39 -0400)]
Merge pull request #704 from zyedidia/multiple-cursors

Multiple cursors

7 years agoAdd multiple cursor docs + improve docs in general
Zachary Yedidia [Sat, 17 Jun 2017 21:36:27 +0000 (17:36 -0400)]
Add multiple cursor docs + improve docs in general

7 years agoDeselect with mouse
Zachary Yedidia [Sat, 17 Jun 2017 15:05:23 +0000 (11:05 -0400)]
Deselect with mouse

This commit also makes non editing actions (save, quit...) only execute
once even if there are multiple cursors.

7 years agoMerge cursors properly
Zachary Yedidia [Sat, 17 Jun 2017 14:43:14 +0000 (10:43 -0400)]
Merge cursors properly

Cursors will merge together if they are on top of each other.

7 years agoGet undo working properly with multiple cursors
Zachary Yedidia [Sat, 17 Jun 2017 02:19:33 +0000 (22:19 -0400)]
Get undo working properly with multiple cursors

7 years agoMake cursor movement automatic on insert + remove
Zachary Yedidia [Thu, 15 Jun 2017 22:52:51 +0000 (18:52 -0400)]
Make cursor movement automatic on insert + remove

This changes the behavior of cursor movement so that all cursors are
adjusted when a change is made to the buffer. Cursors don't have to be
manually moved after calling Insert or Remove, those functions will move
the cursor properly on their own.

This should fix issues 1-3 mentioned in the multiple cursors discussion.

Ref #5

7 years agoMerge pull request #697 from frankbraun/spaces
Zachary Yedidia [Wed, 14 Jun 2017 19:58:32 +0000 (15:58 -0400)]
Merge pull request #697 from frankbraun/spaces

Implement Spaces() with with strings.Repeat()

7 years agoImplement Spaces() with with strings.Repeat()
Frank Braun [Wed, 14 Jun 2017 19:47:40 +0000 (19:47 +0000)]
Implement Spaces() with with strings.Repeat()

Shorter and more efficient.

7 years agoAdd ability to add cursors with Ctrl-MouseLeft
Zachary Yedidia [Mon, 12 Jun 2017 20:58:39 +0000 (16:58 -0400)]
Add ability to add cursors with Ctrl-MouseLeft

With the new code that allows binding mouse buttons this was remarkably
easy to add.

The new binding is:

    "Ctrl-MouseLeft": "MouseMultiCursor"

Note: A number of terminals don't support Ctrl-MouseLeft (macOS
especially) so you might want to rebind to MouseRight or MouseMiddle.

7 years agoAdd comments
Zachary Yedidia [Mon, 12 Jun 2017 20:19:17 +0000 (16:19 -0400)]
Add comments

7 years agoUse terminal cursor for the base cursor
Zachary Yedidia [Mon, 12 Jun 2017 19:59:00 +0000 (15:59 -0400)]
Use terminal cursor for the base cursor

If all cursors fake then that breaks support for things like
inserting japanese characters nicely, so fake cursors are now only used
as extra cursors.

7 years agoRemove debug messages
Zachary Yedidia [Mon, 12 Jun 2017 16:12:26 +0000 (12:12 -0400)]
Remove debug messages

7 years agoAdd multiple cursor support
Zachary Yedidia [Mon, 12 Jun 2017 16:10:22 +0000 (12:10 -0400)]
Add multiple cursor support

This commit creates new keybindings and actions to handle multiple
cursors.

Here are the defaults:

    "Alt-n": "SpawnMultiCursor",
    "Alt-p": "RemoveMultiCursor",
    "Alt-c": "RemoveAllMultiCursors",
    "Alt-x": "SkipMultiCursor",

7 years agoProperly show end of line selection
Zachary Yedidia [Mon, 12 Jun 2017 19:49:21 +0000 (15:49 -0400)]
Properly show end of line selection

7 years agoAllow binding runes to actions
Zachary Yedidia [Mon, 12 Jun 2017 00:40:11 +0000 (20:40 -0400)]
Allow binding runes to actions

This new functionality would make it possible to emulate vim keybindings
pretty easily, for example.

7 years agoAdd functionality for binding mouse buttons
Zachary Yedidia [Sun, 11 Jun 2017 21:49:59 +0000 (17:49 -0400)]
Add functionality for binding mouse buttons

This commit enables users to bind the mouse buttons (left, middle,
right buttons and the scroll wheel).

The default bindings now include the mouse bindings:

    "MouseWheelUp":   "ScrollUp",
    "MouseWheelDown": "ScrollDown",
    "MouseLeft":      "MousePress",
    "MouseMiddle":    "PastePrimary",

Mouse buttons can now also be bound to normal actions. For example:

    "MouseLeft": "Backspace"

This also means that plugins can access mouse event callbacks in the
standard way ('onAction').

More documentation for this will be coming soon.

Fixes #542

7 years agoMerge pull request #695 from elopio/snapcraft-update
Zachary Yedidia [Sun, 11 Jun 2017 16:25:17 +0000 (12:25 -0400)]
Merge pull request #695 from elopio/snapcraft-update

update the snapcraft.yaml

7 years agoupdate the snapcraft.yaml
Leo Arias [Sun, 11 Jun 2017 16:11:07 +0000 (16:11 +0000)]
update the snapcraft.yaml

7 years agoUpdate default colorscheme
Zachary Yedidia [Sat, 10 Jun 2017 22:52:08 +0000 (18:52 -0400)]
Update default colorscheme

7 years agoadded crontab highlighting. (#689)
Tommy [Sat, 10 Jun 2017 19:24:46 +0000 (20:24 +0100)]
added crontab highlighting. (#689)

* added crontab highlighting.

* added day and month keywords. added label keywords.

7 years agoMerge pull request #694 from tommyshem/xresources
Zachary Yedidia [Sat, 10 Jun 2017 15:20:55 +0000 (11:20 -0400)]
Merge pull request #694 from tommyshem/xresources

Correct the comment from # to ! as pointed out in the gitter chat on Xresources files high lighting

7 years agoCorrect the comment from # to ! as point out in the gitter chat.
tommy [Sat, 10 Jun 2017 10:33:50 +0000 (11:33 +0100)]
Correct the comment from # to ! as point out in the gitter chat.

7 years agoImprove solarized-tc colorscheme
Zachary Yedidia [Wed, 7 Jun 2017 16:41:20 +0000 (12:41 -0400)]
Improve solarized-tc colorscheme

7 years agoAppstream Metainfo change (#692)
Yurizal Susanto [Mon, 5 Jun 2017 18:03:39 +0000 (01:03 +0700)]
Appstream Metainfo change (#692)

* Remove strange characters in some line

* Move the xml to data folder

7 years agoMerge
Zachary Yedidia [Sun, 4 Jun 2017 23:17:08 +0000 (19:17 -0400)]
Merge

7 years agoMore descriptive error for 'terminal entry not found'
Zachary Yedidia [Sun, 4 Jun 2017 23:17:02 +0000 (19:17 -0400)]
More descriptive error for 'terminal entry not found'

7 years agoMerge pull request #683 from yursan9/appstream
Zachary Yedidia [Sat, 3 Jun 2017 00:24:03 +0000 (20:24 -0400)]
Merge pull request #683 from yursan9/appstream

Add AppStream metainfo

7 years agoMerge pull request #688 from tommyshem/help-defaultkeys
Zachary Yedidia [Sat, 3 Jun 2017 00:23:33 +0000 (20:23 -0400)]
Merge pull request #688 from tommyshem/help-defaultkeys

Added missing defualt key bindings to help_defaultkeys.md

7 years agoAdded missing defualt key bindings and changed micro section to same format. Moved...
tommy [Thu, 1 Jun 2017 05:35:08 +0000 (06:35 +0100)]
Added missing defualt key bindings and changed micro section to same format. Moved tab key bindings to its own heading.

7 years agoCheck for readonly on viewtype and if true do not let any edits or paste to buffer...
Tommy [Mon, 29 May 2017 18:18:10 +0000 (19:18 +0100)]
Check for readonly on viewtype and if true do not let any edits or paste to buffer. eg help and plugins. Finished needs checking. (#674)

* corrected spelling error and missing public function comments

* check for readonly and if true do not insert character

* mouse middle  click checks for view type readonly and does not paste if view is readonly

* check for view readonly with binding keys and if readonly do not change the content.

7 years agoFix boolean logic order for hiding cursor
Zachary Yedidia [Sun, 28 May 2017 23:52:56 +0000 (19:52 -0400)]
Fix boolean logic order for hiding cursor

Fixes #684

7 years agoUpdate readme
Zachary Yedidia [Sun, 28 May 2017 14:52:54 +0000 (10:52 -0400)]
Update readme

7 years agoAdd AppStream metainfo
Yurizal Susanto [Sun, 28 May 2017 05:11:09 +0000 (12:11 +0700)]
Add AppStream metainfo

7 years agoRe-add literate supportg v1.2.0
Zachary Yedidia [Sat, 27 May 2017 21:16:21 +0000 (17:16 -0400)]
Re-add literate supportg

7 years agoTemporarily remove literate folder
Zachary Yedidia [Sat, 27 May 2017 21:14:22 +0000 (17:14 -0400)]
Temporarily remove literate folder

7 years agoAdd support for zyedidia/Literate
Zachary Yedidia [Sat, 27 May 2017 20:55:59 +0000 (16:55 -0400)]
Add support for zyedidia/Literate

7 years agoUpdate runtime
Zachary Yedidia [Sat, 27 May 2017 20:38:03 +0000 (16:38 -0400)]
Update runtime

7 years agoMerge pull request #680 from tommyshem/kotlin
Zachary Yedidia [Sat, 27 May 2017 20:32:32 +0000 (16:32 -0400)]
Merge pull request #680 from tommyshem/kotlin

Added kotlin highlighting and fixed swift line comment todo not highlighting

7 years agoAdded kotlin highlighting and fixed swift line comment todo not highlighting.
tommy [Fri, 26 May 2017 00:59:51 +0000 (01:59 +0100)]
Added kotlin highlighting and fixed swift line comment todo not highlighting.

7 years agoChange replace command default behaviour to confirm replacement for each occurrences
ali [Thu, 25 May 2017 23:13:57 +0000 (03:43 +0430)]
Change replace command default behaviour to confirm replacement for each occurrences

7 years agoAdd comment
Zachary Yedidia [Mon, 22 May 2017 15:21:17 +0000 (11:21 -0400)]
Add comment

7 years agoUse messenger error instead of termerror
Zachary Yedidia [Sun, 21 May 2017 14:46:06 +0000 (10:46 -0400)]
Use messenger error instead of termerror

7 years agoAdd suspend for linux only
Zachary Yedidia [Sun, 21 May 2017 14:44:33 +0000 (10:44 -0400)]
Add suspend for linux only

7 years agoTest suspend code
Zachary Yedidia [Sun, 21 May 2017 14:30:26 +0000 (10:30 -0400)]
Test suspend code

7 years agoMerge
Zachary Yedidia [Sun, 21 May 2017 14:19:13 +0000 (10:19 -0400)]
Merge

7 years agoCreate ftoptions option to disable auto settings
Zachary Yedidia [Fri, 19 May 2017 22:17:38 +0000 (18:17 -0400)]
Create ftoptions option to disable auto settings

Closes #662

7 years agoMerge pull request #675 from benjamreynolds/patch-1
Zachary Yedidia [Fri, 19 May 2017 20:25:59 +0000 (16:25 -0400)]
Merge pull request #675 from benjamreynolds/patch-1

Cleanup from merge conflicts in syntax/README

7 years agoCleanup from merge conflicts in syntax/README
Benjamin Reynolds [Fri, 19 May 2017 17:33:41 +0000 (12:33 -0500)]
Cleanup from merge conflicts in syntax/README

7 years agoMerge
Zachary Yedidia [Wed, 17 May 2017 16:13:24 +0000 (12:13 -0400)]
Merge

7 years agoLoad colorscheme after loading plugins
Zachary Yedidia [Wed, 17 May 2017 16:12:58 +0000 (12:12 -0400)]
Load colorscheme after loading plugins

Fixes #671

7 years agoMerge pull request #665 from tommyshem/viewtype-check
Zachary Yedidia [Mon, 15 May 2017 19:46:35 +0000 (15:46 -0400)]
Merge pull request #665 from tommyshem/viewtype-check

before saving check for view type and if scratch is true then do not save

7 years agocheck viewtype before saving and if scratch is true then do not save
tommy [Mon, 15 May 2017 19:00:58 +0000 (20:00 +0100)]
check viewtype before saving and if scratch is true then do not save

7 years agoMerge
Zachary Yedidia [Sun, 14 May 2017 14:27:37 +0000 (10:27 -0400)]
Merge

7 years agoDon't remember path on save if it is invalid
Zachary Yedidia [Sun, 14 May 2017 14:27:15 +0000 (10:27 -0400)]
Don't remember path on save if it is invalid

Fixes #656

7 years agoMerge pull request #661 from aerth/indentchar
Zachary Yedidia [Sat, 13 May 2017 01:15:19 +0000 (21:15 -0400)]
Merge pull request #661 from aerth/indentchar

use space for indentchar if empty, fixes #660