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
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
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
c1a3ee1706
possibility to show a log view
2016-09-26 19:08:37 +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
Zachary Yedidia
243f99aeb1
Add function to load runtime files from a directory for a plugin
2016-09-16 16:15:44 -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
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
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
8f06e51170
Add colorcolumn option
...
Fixes #333
For example: `> set colorcolumn 80`.
2016-09-07 17:17:51 -04: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
Zachary Yedidia
e643860e3d
Add Open command for view
2016-09-06 19:58:34 -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
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
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
6721ec8e7d
Copy to primary clipboard for any change in selection
2016-09-04 21:19:14 -04:00
Zachary Yedidia
a8feef3c12
Minor cleanup
...
See #300
2016-09-04 12:57:09 -04:00
Zachary Yedidia
54a34001e3
Fix cursor problem in LetterPrompt
...
Fixes #300
2016-09-04 11:19:53 -04:00
Zachary Yedidia
89c34ed8b3
Copy to primary clipboard on mouse selection
2016-09-02 10:44:32 -04:00
Zachary Yedidia
d9b8a04841
Add support for primary clipboard
2016-09-02 09:40:08 -04:00
Zachary Yedidia
b70db77c29
Add infobar option to disable the message line
...
Fixes #257
2016-08-31 11:16:22 -04:00
Zachary Yedidia
3105205ab8
Use text from the paste event, not the clipboard
...
Closes #93
2016-08-31 10:47:31 -04:00
Zachary Yedidia
fccec47ae5
Have CanClose use single letters for responses
...
Closes #184
2016-08-29 10:10:16 -04:00
Zachary Yedidia
59b7555f01
Fix various small details and update readme
2016-08-28 16:28:28 -04:00
Zachary Yedidia
d6da2dfeca
Pass the view into plugin callbacks
2016-08-25 16:35:03 -04:00
Zachary Yedidia
ec0833b09c
Update plugins for local settings
2016-08-25 16:01:42 -04:00
Zachary Yedidia
261748bd56
Add local settings for each buffer
2016-08-25 15:47:26 -04:00
Zachary Yedidia
60b84c7aba
Minor fixes and update runtime
2016-08-25 15:47:16 -04:00
Zachary Yedidia
0711c29c0a
Add onBufferOpen plugin callback
2016-08-24 17:03:02 -07:00
Zachary Yedidia
b818011715
Relocate on startup
2016-08-24 14:44:29 -07:00
Zachary Yedidia
24076e7dff
Auto indent on paste
...
Fixes #204
2016-08-23 14:48:28 -07:00
Zachary Yedidia
bfbba972d8
Fix gutter message overwriting a prompt
2016-08-22 10:13:14 -07:00
Zachary Yedidia
8f51fe84ae
Update readme
2016-08-20 13:02:19 -07:00
Zachary Yedidia
8d230d2038
Fix some issues with unicode handling
...
There were unicode issues with prompts, search, and syntax highlighting,
which are now fixed.
2016-08-18 08:14:33 -07:00
Zachary Yedidia
d17cc0f628
Add boolean option to actions to disable the lua callback
2016-08-17 14:16:27 -04:00
Zachary Yedidia
6777419dc4
Don't open a new split if help is already open
2016-08-17 11:59:37 -04:00
Zachary Yedidia
4a0c48587a
Split help into multiple files and add help command
2016-08-17 11:59:37 -04:00
Zachary Yedidia
cb79e08f19
Minor fix to current line num style
2016-08-17 11:59:29 -04:00
Zachary Yedidia
1e26aaed3c
Merge pull request #209 from onodera-punpun/coloredline
...
Add colored current line number option
2016-08-16 22:03:07 -04:00