]>
git.lizzy.rs Git - micro.git/log
Zachary Yedidia [Sun, 18 Jun 2017 03:02:22 +0000 (23:02 -0400)]
Update tcell
Zachary Yedidia [Sun, 18 Jun 2017 02:54:05 +0000 (22:54 -0400)]
Use the idle-wakeup-fix-forked branch of tcell
Zachary Yedidia [Sat, 17 Jun 2017 22:00:26 +0000 (18:00 -0400)]
Update readme
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.
Zachary Yedidia [Sat, 10 Jun 2017 22:44:27 +0000 (18:44 -0400)]
Use submodules for dependency management
Zachary Yedidia [Sat, 17 Jun 2017 21:42:43 +0000 (17:42 -0400)]
Update readme
Zachary Yedidia [Sat, 17 Jun 2017 21:39:31 +0000 (17:39 -0400)]
Merge pull request #704 from zyedidia/multiple-cursors
Multiple cursors
Zachary Yedidia [Sat, 17 Jun 2017 21:36:27 +0000 (17:36 -0400)]
Add multiple cursor docs + improve docs in general
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.
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.
Zachary Yedidia [Sat, 17 Jun 2017 02:19:33 +0000 (22:19 -0400)]
Get undo working properly with multiple cursors
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
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()
Frank Braun [Wed, 14 Jun 2017 19:47:40 +0000 (19:47 +0000)]
Implement Spaces() with with strings.Repeat()
Shorter and more efficient.
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.
Zachary Yedidia [Mon, 12 Jun 2017 20:19:17 +0000 (16:19 -0400)]
Add comments
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.
Zachary Yedidia [Mon, 12 Jun 2017 16:12:26 +0000 (12:12 -0400)]
Remove debug messages
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",
Zachary Yedidia [Mon, 12 Jun 2017 19:49:21 +0000 (15:49 -0400)]
Properly show end of line selection
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.
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
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
Leo Arias [Sun, 11 Jun 2017 16:11:07 +0000 (16:11 +0000)]
update the snapcraft.yaml
Zachary Yedidia [Sat, 10 Jun 2017 22:52:08 +0000 (18:52 -0400)]
Update default colorscheme
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.
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
tommy [Sat, 10 Jun 2017 10:33:50 +0000 (11:33 +0100)]
Correct the comment from # to ! as point out in the gitter chat.
Zachary Yedidia [Wed, 7 Jun 2017 16:41:20 +0000 (12:41 -0400)]
Improve solarized-tc colorscheme
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
Zachary Yedidia [Sun, 4 Jun 2017 23:17:08 +0000 (19:17 -0400)]
Merge
Zachary Yedidia [Sun, 4 Jun 2017 23:17:02 +0000 (19:17 -0400)]
More descriptive error for 'terminal entry not found'
Zachary Yedidia [Sat, 3 Jun 2017 00:24:03 +0000 (20:24 -0400)]
Merge pull request #683 from yursan9/appstream
Add AppStream metainfo
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
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.
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.
Zachary Yedidia [Sun, 28 May 2017 23:52:56 +0000 (19:52 -0400)]
Fix boolean logic order for hiding cursor
Fixes #684
Zachary Yedidia [Sun, 28 May 2017 14:52:54 +0000 (10:52 -0400)]
Update readme
Yurizal Susanto [Sun, 28 May 2017 05:11:09 +0000 (12:11 +0700)]
Add AppStream metainfo
Zachary Yedidia [Sat, 27 May 2017 21:16:21 +0000 (17:16 -0400)]
Re-add literate supportg
Zachary Yedidia [Sat, 27 May 2017 21:14:22 +0000 (17:14 -0400)]
Temporarily remove literate folder
Zachary Yedidia [Sat, 27 May 2017 20:55:59 +0000 (16:55 -0400)]
Add support for zyedidia/Literate
Zachary Yedidia [Sat, 27 May 2017 20:38:03 +0000 (16:38 -0400)]
Update runtime
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
tommy [Fri, 26 May 2017 00:59:51 +0000 (01:59 +0100)]
Added kotlin highlighting and fixed swift line comment todo not highlighting.
Zachary Yedidia [Mon, 22 May 2017 15:21:17 +0000 (11:21 -0400)]
Add comment
Zachary Yedidia [Sun, 21 May 2017 14:46:06 +0000 (10:46 -0400)]
Use messenger error instead of termerror
Zachary Yedidia [Sun, 21 May 2017 14:44:33 +0000 (10:44 -0400)]
Add suspend for linux only
Zachary Yedidia [Sun, 21 May 2017 14:30:26 +0000 (10:30 -0400)]
Test suspend code
Zachary Yedidia [Sun, 21 May 2017 14:19:13 +0000 (10:19 -0400)]
Merge
Zachary Yedidia [Fri, 19 May 2017 22:17:38 +0000 (18:17 -0400)]
Create ftoptions option to disable auto settings
Closes #662
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
Benjamin Reynolds [Fri, 19 May 2017 17:33:41 +0000 (12:33 -0500)]
Cleanup from merge conflicts in syntax/README
Zachary Yedidia [Wed, 17 May 2017 16:13:24 +0000 (12:13 -0400)]
Merge
Zachary Yedidia [Wed, 17 May 2017 16:12:58 +0000 (12:12 -0400)]
Load colorscheme after loading plugins
Fixes #671
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
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
Zachary Yedidia [Sun, 14 May 2017 14:27:37 +0000 (10:27 -0400)]
Merge
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
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
aerth [Fri, 12 May 2017 23:32:24 +0000 (16:32 -0700)]
use space for indentchar if empty, fixes #660
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
Zachary Yedidia [Tue, 9 May 2017 18:46:23 +0000 (14:46 -0400)]
Allow upper case in 'Save changes' prompt
Fixes #658
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
tommy [Mon, 8 May 2017 16:14:33 +0000 (17:14 +0100)]
added swift linting to linux
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
Nichlas Severinsen [Sun, 7 May 2017 11:19:58 +0000 (13:19 +0200)]
Added ShiftHome + ShiftEnd to keybindings.md documentation
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
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
Zachary Yedidia [Fri, 5 May 2017 15:34:14 +0000 (11:34 -0400)]
Fix rare problem with tabs and horizontal scrolling
Zachary Yedidia [Fri, 5 May 2017 15:05:23 +0000 (11:05 -0400)]
Add SaveAll command and display + for modified tabs
Closes #651
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.
Zachary Yedidia [Fri, 5 May 2017 14:40:49 +0000 (10:40 -0400)]
Properly draw split divider
Zachary Yedidia [Wed, 3 May 2017 15:04:56 +0000 (11:04 -0400)]
Correctly detect synatx ft from header
Zachary Yedidia [Wed, 3 May 2017 00:12:37 +0000 (20:12 -0400)]
If softwrap is on the leftcol must be 0
Fixes #645
Zachary Yedidia [Tue, 2 May 2017 14:30:27 +0000 (10:30 -0400)]
Optimize memory usage for loading syntax files
Zachary Yedidia [Sat, 29 Apr 2017 20:01:51 +0000 (16:01 -0400)]
Update runtime
Zachary Yedidia [Sat, 29 Apr 2017 20:01:09 +0000 (16:01 -0400)]
Add termtitle option and move autoclose utf8 code
Collin Warren [Sat, 29 Apr 2017 19:51:31 +0000 (14:51 -0500)]
Readded title setting. ( As per the tcell pull. ) (#600)
Zachary Yedidia [Sat, 29 Apr 2017 19:50:38 +0000 (15:50 -0400)]
Update snap yaml
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
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
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
Zachary Yedidia [Sat, 29 Apr 2017 18:12:00 +0000 (14:12 -0400)]
Use less memory when opening very large files
Zachary Yedidia [Fri, 28 Apr 2017 15:07:28 +0000 (11:07 -0400)]
Merge
Zachary Yedidia [Fri, 28 Apr 2017 15:07:05 +0000 (11:07 -0400)]
Differentiate between help buffers and log buffers
Closes #636
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.
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.
Zachary Yedidia [Fri, 28 Apr 2017 00:10:51 +0000 (20:10 -0400)]
Fix problem with search and replace indices
Closes #637
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
Zachary Yedidia [Sat, 22 Apr 2017 22:48:05 +0000 (18:48 -0400)]
Fix issue with cursorline
Samantha Marshall [Sat, 22 Apr 2017 18:22:38 +0000 (14:22 -0400)]
Updating changes to be in-line with master
Merging in master
Zachary Yedidia [Fri, 21 Apr 2017 16:48:03 +0000 (12:48 -0400)]
Fix crash if tabs extend past view width
Ref #631
Zachary Yedidia [Tue, 18 Apr 2017 17:33:19 +0000 (13:33 -0400)]
Fix colorcolumn being ignored
Closes #627
Zachary Yedidia [Sun, 16 Apr 2017 15:39:49 +0000 (11:39 -0400)]
Merge pull request #626 from Necklaces/master
Added more default bindings:
Zachary Yedidia [Sun, 16 Apr 2017 15:11:04 +0000 (11:11 -0400)]
Speed up search and replace
Ref #625
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
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
Zachary Yedidia [Sat, 15 Apr 2017 18:45:44 +0000 (14:45 -0400)]
Allow plugins to create runtime files from strings
Zachary Yedidia [Sat, 15 Apr 2017 16:02:01 +0000 (12:02 -0400)]
Update runtime