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

7 years agouse space for indentchar if empty, fixes #660
aerth [Fri, 12 May 2017 23:32:24 +0000 (16:32 -0700)]
use space for indentchar if empty, fixes #660

7 years agoCaps lock issue#658 (#659)
Tommy [Wed, 10 May 2017 14:02:17 +0000 (15:02 +0100)]
Caps lock issue#658 (#659)

* caps-lock-issue #658

* when esc key is pressed the message is cleared away

7 years agoAllow upper case in 'Save changes' prompt
Zachary Yedidia [Tue, 9 May 2017 18:46:23 +0000 (14:46 -0400)]
Allow upper case in 'Save changes' prompt

Fixes #658

7 years agoMerge pull request #654 from tommyshem/swift-linux-support
Zachary Yedidia [Mon, 8 May 2017 17:18:18 +0000 (13:18 -0400)]
Merge pull request #654 from tommyshem/swift-linux-support

added swift linting to linux

7 years agoadded swift linting to linux
tommy [Mon, 8 May 2017 16:14:33 +0000 (17:14 +0100)]
added swift linting to linux

7 years agoMerge pull request #653 from Necklaces/master
Zachary Yedidia [Sun, 7 May 2017 15:20:49 +0000 (11:20 -0400)]
Merge pull request #653 from Necklaces/master

Added ShiftHome + ShiftEnd to keybindings.md documentation

7 years agoAdded ShiftHome + ShiftEnd to keybindings.md documentation
Nichlas Severinsen [Sun, 7 May 2017 11:19:58 +0000 (13:19 +0200)]
Added ShiftHome + ShiftEnd to keybindings.md documentation

7 years agoUpdated swift syntax yaml file as missing keywords and some highlighting not working...
Tommy [Fri, 5 May 2017 19:14:50 +0000 (20:14 +0100)]
Updated swift  syntax yaml file as missing keywords and some highlighting not working correctly. (#644)

* Updated the keywords and micros

* updated keywords  and  interpolation and unicode added to string

* add test swift file

* Delete swift-test.swift

delete swift test file

7 years agoAdd tabmovement option
Zachary Yedidia [Fri, 5 May 2017 16:04:18 +0000 (12:04 -0400)]
Add tabmovement option

This option makes micro treat spaces at the beginning of lines as if
they are tabs. This option only does anything if tabstospaces is already
on. E.g. micro will move over 4 spaces at once when at the start of a
line.

Closes #616

7 years agoFix rare problem with tabs and horizontal scrolling
Zachary Yedidia [Fri, 5 May 2017 15:34:14 +0000 (11:34 -0400)]
Fix rare problem with tabs and horizontal scrolling

7 years agoAdd SaveAll command and display + for modified tabs
Zachary Yedidia [Fri, 5 May 2017 15:05:23 +0000 (11:05 -0400)]
Add SaveAll command and display + for modified tabs

Closes #651

7 years agoDisallow view switching during a search
Zachary Yedidia [Fri, 5 May 2017 14:52:09 +0000 (10:52 -0400)]
Disallow view switching during a search

Closes #642

This commit also removes some unnecessary functions that weren't being
used.

7 years agoProperly draw split divider
Zachary Yedidia [Fri, 5 May 2017 14:40:49 +0000 (10:40 -0400)]
Properly draw split divider

7 years agoCorrectly detect synatx ft from header
Zachary Yedidia [Wed, 3 May 2017 15:04:56 +0000 (11:04 -0400)]
Correctly detect synatx ft from header

7 years agoIf softwrap is on the leftcol must be 0
Zachary Yedidia [Wed, 3 May 2017 00:12:37 +0000 (20:12 -0400)]
If softwrap is on the leftcol must be 0

Fixes #645

7 years agoOptimize memory usage for loading syntax files
Zachary Yedidia [Tue, 2 May 2017 14:30:27 +0000 (10:30 -0400)]
Optimize memory usage for loading syntax files

7 years agoUpdate runtime
Zachary Yedidia [Sat, 29 Apr 2017 20:01:51 +0000 (16:01 -0400)]
Update runtime

7 years agoAdd termtitle option and move autoclose utf8 code
Zachary Yedidia [Sat, 29 Apr 2017 20:01:09 +0000 (16:01 -0400)]
Add termtitle option and move autoclose utf8 code

7 years agoReadded title setting. ( As per the tcell pull. ) (#600)
Collin Warren [Sat, 29 Apr 2017 19:51:31 +0000 (14:51 -0500)]
Readded title setting. ( As per the tcell pull. ) (#600)

7 years agoUpdate snap yaml
Zachary Yedidia [Sat, 29 Apr 2017 19:50:38 +0000 (15:50 -0400)]
Update snap yaml

7 years agoMerge pull request #638 from popey/patch-1
Zachary Yedidia [Sat, 29 Apr 2017 19:48:45 +0000 (15:48 -0400)]
Merge pull request #638 from popey/patch-1

Update micro to be classic confined snap

7 years agoMerge pull request #639 from popey/patch-2
Zachary Yedidia [Sat, 29 Apr 2017 19:48:36 +0000 (15:48 -0400)]
Merge pull request #639 from popey/patch-2

Add micro snap install instructions

7 years agoMake autoclose plugin work with Non-Ascii Unicode characters (#641)
timon999 [Sat, 29 Apr 2017 19:44:36 +0000 (21:44 +0200)]
Make autoclose plugin work with Non-Ascii Unicode characters (#641)

* Make autoclose plugin work with Non-Ascii Unicode characters

* Removed lines that I forgot to remove

7 years agoUse less memory when opening very large files
Zachary Yedidia [Sat, 29 Apr 2017 18:12:00 +0000 (14:12 -0400)]
Use less memory when opening very large files

7 years agoMerge
Zachary Yedidia [Fri, 28 Apr 2017 15:07:28 +0000 (11:07 -0400)]
Merge

7 years agoDifferentiate between help buffers and log buffers
Zachary Yedidia [Fri, 28 Apr 2017 15:07:05 +0000 (11:07 -0400)]
Differentiate between help buffers and log buffers

Closes #636

7 years agoAdd micro snap install instructions
Alan Pope [Fri, 28 Apr 2017 10:11:37 +0000 (11:11 +0100)]
Add micro snap install instructions

Adds the simple command line install instructions for snap enabled systems.

7 years agoUpdate micro to be classicly confined snap
Alan Pope [Fri, 28 Apr 2017 10:04:08 +0000 (11:04 +0100)]
Update micro to be classicly confined snap

As a text editor, micro will need to be able to edit files outside the confined world snap gives it. So this PR changes the confinement model of micro from strict to classic, making it way more useful on snap enabled systems.

7 years agoFix problem with search and replace indices
Zachary Yedidia [Fri, 28 Apr 2017 00:10:51 +0000 (20:10 -0400)]
Fix problem with search and replace indices

Closes #637

7 years agoMerge pull request #585 from samdmarshall/add-yaml-linter
Zachary Yedidia [Sat, 22 Apr 2017 22:53:11 +0000 (18:53 -0400)]
Merge pull request #585 from samdmarshall/add-yaml-linter

Add yaml linter

7 years agoFix issue with cursorline
Zachary Yedidia [Sat, 22 Apr 2017 22:48:05 +0000 (18:48 -0400)]
Fix issue with cursorline

7 years agoUpdating changes to be in-line with master
Samantha Marshall [Sat, 22 Apr 2017 18:22:38 +0000 (14:22 -0400)]
Updating changes to be in-line with master

Merging in master

7 years agoFix crash if tabs extend past view width
Zachary Yedidia [Fri, 21 Apr 2017 16:48:03 +0000 (12:48 -0400)]
Fix crash if tabs extend past view width

Ref #631

7 years agoFix colorcolumn being ignored
Zachary Yedidia [Tue, 18 Apr 2017 17:33:19 +0000 (13:33 -0400)]
Fix colorcolumn being ignored

Closes #627

7 years agoMerge pull request #626 from Necklaces/master
Zachary Yedidia [Sun, 16 Apr 2017 15:39:49 +0000 (11:39 -0400)]
Merge pull request #626 from Necklaces/master

Added more default bindings:

7 years agoSpeed up search and replace
Zachary Yedidia [Sun, 16 Apr 2017 15:11:04 +0000 (11:11 -0400)]
Speed up search and replace

Ref #625

7 years agoSlightly speed up search and replace
Zachary Yedidia [Sun, 16 Apr 2017 14:43:13 +0000 (10:43 -0400)]
Slightly speed up search and replace

This commit also adds a linter for literate

7 years agoAdded more default bindings:
Nichlas Severinsen [Sun, 16 Apr 2017 12:39:39 +0000 (14:39 +0200)]
Added more default bindings:
- Shift+Home for selecting to start of line
- Shift+End for selecting to end of line
These already exist as Ctrl+Shift+Left/Right-arrow

7 years agoAllow plugins to create runtime files from strings
Zachary Yedidia [Sat, 15 Apr 2017 18:45:44 +0000 (14:45 -0400)]
Allow plugins to create runtime files from strings

7 years agoUpdate runtime
Zachary Yedidia [Sat, 15 Apr 2017 16:02:01 +0000 (12:02 -0400)]
Update runtime