Zachary Yedidia
2ae9f88eaa
Add showkey command
2017-12-03 13:05:46 -05:00
Zachary Yedidia
3ca55f77a6
Merge
2017-12-01 20:39:30 -05:00
Zachary Yedidia
5f304db4a1
Update readme
2017-12-01 20:39:25 -05:00
Petr Shevtsov
93b8f10b02
Typo ( #934 )
2017-11-30 11:39:44 -05:00
Zachary Yedidia
bdb699211a
Add raw
command to view raw terminal esc codes
2017-11-29 01:06:16 -05:00
Zachary Yedidia
0360a2fcb5
Improve cmdbar parsing and add -l replace flag
...
The -l flag to the replace command means "literal" and will treat
the search term literally instead of as a regular expression.
The command bar also now supports expanding environment variables
and running expressions through the shell and using the result
in the command.
2017-11-22 13:54:39 -05:00
Zachary Yedidia
d247db3e9d
Implement retab command
...
Ref #919
2017-11-21 00:51:07 -05:00
Zachary Yedidia
f96e9e9c1d
Update lua go stdlib access documentation
...
Ref #912
2017-11-16 14:29:36 -05:00
Zachary Yedidia
6b6fcc8ba0
Minor documentation update
2017-11-08 00:23:18 -05:00
Zachary Yedidia
423f4675d2
Add a scroll bar option
...
The option is `scrollbar` and is off by default. The scroll bar is
not interactive (you can't click and drag it) but this will likely
be fixed in the future.
Ref #869
2017-11-05 20:07:14 -05:00
Zachary Yedidia
7b6430af1c
Add savehistory option
...
When savehistory is enabled, micro will save your command history across
sessions. This includes command-mode, shell-mode, open, jump-to-line...
Anything that uses up-arrow for history in the infobar.
This option is on by default.
Closes #874
2017-10-21 15:31:04 -04:00
Camille Scholtz
9daa05d696
Use more consisten syntax in md files, format tp 80 collumns, fix some typos
2017-10-11 15:16:53 +02:00
Camille Scholtz
d76704839a
alphabetically order options
2017-10-11 14:43:38 +02:00
Camille Scholtz
329669ce79
Make settings capitalization consistent
2017-10-11 14:22:23 +02:00
Zachary Yedidia
278aa6b050
Add docs for binding esc sequences
2017-10-06 20:42:58 -04:00
Zachary Yedidia
ac3de065d9
Merge pull request #850 from nitsakh/feat-809
...
Implementation of Paragraph Feature
2017-10-03 23:49:57 -04:00
Zachary Yedidia
299416062f
Merge
2017-10-02 23:44:58 -04:00
Zachary Yedidia
8b8fffb98d
Add nano-style key menu option
...
Use the `keymenu` option (default `off`) to enable. ToggleKeyMenu is
also bound to `Alt-g` and this info is now displayed in the status line.
Closes #829
2017-10-02 23:44:11 -04:00
Nitish Sakhawalkar
ec221c0bc4
Implementation of Paragraph Feature
...
Changes to support moving cursor to next and previous paragraph
and updates to corresponding documentation
2017-10-02 19:54:57 -07:00
sotpapathe
8a4f2193d8
Added automatic tabs to spaces for yaml and updated readme
2017-10-02 13:36:28 +04:00
Pete Aykroyd
d067de8150
grammar nit
2017-10-01 22:33:03 -04:00
Zachary Yedidia
f4e94d6d34
Add sucmd to customize "sudo" command
...
Fixes #833
2017-10-01 21:55:43 -04:00
Zachary Yedidia
fb980bb695
Add option for very accurate dirty flag
...
Set the `fastdirty` option flag to off if you really want accurate
reporting on whether the buffer is modified. This is more resource
intensive but it can be useful for people who don't mind.
Closes #787
Closes #467
2017-09-17 23:33:18 -04:00
Zachary Yedidia
612658d9c4
Add documentation for new lua functions
2017-09-11 12:23:19 -04:00
Zachary Yedidia
90977fb4e1
Add mouse option to allow disabling mouse support
2017-09-06 15:50:50 -04:00
Tommy
c4d8b9e7fb
add missing new lua command WorkingDirectory to docs ( #797 )
...
* add missing new lua command WorkingDirectory to docs
* added messenger.AddLog to doc and changed lua commands from . to :
2017-09-02 10:30:19 -04:00
Zachary Yedidia
9628b73525
Add support for switching between crlf and lf
...
Dos and Unix line endings are now both supported (previously on unix
line endings were supported) and can be accessed via the `fileformat`
option. The file format will be automatically detected and displayed in
the statusline but can be overriden.
Possible values for the `fileformat` option are `dos` and `unix`.
Closes #443
Closes #755
2017-08-24 13:13:14 -04:00
adrian5
c1584dd72f
Add consistent spacing to help file
2017-07-16 02:00:30 +02:00
Zachary Yedidia
fc9ddaf941
Merge pull request #679 from alialaee/master
...
Find and replace one at a time
2017-06-18 12:13:43 -04:00
Zachary Yedidia
397361f23d
Add multiple cursor docs + improve docs in general
2017-06-17 17:36:27 -04:00
tommy
51d73c6618
Added missing defualt key bindings and changed micro section to same format. Moved tab key bindings to its own heading.
2017-06-01 06:35:08 +01:00
ali
480a220fda
Change replace command default behaviour to confirm replacement for each occurrences
2017-05-26 03:43:57 +04:30
Zachary Yedidia
f364965ac0
Create ftoptions option to disable auto settings
...
Closes #662
2017-05-19 18:17:38 -04:00
Nichlas Severinsen
2aec2c13b5
Added ShiftHome + ShiftEnd to keybindings.md documentation
2017-05-07 13:19:58 +02:00
Zachary Yedidia
18f9b6f34e
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
2017-05-05 12:04:18 -04:00
Zachary Yedidia
a6ee75a9cf
Add SaveAll command and display + for modified tabs
...
Closes #651
2017-05-05 11:05:23 -04:00
Zachary Yedidia
2a3ce12bd4
Add termtitle option and move autoclose utf8 code
2017-04-29 16:01:09 -04:00
Zachary Yedidia
299712ead3
Add support for skipping and remove need for lookbehind
2017-03-27 20:53:08 -04:00
Zachary Yedidia
75d4e70560
Document the keepautoindent option
...
Closes #602
2017-03-27 13:22:34 -04:00
Nicolai Søborg
3c85d31c15
Fix merge conflict / syntax of colors.md
...
I've changed "can provide" to "must provide" for detection of filetypes (i.e. `detect:` as micro crashes if omitted)
2017-03-27 17:11:51 +02:00
Zachary Yedidia
12d74b99e8
Merge branch 'master' into view-refactor
2017-03-26 20:40:03 -04:00
Zachary Yedidia
4cda7e2d92
Update syntax readme and docs
2017-03-26 18:58:08 -04:00
CaptainMcClellan
9f9b5def41
Added theming to the Vsplit divider. ( #578 )
...
* Added title setting (Requires tcell pull!) and optimized tab display.
* Changed tcell call to screen.
* Fixed bad reference for getting Buffer name.
* Themeable vsplit divider.
* Bugfix.
2017-03-03 11:48:51 -05:00
CaptainMcClellan
d949b58fc0
Legacy syntax overhaul 2 ( #577 )
...
* Added title setting (Requires tcell pull!) and optimized tab display.
* Added Clojure highlighting.
* Changed tcell call to screen.
* Fixed bad reference for getting Buffer name.
* Yet another massive syntax overhaul
* Tweaking and testing web syntax
* More webdev goodies
* Added html5 highlighting and strict html4 highlighting.
* Documentation update
2017-03-03 11:47:03 -05:00
CaptainMcClellan
c29e58e3d4
Syntax Highlight Overhaul ( #568 )
...
* Adds new syntax groups and docs
* Large refactor of syntax highlighting files
* Changed keybindings for changing tabs.
* Improved the documentation.
* Added F3 for find to default bindings.
* Massive overhaul of the syntax files
* Phase 1 color-scheme updates.
* The new colorschemes.
* Colorscheme and syntax updates.
* Tiny fix to the cmc theme.
* Another phase of colorschemes and testing gitconfig.
* Fixed haskell error
* Fortran fix
* Delete test.txt
Heh, sorry about forgetting to do this again.
2017-03-01 09:30:35 -05:00
Zachary Yedidia
80ab81fefc
Add tabswitch command
...
Fixes #566
2017-02-26 10:52:14 -05:00
Zachary Yedidia
5dc8fe40ca
Add option to disable use of a the primary clipboard
...
Closes #544
2017-02-07 19:21:25 -05:00
Yurizal Susanto
82a3b8bb39
Correct the splitBottom option
2017-01-24 10:40:36 +07:00
DanielPower
f7560c3311
Add gruvbox truecolor colorscheme ( #530 )
...
* Add gruvbox truecolor colorscheme
* Fixed typo in gruvbox-tv, added operator type in colorschemes
* Added operator type to all default themes
* Changed operator to symbol
* changed operator to symbol due to name conflict
* Removed unused 'operator' field. Fixed gutter-error color
* Restored the statement group and removed operator
2017-01-20 14:32:34 -05:00
Samantha Marshall
362d8eabae
Adding functionality to unbind keys
...
* adds new special-case keybinding to remove an existing default key binding.
* hides the show/close help text in the status line when no key is assigned to "ToggleHelp"
* updating documentation
2017-01-02 10:56:55 -05:00
10sr
e71b49481b
Update help for rmtrailingws
2016-12-17 11:33:48 +09:00
Colin Rioux
4e5aa4ecc8
Minor fix to documentation
2016-12-14 15:11:57 -05:00
Zachary Yedidia
5f50d79efa
Update docs
...
Fixes #486
2016-12-14 10:30:03 -05:00
Nicolai Søborg
3de440338d
Update plugin documentation
2016-12-11 01:24:49 +01: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
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
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
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
10sr
856acf4a51
Update plugins.md
2016-11-16 14:14:04 +09: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
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
25ced4c075
Merge pull request #412 from ilius/pr04.keybindings_help_fixes
...
Fixes in keybindings.md
2016-10-14 07:37:45 -04:00
Saeed Rasooli
ae72608c5d
Bugfix: keybindings.md: fix bad json syntax, due to #407
2016-10-14 14:29:58 +03:30
Saeed Rasooli
2e778a2a8e
update keybindings.md due to PR #409
2016-10-14 14:29:58 +03:30
zenlc2000
bc9e811797
Reworded first sentence to make it clearer.
2016-10-13 23:10:37 -06:00
Zachary Yedidia
ea1de18326
Add docs
2016-10-12 16:34:34 -04:00
Saeed Rasooli
e4386d9398
add help for MoveLinesUp and MoveLinesDown
2016-10-12 08:15:46 +03:30
Zachary Yedidia
d163637fa8
Update docs
2016-10-11 09:13: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
Florian Sundermann
d7b7cc954a
updated plugin help
2016-10-06 08:24:39 +02:00
Zachary Yedidia
921b828afb
Add some documentation about plugin manager
2016-10-05 18:26:41 -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
Zachary Yedidia
fb69ecdc9b
Add 'autosave' option
...
Closes #278
2016-09-28 13:07:05 -04:00
Zachary Yedidia
0ae5ae5d9a
HSplit log, and update docs
2016-09-27 14:29:55 -04:00
Zachary Yedidia
0de167b07b
Add new plugin runtime function
2016-09-27 14:24:52 -04: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
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
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
boombuler
d250b9d7b0
allow plugins to have a help file
2016-09-13 09:06:06 +02:00
anatoly techtonik
f4e0a3c0f8
Fix comma and tabs in markdown help
2016-09-11 22:40:02 +03:00
Zachary Yedidia
922baa930d
Add eval command
2016-09-09 15:54:32 -04:00
Andrew Janke
9a09647330
doco: grammar and formatting tweaks
2016-09-09 00:07:58 -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
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
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
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
ea4d822923
Merge pull request #283 from boombuler/autocompleteplugin
...
Autocomplete for plugins
2016-09-05 10:29:51 -04:00
Zachary Yedidia
b905400892
Add default bindings for CtrlHome and CtrlEnd
...
Fixes #280
2016-09-03 13:37:16 -04:00
boombuler
c5ac5be764
updated plugin help
2016-09-02 19:50:19 +02:00
Dave Takahashi
64ff933451
Fix a couple typos in help files
2016-08-31 11:01:30 -07:00
Zachary Yedidia
b70db77c29
Add infobar option to disable the message line
...
Fixes #257
2016-08-31 11:16:22 -04:00
Zachary Yedidia
c661c65c8c
Update help to give quick instructions on quitting and saving
2016-08-30 21:29:41 -04:00
Zachary Yedidia
b6f5db3692
Add QuitAll action to close all splits and tabs at once
...
See #239
2016-08-30 17:38:46 -04:00
Geoffrey Lehée
db520fe9e7
Add missing comma
2016-08-30 17:56:40 +02:00
Zachary Yedidia
afa58a984a
Merge pull request #220 from wayneashleyberry/patch-1
...
Update options.md
2016-08-30 09:47:22 -04:00
Zachary Yedidia
209cdccdc5
Merge pull request #225 from jfchevrette/patch-1
...
Fix typo in tutorial.md
2016-08-30 09:47:09 -04:00
Jean-Francois Chevrette
3e428ff505
Fix typo in tutorial.md
...
small typo
2016-08-30 09:38:49 -04:00
Andrea Manzini
ddc237872c
Update tutorial.md
...
small typo
2016-08-30 10:07:28 +02:00
Wayne Ashley Berry
ee5ac6a582
Update options.md
...
Fixes json syntax and adds syntax highlighting.
2016-08-30 09:35:21 +02:00
Zachary Yedidia
19c7860f14
Update readme
2016-08-29 10:21:34 -04:00
Zachary Yedidia
eda08a994a
Make cursorline on by default
2016-08-29 09:20:48 -04:00
Zachary Yedidia
00e385b871
Add show command to show the value of an option
2016-08-28 21:48:03 -04:00
Zachary Yedidia
90e0a2ec1a
Rename 'default' colorscheme to 'simple'
...
This commit also adds an additional name for zenburn as 'default'
so you can refer to zenburn as 'default' or as 'zenburn'
2016-08-28 13:07:47 -04:00
Zachary Yedidia
da7bc997ff
Update docs and makefile
2016-08-27 22:00:56 -04:00
Zachary Yedidia
19bb9c7d50
Add tutorial help file
2016-08-26 14:38:20 -04:00
Zachary Yedidia
b4e470b6e2
Add support for making buffer local options in settings.json
2016-08-25 20:15:58 -04:00
Zachary Yedidia
e634b4e180
Fix bug with init.lua
2016-08-25 17:29:58 -04:00
Zachary Yedidia
acc03e9707
Update docs and add some comments
2016-08-25 17:24:13 -04:00
Zachary Yedidia
ddeed5e558
Minor update to docs
2016-08-17 14:19:59 -04:00
Zachary Yedidia
d17cc0f628
Add boolean option to actions to disable the lua callback
2016-08-17 14:16:27 -04:00
Zachary Yedidia
41065f0222
Add more docs for plugins and keybindings
2016-08-17 11:59:38 -04:00
Zachary Yedidia
33eb8546b1
Add more documentation
2016-08-17 11:59:37 -04:00
Zachary Yedidia
ce54413894
Add more explanation for colors.md
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
de9567322b
Rebind Home and End to StartOfLine and EndOfLine
...
This commit changes the default keybindings for Home and End. It
also changes the InsertEnter action to InsertNewline (a better name)
although InsertEnter is still valid for backwards compatibility.
Closes #206
2016-08-16 10:55:04 -04:00
Zachary Yedidia
431eb12c96
Add tab command to open a file in a new tab
2016-07-24 16:29:03 -04:00
Zachary Yedidia
8f12c89de1
Add documentation for splits
2016-07-09 11:40:46 -04:00
Zachary Yedidia
91dd06fd9e
Add new colorschemes to runtime
2016-06-23 08:39:26 -04:00
Zachary Yedidia
6665834cca
Add autoclose plugin to handle autoclose for brackets, quotes etc...
...
The plugin adds an option `autoclose` to configure whether or not you
would like quotes, brackets etc... to be automatically closed. The
option is enabled by default.
Closes #176
2016-06-22 13:54:42 -04:00
Zachary Yedidia
2c73e1c043
Add default bindings for PreviousTab and NextTab
2016-06-08 18:48:59 -04:00
Zachary Yedidia
a79e964cb6
Make tabs respond to mouse events
2016-06-08 17:47:48 -04:00
Zachary Yedidia
742370646f
Add cursorline option
2016-06-01 10:05:17 -04:00
Zachary Yedidia
cd6389c49e
Make CursorPageUp and CursorPageDown default
...
This commit also fixes the documentation for PageUp and PageDown.
See #149
2016-05-31 19:45:19 -04:00
Zachary Yedidia
7adcb13c08
Add support for user-created commands
...
Plugins can now create their own commands using the `MakeCommand`
function. Plugins can also now create their own keybindings with the
`BindKey` function. See the go plugin for an example of `MakeCommand`.
2016-05-30 13:38:50 -04:00
Zachary Yedidia
ee9f2a3d9c
Add persistent undo as the option
2016-05-29 11:02:56 -04:00
Zachary Yedidia
a92a7dc4e6
Add savecursor
option
...
This adds the `savecursor` option which will remember where the cursor
was when the file was closed and put it back when the file is opened
again. The option is off by default so that people aren't confused as to
why the cursor isn't at the start of a file when they open it.
This commit also adds a more general ability to serialize a buffer so
various components can be saved (which could also be useful for persistent
undo).
Fixes #107
2016-05-28 17:29:49 -04:00
Zachary Yedidia
e8d8da1443
Refactor and clean up
...
This commit puts in place the ability for multiple views (splits).
This commit also removes the editor bindings so that all bindings can be
rebound by the user.
I also added some more comments
This fixes #109
2016-05-28 11:32:09 -04:00
Zachary Yedidia
6ece5bc41a
Fix tabstospaces problem
2016-05-22 15:47:28 -04:00
Camille Scholtz
116b247439
Add scrollmargin option, rename scrollSpeed to scrollspeed for consistency, make help.md more consistent (replaced some spaces with tabs)
2016-05-20 19:44:16 +02:00
Zachary Yedidia
0673396335
Merge branch 'duplicate' of https://github.com/onodera-punpun/micro into onodera-punpun-duplicate
2016-05-20 09:46:54 -04:00
Camille Scholtz
2d99d0d57a
Forgot a comma there
2016-05-20 00:06:09 +02:00
Camille Scholtz
81e1a6e157
Give shortcuts more message feedback, add duplicate line option ( fixes #124 )
2016-05-20 00:04:53 +02:00
Camille Scholtz
bfbfc50018
Add ignorecase option
2016-05-18 18:44:32 +02:00
Zachary Yedidia
363697a657
Fix capitalization of scrollSpeed option
...
Closes #114
2016-05-17 12:53:46 -04:00
Zachary Yedidia
abddd6eecd
Merge pull request #110 from onodera-punpun/indentchar
...
Add indentation character option(s).
2016-05-17 12:37:47 -04:00
Camille Scholtz
87a0c06197
Add scrollspeed option
2016-05-17 18:15:47 +02:00
Camille Scholtz
93927cf0f5
Rename indent-line to indent-char, change default value from |
to
2016-05-17 18:09:49 +02:00
Camille
9b984b1680
Fix typo
2016-05-17 17:21:47 +02:00
Camille Scholtz
a0d4123731
Add indent character option
2016-05-17 17:17:18 +02:00