Zachary Yedidia
63f18f033c
Update runtime
2016-12-11 16:43:07 -05:00
Daniel Jones
0558de12c6
Added removewhitespaces setting
2016-12-11 23:01:10 +11:00
Zachary Yedidia
d71ad04d98
Display colorscheme error message using TermMessage
2016-12-10 20:36:03 -05:00
Zachary Yedidia
73d14f5d37
Merge pull request #485 from sirikid/syntax-fix
...
Initial OCaml support (integer and real literals, comments)
2016-12-09 10:41:38 -05:00
Zachary Yedidia
291b1d1efc
Use shell to parse command when using JobStart
...
Also changed all occurrences of JobStart to JobSpawn in the linter
plugin.
2016-12-09 10:34:39 -05:00
Ivan Sokolov
57960bdc81
Initial OCaml support (integers and real literals, comments)
2016-12-08 18:11:56 +03:00
Ivan Sokolov
11e9419258
Simple fix for Pascal syntax highlighting
2016-12-08 05:03:00 +03:00
Zachary Yedidia
3f01f73ea9
Give error message if input is a directory
...
Fixes #479
2016-12-07 10:28:03 -05:00
Zachary Yedidia
67ac3f1a24
Fix string width for different sized tabs
...
Fixes #475
2016-12-06 09:09:24 -05:00
Rohan Allison
44fa0d77ff
Add Crystal language support ( #473 )
...
* ignore micro binary
* Add crystal syntax
* Add more crystal keywords; add character style
* Default character style to string
2016-12-05 18:07:27 -05:00
Nicolai Søborg
128dc9fea1
Log erroneous keybindings
2016-12-05 17:02:46 +01:00
10sr
92362093ab
Allow symlink plugin directory
2016-11-30 14:28:13 +09:00
Zachary Yedidia
6fbff048f0
Fix bug with opening empty files
2016-11-29 16:25:16 -05:00
Zachary Yedidia
370e667e91
Remove debug statements
2016-11-29 13:57:26 -05:00
Zachary Yedidia
eeaac76f5f
Use io.Readers to read files more efficiently
2016-11-29 13:44:30 -05:00
Zachary Yedidia
d13f9602ff
Merge pull request #449 from 10sr/jobSpawn
...
Add `JobSpawn()` function for plugin interface
2016-11-29 08:57:41 -05:00
Zachary Yedidia
400ac56651
Make tab.CurView public
2016-11-28 20:50:11 -05:00
Zachary Yedidia
5481a834bf
Actually rename width, height, lockWidth, lockHeight
2016-11-28 20:28:40 -05:00
Zachary Yedidia
e53229ec00
Make some view vars public
2016-11-28 20:23:22 -05:00
Zachary Yedidia
cee5a88341
Allow creating splits at arbitrary indices
2016-11-28 20:20:30 -05:00
Zachary Yedidia
1b92700990
Allow splits to be created in either direction
...
This commit adds the `splitRight` and `splitBottom` options to allow
the user to pick which direction to split in.
This also means that a new split is no longer just appended to the list
of splits.
2016-11-28 19:16:49 -05:00
Zachary Yedidia
78b2a99f2e
Display 'No name' for empty files
2016-11-28 12:52:45 -05:00
Zachary Yedidia
4e4b4bfe68
Don't open buffer if there was an error loading the file
2016-11-28 10:51:09 -05:00
Zachary Yedidia
543f840912
Order syntax files, with custom syntax files first
...
Fixes #460
2016-11-23 14:18:20 -05:00
Zachary Yedidia
ea31c662c5
Optimize startup
2016-11-23 11:56:12 -05:00
Zachary Yedidia
c9b9b3d27f
Update runtime
2016-11-20 11:07:04 -05:00
Zachary Yedidia
0fbae7610c
Fix buffer name problem
...
Fixes #458
2016-11-19 19:07:51 -05:00
Zachary Yedidia
c692570212
Replace CtrlO with open command
...
This comit also makes it possible for a binding to auto-type the
beginning of a command into command mode.
Closes #450
2016-11-19 12:57:54 -05:00
Zachary Yedidia
3ecdd96931
Add cd and pwd commands to change the working dir
...
Closes #451
2016-11-18 16:48:08 -05:00
10sr
7bc8d77387
Add Buffer.AbsPath and a plugin function DirectoryName ( #455 )
...
* Add Buffer.AbsPath
* Add a plugin function DirectoryName
* Update plugins.md
2016-11-18 11:53:48 -05:00
Zachary Yedidia
4ce02e4c85
Add foundation for resizing splits arbitrarily
...
This commit adds the ability to lock a split's width or height so
you can have splits that aren't equally sized. It isn't yet possible
for users to resize splits but the functionality has been implemented.
2016-11-16 12:36:48 -05:00
10sr
d70a2fe63d
Add plugin function JobSpawn
2016-11-16 14:06:12 +09:00
Zachary Yedidia
89c468924e
Fix rare out of bounds error with selections
...
Fixes #446
2016-11-11 20:12:21 -05:00
Zachary Yedidia
d0d167b663
Put linted classfiles in temp directory
...
Fixes #445
2016-11-09 17:30:25 -05:00
Zachary Yedidia
7c2baa6086
Add default ftoptions plugin to override settings
...
The ftoptions plugin will override values in settings.json based
on language requirements (e.g. using tabs in makefiles).
2016-11-08 09:34:12 -05:00
Zachary Yedidia
4c0b00bf2b
Reset ModTime even if WriteFile fails
...
Ref #440
2016-11-03 10:55:44 -04:00
Zachary Yedidia
b4b0eda7d9
Merge pull request #433 from ilius/pr03.python_syntax
...
Fixes in Python 2.7 syntax, add Python 3.x syntax
2016-10-29 10:20:41 -04:00
Jon Craton
55add69fa0
Removed duplicate paste code for OS-level paste
2016-10-28 23:15:55 -04:00
Zachary Yedidia
199c295f1f
Merge
2016-10-28 20:34:38 -04:00
Zachary Yedidia
ad0e098a25
Add ByteOffset and ToCharPos to plugin API
2016-10-28 20:34:28 -04:00
Jon Craton
9719e6caa7
Search entire file instead of line 1 to the number of lines in view
2016-10-28 19:42:17 -04:00
Saeed Rasooli
418720f6df
add python3 syntax highlighting (detect from header)
2016-10-28 21:01:44 +03:30
Saeed Rasooli
80bd2694d6
fixes in python (2.7) syntax file, and rename to python2.micro
...
constants: sort by name, and __file__, remove __import__
functions: add next, help, __import__
separate types (like int and str) from builtin functions
separate and comment out methods/attrs of standard library (why hightlight?)
comment out NonSenseTypes like IntType, they are never used in code
magic methods: add __dict__
exec and map are functions, not keyword
remove trailing spaces
2016-10-28 21:01:43 +03:30
Saeed Rasooli
f6b7aaebbd
Improvement: FindFileType: header regex should be prior to file extention
2016-10-28 21:01:43 +03:30
Zachary Yedidia
74610b8cd7
Fix problem with calculation Bottomline
...
Fixes #432
2016-10-26 12:29:23 -04:00
Zachary Yedidia
7492ab4de2
Add 'plugin available' command
...
Closes #413
2016-10-24 19:02:13 -04:00
Zachary Yedidia
63ccbc1ebd
Add eofnewline option
...
Closes #429
Enable with '> set eofnewline on'
2016-10-23 18:37:29 -04:00
Zachary Yedidia
ee553b7830
Add reload command
...
Closes #427
2016-10-21 11:51:36 -04:00
Zachary Yedidia
49397039e0
Update runtime
2016-10-19 10:34:09 -04:00
Zachary Yedidia
1b9bb31dd6
Cleanup and add more comments
2016-10-18 11:12:28 -04:00
Zachary Yedidia
8db3b22411
Merge
2016-10-18 08:58:31 -04:00
Zachary Yedidia
4aae5ca451
Fix dockerfile syntax file
...
Fixes #421
2016-10-18 08:58:09 -04:00
Jon Craton
cc9342df9d
Added OutdentLine action
2016-10-15 12:47:15 -04:00
Jon Craton
fe0dce0960
Added IndentString method on Buffer ( #415 )
...
* Added IndentString function to retrun the string used for indentation (n-spaces or a tab) based on buffer settings
* Combined redundant statements
* Removed duplicate leading whitespace check
* Better IndentString description
* Fixed remainder logic that I broke
2016-10-15 10:09:20 -04:00
Jon Craton
78b0aac5ec
DuplicateLine now duplicates the current selection if there is text selected
2016-10-14 22:22:48 -04:00
Jon Craton
690627a338
Refactored IndentSelection and OutdentSelection to remove duplicate code ( #414 )
...
* Refactored indent selection
* Refactored OutdentSelection
* Refactored to use x and y instead of line and j
2016-10-14 16:52:55 -04:00
Zachary Yedidia
4db7f33eaf
More fixes to search and replace
2016-10-13 20:47:33 -04:00
Zachary Yedidia
d3c5e3ab47
Improvements for softwrap mouse support
2016-10-13 17:09:15 -04:00
Zachary Yedidia
b13c6c4892
Fix problem with regexes in search and replace
...
Fixes #410
2016-10-13 14:59:57 -04:00
Zachary Yedidia
c50dda244b
Fix mouse support with soft wrap
2016-10-13 14:26:45 -04:00
Zachary Yedidia
3fdc2ca0da
Always use the selection as search term when using quick search
2016-10-13 12:12:55 -04:00
Zachary Yedidia
6b7ca3c559
Merge pull request #409 from ilius/pr02.improve_search_escape
...
Improve Search behaviour, and Escape key behaviour
2016-10-13 12:10:11 -04:00
Zachary Yedidia
5c2a2b1b7e
Fix problem with horizontal scrolling
2016-10-12 22:05:24 -04:00
Zachary Yedidia
69e45f9a4f
Fix problem causing hsplits not to display
2016-10-12 22:03:16 -04:00
Saeed Rasooli
127ebc15b9
Improvement: improve Search behaviour, and Escape key behaviour
2016-10-13 00:49:43 +03:30
Zachary Yedidia
ea1de18326
Add docs
2016-10-12 16:34:34 -04:00
Zachary Yedidia
edd25c68ee
Fix glitch with bottomline when softwrap is disabled
2016-10-12 16:30:32 -04:00
Zachary Yedidia
e30a4139e6
Add softwrap
2016-10-12 16:24:00 -04:00
Saeed Rasooli
546acfd21d
Fixes in last PR: MoveLinesUp and MoveLinesDown ( #408 )
...
* Bugfix: fix panic in MoveLinesUp when moving up the *last* line
* Bugfix: don't panic in Buffer.Line if index is out or range
* clean MoveLinesDown since it won't work for the last line anyway, add comment
* Cleanup: replace spaces with tabs in MoveLinesUp and MoveLinesDown
2016-10-12 11:38:44 -04:00
Saeed Rasooli
0bf07eadcc
Improvement: move MoveLinesUp and MoveLinesDown to Buffer
...
enables Undo/Redo with EventHandler, #407
2016-10-12 08:15:46 +03:30
Saeed Rasooli
c1dd403ab9
Feature: add MoveLinesUp (Alt + Up) and MoveLinesDown (Alt + Down) actions
2016-10-12 08:15:46 +03:30
Zachary Yedidia
d163637fa8
Update docs
2016-10-11 09:13:03 -04:00
Zachary Yedidia
905d4d7020
Make monokai the default colorscheme
...
Monokai is a better default colorscheme because it has a better 16
color approximation than zenburn. On 16 color terminals, it looks like
zenburn is not syntax highlighting anything.
2016-10-11 09:09:56 -04:00
Zachary Yedidia
f85dd77036
Merge
2016-10-10 21:44:48 -04:00
Zachary Yedidia
8f5f8ffdd6
Fix tabstop sizing with mix of tabs and spaces
...
Fixes #404
2016-10-10 21:44:16 -04:00
Zachary Yedidia
b09093f78c
Merge
2016-10-10 18:40:48 -04:00
Zachary Yedidia
104699e500
Use default foreground for empty indent chars
...
Fixes #403
2016-10-10 18:40:21 -04:00
Zachary Yedidia
38bf8c0225
Temporary fix for plugin panic
...
Fixes #402
2016-10-07 20:34:03 -04:00
Zachary Yedidia
6acda994e4
Update docs and readme
2016-10-06 20:36:37 -04:00
Zachary Yedidia
e563211790
Make linter a default plugin once again
2016-10-06 20:28:10 -04:00
Zachary Yedidia
aa624d86e6
Move linter and go plugins to their own repos
...
The linter and go plugins are no longer 'default'. Their installation
should be handled by the plugin manager: `> plugin install go` and
`> plugin install linter`.
The autoclose plugin will remain a default plugin because it provides
a more essential feature.
Closes #397
2016-10-06 17:18:53 -04:00
Zachary Yedidia
c410b7b2ce
Improve plugin manager error feedback
2016-10-06 13:39:57 -04:00
Zachary Yedidia
921b828afb
Add some documentation about plugin manager
2016-10-05 18:26:41 -04:00
Zachary Yedidia
d3d35bd9ff
Add more descriptive error messages for plugin installation failures
...
Ref #378
2016-10-05 18:00:05 -04:00
Zachary Yedidia
76a328a062
Use official plugin channel
...
Use the channel for official plugins from
https://github.com/micro-editor/plugin-channel
Ref #378
2016-10-05 17:57:03 -04:00
Zachary Yedidia
fb90e169cb
Only allow one package per repository
...
This may be temporary.
Ref #378
2016-10-05 17:52:39 -04:00
Zachary Yedidia
a1a307d858
Merge pull request #378 from boombuler/pm
...
Plugin-Manager
2016-10-05 17:51:22 -04:00
Zachary Yedidia
3733e7e223
Add 'Unsplit' action and VSplit and HSplit actions
...
This commit adds the 'Unsplit' action used to close all splits except
the current one.
It also adds the 'VSplit' and 'HSplit' actions which open empty
vertical/horizontal splits so you can bind them to keys.
Closes #228
2016-10-04 11:08:32 -04:00
boombuler
3e8a587aa3
changed json5 repo
2016-10-02 07:57:39 +02:00
boombuler
8f2f1f8c1d
skip core dependencies if micro was build with an unknown version.
2016-10-01 09:28:48 +02:00
boombuler
a940ce3036
allow user to set plugin channels / repos in settings.json
2016-10-01 08:37:04 +02:00
boombuler
d7da72a720
fix plugin zips which contain a root directory
2016-10-01 08:05:05 +02:00
boombuler
b54853140a
new command plugin list
...
this command shows all currently installed plugins and their verion
2016-10-01 07:37:20 +02:00
boombuler
8ad2179423
Merge remote-tracking branch 'zyedidia/master' into pm
2016-10-01 07:20:21 +02:00
Zachary Yedidia
3037d72bcb
Fix more tabnum issues
...
Fixes #395
2016-09-30 07:29:24 -04:00
Zachary Yedidia
7d16e97b95
Switch to my fork of json5
...
This should reduce go get download times for micro considerably
because the original json5 committed a bunch of binaries which
cause the repository to be very large and slow to download.
My fork fixes that.
2016-09-29 18:43:10 -04:00
Zachary Yedidia
0293b774f3
Fix SplitTree tab index
...
Fixes #392
2016-09-29 14:23:25 -04:00
Zachary Yedidia
32cd94b88f
Minor optimization to tabsize fix
2016-09-28 18:08:06 -04:00
Zachary Yedidia
5e5dd78b7c
Merge pull request #387 from boombuler/bug379
...
fixes #379 (second try)
2016-09-28 18:06:18 -04:00
Joe Tsai
7c3425a012
fix offset calculation for column ruler
...
The calculation for the column ruler index should:
* include the offset for the line numbers gutter
* not include the leftmost column since ruler should scroll with the pane
Fixes #379
2016-09-28 13:40:48 -07:00
boombuler
bc724bf781
fixes #379 (second try)
2016-09-28 21:54:34 +02:00
Zachary Yedidia
97bdb15bd6
Revert "fixes #379 "
2016-09-28 14:07:17 -04:00
Zachary Yedidia
fb69ecdc9b
Add 'autosave' option
...
Closes #278
2016-09-28 13:07:05 -04:00
boombuler
1fe1c3eabb
improved plugin search
2016-09-28 18:31:05 +02:00
Zachary Yedidia
191fd5e495
Merge pull request #382 from boombuler/bug379
...
fixes #379
2016-09-28 12:30:01 -04:00
boombuler
8aa017bfda
autocomplete plugin commands
2016-09-28 18:15:39 +02:00
boombuler
9ea947c808
improved logging
2016-09-28 18:00:12 +02:00
boombuler
2a7a55eca4
better plugin search
2016-09-28 17:55:44 +02:00
boombuler
759c00098b
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-28 17:36:37 +02:00
Florian Sundermann
cce36624dc
PM should not install already installed plugins.
2016-09-28 16:34:28 +02:00
Zachary Yedidia
4664850186
Merge pull request #384 from boombuler/logview
...
don't use undo / redo history for log buffer.
2016-09-28 10:24:30 -04:00
Florian Sundermann
d9c666f6df
don't use undo / redo history for log buffer.
2016-09-28 15:47:31 +02:00
Florian Sundermann
d7e38a52ea
fixes #379
...
when tabstospaces is off tabs were always treated as
as a number of spaces not as tabs with tabstops.
2016-09-28 08:12:19 +02:00
boombuler
f3f4790103
simple plugin search
2016-09-27 21:25:57 +02:00
boombuler
83c1136ac5
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-27 20:57:49 +02:00
Zachary Yedidia
0ae5ae5d9a
HSplit log, and update docs
2016-09-27 14:29:55 -04:00
Zachary Yedidia
c070e3e8f7
Merge pull request #381 from boombuler/logview
...
Log View
2016-09-27 14:28:06 -04:00
Zachary Yedidia
0de167b07b
Add new plugin runtime function
2016-09-27 14:24:52 -04:00
boombuler
f904e2fe99
always scroll log to the cursor befor drawing and don't ask for save changes for help and log views
2016-09-27 17:52:40 +02:00
boombuler
b195ebad46
AddLog should be "public" accessible
2016-09-27 17:52:05 +02:00
Florian Sundermann
23ef69b935
change pluginmanager json to json5
2016-09-27 13:28:32 +02:00
Florian Sundermann
55c790f069
more tolerant version parsing
2016-09-27 13:26:11 +02:00
boombuler
50c7441533
also add TermMessage output to log
2016-09-26 19:28:42 +02:00
boombuler
c1a3ee1706
possibility to show a log view
2016-09-26 19:08:37 +02:00
boombuler
357fc09e69
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-26 18:24:43 +02:00
Zachary Yedidia
c1d08a6dc0
Fix typo
2016-09-26 12:08:35 -04:00
boombuler
f689143670
fixed tests
2016-09-26 17:51:50 +02:00
boombuler
56b3b79c50
removed testing code
2016-09-26 17:37:53 +02:00
Florian Sundermann
f351c251e4
first few pm commands
2016-09-26 16:53:39 +02:00
Zachary Yedidia
5cc66cef42
Fix problems recognizing CtrlH
...
Fixes #368
The 'Backspace2' key has been renamed to 'Backspace'.
2016-09-26 09:34:55 -04:00
Florian Sundermann
6791759440
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-26 12:49:57 +02:00
Zachary Yedidia
292df7a9f7
Add mouse support and binding support to prompts
...
Closes #244
2016-09-24 15:26:19 -04:00
Zachary Yedidia
64fd96611c
Check buffer filetype after loading plugins
2016-09-24 14:30:35 -04:00
Zachary Yedidia
de4a007bdf
Merge pull request #371 from boombuler/plugins
...
Handle Plugins via RT-Files
2016-09-24 14:09:02 -04:00
boombuler
567faeb07e
initial commit of pluginmanager
2016-09-23 10:03:42 +02:00
Florian Sundermann
8172ebf62b
fixed loading order
...
plugins were not able to provide colorschemes
2016-09-19 16:04:59 +02:00
Florian Sundermann
1720d4023f
load plugins as rt-files
2016-09-19 14:40:56 +02:00
Florian Sundermann
da6ab78384
fixed build
2016-09-19 13:28:14 +02:00
Florian Sundermann
6fe20fb305
some additions to the plugin API
...
Those changes were originally used for the snippet plugin which
may not be part of the core.
2016-09-19 13:23:47 +02:00
Zachary Yedidia
d41f0bb324
Merge
2016-09-18 09:30:28 -04:00
Zachary Yedidia
8e555e60f7
Inherit background color from default
...
Fixes #366
2016-09-18 09:29:58 -04:00
Zachary Yedidia
243f99aeb1
Add function to load runtime files from a directory for a plugin
2016-09-16 16:15:44 -04:00
Zachary Yedidia
ab36db7646
Update yaml header
2016-09-16 15:22:38 -04:00
Zachary Yedidia
2e3c87b67d
Add quick start guide to help.md
2016-09-16 12:14:08 -04:00
Zachary Yedidia
a549d12808
Merge pull request #334 from techtonik/filemanagers
...
Usability integration with file managers
2016-09-16 12:09:17 -04:00
Zachary Yedidia
149fea8b76
Allow plugins to add their own runtime files
2016-09-16 11:02:10 -04:00
Florian Sundermann
9eeb14956c
allow plugins to list / read runtime files
...
also renamed most of the new functions to be
more specific about what kind of files this is for.
2016-09-15 16:42:45 +02:00
Florian Sundermann
796638d095
simplified file handling for runtime files
2016-09-15 15:50:26 +02:00
Zachary Yedidia
79621505f1
Merge pull request #359 from boombuler/params
...
Params
2016-09-14 17:14:01 -04:00
Zachary Yedidia
e484445b1e
Merge pull request #354 from boombuler/help
...
Help
2016-09-14 17:13:46 -04:00
Richard Burke
bdc857952a
Added ability to validate options values when being set
2016-09-14 20:06:48 +01:00
Zachary Yedidia
2bcc59faea
Fix pyflakes linter pattern
...
Fixes #358
2016-09-14 12:54:31 -04:00
Florian Sundermann
6cc12b871c
include trailing path delimiter
...
"C:" is not valid on windows but "C:\" is.
"foo" is as valid as "foo/" on other OS...
2016-09-14 16:28:25 +02:00
Florian Sundermann
d201e7c503
fixed directory completion on windows
2016-09-14 16:15:49 +02:00
Zachary Yedidia
c695df0adf
Merge pull request #356 from boombuler/bug355
...
fixed bug 355
2016-09-14 07:29:44 -04:00
boombuler
7d395a29a7
don't clone unsaved file buffers.
...
if I open multiple empty tabs, I don't want the same "new file buffers"
2016-09-14 09:37:12 +02:00
boombuler
4046bb977e
fixed bug 355
2016-09-14 09:24:38 +02:00
boombuler
d250b9d7b0
allow plugins to have a help file
2016-09-13 09:06:06 +02:00
boombuler
a7f159bddc
Load help files when needed
2016-09-13 08:53:20 +02:00
Zachary Yedidia
d0fa467a3c
Revert "Improve performance for very long lines"
...
This reverts commit d5694c0f35 .
Fixes #351
See #348
2016-09-11 16:05:15 -04:00
Zachary Yedidia
0bc80adc28
Fix strange selection for long lines
...
See #351
2016-09-11 15:00:44 -04:00
Zachary Yedidia
b5160c5d2c
Optimize search and replace a lot
2016-09-10 11:32:54 -04:00
Zachary Yedidia
210a538cdd
Improve performance for xml and html files
2016-09-10 10:32:21 -04:00
Zachary Yedidia
fd786b3020
Allow a buffer to be opened simultaneously
2016-09-10 10:30:15 -04:00
Zachary Yedidia
d5694c0f35
Improve performance for very long lines
2016-09-10 10:03:51 -04:00
Zachary Yedidia
922baa930d
Add eval command
2016-09-09 15:54:32 -04:00
Zachary Yedidia
faafda6b21
Remove pkgbuild from pre installed syntax files
2016-09-09 14:48:18 -04:00
Zachary Yedidia
9efc4fb5e9
Remove duplicate PKGBUILD filetype
2016-09-09 12:41:56 -04:00
Zachary Yedidia
37d83a280f
Merge
2016-09-09 12:32:05 -04:00
Zachary Yedidia
8c0544c264
Use shell.micro for PKGBUILD files
...
Fixes #345
2016-09-09 12:31:44 -04:00
Zachary Yedidia
0c00e8da0e
Merge pull request #341 from boombuler/bug297
...
fixes #297
2016-09-08 17:31:45 -04:00
Zachary Yedidia
af47cce86b
Resize tabs more often
...
Fixes #343
2016-09-08 17:30:41 -04:00
Zachary Yedidia
301e86a46e
Add SaveAs action and command
...
Fixes #340
You can bind the action `SaveAs` and if you provide an argument to
the `save` command it will save as. For example `> save test.txt`.
2016-09-08 14:13:46 -04:00
Florian Sundermann
0b1afe7f6c
fixes #297
...
use a buffered channel to queue events.
otherwise those events might get lost.
2016-09-08 13:47:13 +02:00
Matthew Brener
4f4e87a82c
its --> it's in actions.go comment
2016-09-08 16:14:04 +10:00
Zachary Yedidia
8f06e51170
Add colorcolumn option
...
Fixes #333
For example: `> set colorcolumn 80`.
2016-09-07 17:17:51 -04:00
anatoly techtonik
a853164302
Usability integration with file managers
2016-09-08 00:11:51 +03:00
Zachary Yedidia
cc73efc0bd
Merge branch 'master' of https://github.com/to-miz/micro into to-miz-master
2016-09-07 16:57:42 -04:00
Niklas Hennigs
956b1bdb3a
Missed the test for the last commit, now fixed
2016-09-07 17:52:16 +02:00
Niklas Hennigs
cd52aaba13
This fixes zyedidia/micro#329
...
Now all multi-byte characters are considered a wordchar
2016-09-07 17:29:38 +02:00
Zachary Yedidia
cc6189b7ce
Check colorschemes from ~/.config/micro/colorschemes
...
Fixes #331
2016-09-07 07:25:42 -04:00
Zachary Yedidia
e643860e3d
Add Open command for view
2016-09-06 19:58:34 -04:00
Zachary Yedidia
0373589ab8
Merge
2016-09-06 19:30:28 -04:00
Zachary Yedidia
dce56a2b85
Have HandleShellCommand return the stdout
...
HandleShellCommand will now return the stdout as a string and
it also takes an additional flag indicating whether it should
wait before closing the shell and returning to the editor.
2016-09-06 19:27:57 -04:00
anatoly techtonik
1f457f9d9e
Fix CanClose comment after API change
...
Follow up to 966dac97f8
2016-09-06 22:51:13 +03:00
Zachary Yedidia
131524e670
Merge branch 'params' of https://github.com/boombuler/micro into boombuler-params
2016-09-06 10:59:30 -04:00
Zachary Yedidia
539495d2f7
Add support for macros
...
Closes #270
CtrlU to toggle recording and CtrlJ to playback.
You can also rebind using the "ToggleMacro" and "PlayMacro"
actions.
Note that recursive macros are not yet supported.
2016-09-06 10:44:15 -04:00
Zachary Yedidia
966dac97f8
Make unsaved changes prompt more clear
...
Fixes #301
2016-09-06 10:06:36 -04:00
Leo Arias
02b6eaaff0
Update runtime
...
closes #317
2016-09-05 18:31:36 +00:00
boombuler
a952e249b4
added pascal syntax
2016-09-05 17:53:49 +02:00
Zachary Yedidia
0a534767f0
Merge branch 'primary-clipboard'
2016-09-05 11:37:49 -04:00
Zachary Yedidia
b1cb583e8c
Update runtime
2016-09-05 10:30:08 -04:00
Zachary Yedidia
ea4d822923
Merge pull request #283 from boombuler/autocompleteplugin
...
Autocomplete for plugins
2016-09-05 10:29:51 -04:00
to-miz
725533d991
fixed inserting runes that require ctrl+alt
...
we check wheter an input is a binding first, only if it is not a binding
do we insert the rune regardless of modifiers
2016-09-05 16:03:05 +02:00
Zachary Yedidia
2041e12eba
Fix some issues with mouse selection copying
2016-09-05 08:36:30 -04:00
Zachary Yedidia
5d00522d4e
Deselect for CursorStart
...
Fixes #308
2016-09-05 08:25:49 -04:00
Zachary Yedidia
c71e816e37
Fix recursive function
2016-09-04 21:28:40 -04:00
Zachary Yedidia
6721ec8e7d
Copy to primary clipboard for any change in selection
2016-09-04 21:19:14 -04:00
Zachary Yedidia
cf3ce29a08
Fix YesNoPrompt bug
2016-09-04 18:27:11 -04:00
Zachary Yedidia
a8feef3c12
Minor cleanup
...
See #300
2016-09-04 12:57:09 -04:00