Ryan Westlund
c2d7b62e8f
Fix #2190 : Document goto command in commands.md ( #2218 )
2021-09-24 14:40:11 -07:00
Dmitry Maluka
87ad6fc0bb
plugins.md: update link to the internal documentation ( #2191 )
...
godoc.org now redirects to pkg.go.dev and it's not obvious how to locate
the internal packages documentation at https://pkg.go.dev/github.com/zyedidia/micro
2021-08-18 15:35:49 -04:00
Zachary Yedidia
e290ce2de5
Fixes for syntax and docs
...
Fixes #2163
Ref #2173
2021-08-03 00:07:14 -04:00
Andrey Nering
c7fd4ba5f1
Document that "bubblegum" is a light theme ( #2153 )
2021-08-02 21:13:05 -04:00
Rylee
160a81c572
Add alcritty and foot to the list of OSC 52 supporting terminals ( #2154 )
2021-07-13 23:37:48 -04:00
Kethan
4b0db74770
Fix typo in tutorial.md ( #2130 )
2021-06-12 23:52:08 -04:00
Dmitry Maluka
965e43ebf1
Implement word wrapping
...
Fixes #264
Fixes #1644
2021-04-08 23:54:10 +02:00
Dmitry Maluka
c5798b5b8c
Fix softwrap scrolling issues ( #1981 )
...
Softwrap implementation enhanced to fix various issues with scrolling,
centering, relocating etc.
The main idea is simple: work not with simple line numbers but
with (Line, Row) pairs, where Line is a line number in the buffer
and Row is a visual line (a row) number within this line.
The logic remains mostly the same, but simple arithmetic operations
on line numbers are replaced with corresponding operations on
(Line, Row) pairs.
Fixes #632 , #1657
2021-04-07 16:18:51 -04:00
Zachary Yedidia
c3a17a71be
Rename to incsearch
2021-01-27 13:49:38 -05:00
Saeed Rasooli
dd37ad5ce4
add settings option "findontype" to allow disabling search-on-type
2021-01-04 10:30:47 +03:30
Dmitry Maluka
83b3efc9de
Document undocumented colorscheme groups ( #1939 )
2020-12-20 00:35:57 -05:00
Alekhine51
3fb5a7053f
Added a sentence to colors.md clarifying that the truecolor environment variable has to be created by the user. ( #1928 )
2020-12-08 22:43:37 -05:00
Carlos Henrique Guardão Gandarez
7a5f7e443a
Make more libraries available ( #1917 )
...
* Make more libraries available to plugin dvelopment
* Add Unzip function to util
2020-11-21 01:46:17 -05:00
Zachary Yedidia
19067a9bf0
Enable ignorecase by default
...
Closes #1908
2020-11-05 15:39:05 -05:00
Marduk Bolaños
225b24f356
Fixed help topic name ( #1876 )
...
The help topic is called `commands` not `command`
2020-10-06 16:55:47 -04:00
Zachary Yedidia
530041ac70
Fix typo
...
Closes #1869
2020-09-23 21:54:25 -04:00
Zachary Yedidia
ad16f1756b
Remove test option
...
Fix #1857
2020-09-14 00:05:35 -04:00
Zachary Yedidia
5044ccf6bb
Update keybinding docs
...
Also updates the pane type of `info` to `command` which is a more
descriptive name.
2020-09-06 17:38:23 -04:00
Bartek Pacia
3ba03cca15
fix spelling ( #1828 )
2020-08-17 13:04:44 -04:00
Zachary Yedidia
c837a7d0b7
Ref #1819
2020-08-10 20:34:10 -04:00
Zachary Yedidia
781a2dd826
Add flake8 linter, postinit and preinit
...
Closes #1768
2020-07-13 13:28:26 -04:00
Zachary Yedidia
aeb5563df0
Update runtime
2020-07-04 20:06:37 -04:00
Zachary Yedidia
f143418267
Add support for copy-paste via OSC 52
...
Ref #1754
2020-07-04 20:00:39 -04:00
Utkarsh Gupta
b748d0c383
Drop unnecessary Ftoa and FtoaWithDigits function ( #1751 )
...
Fixes : #1749
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
2020-06-30 13:19:27 -04:00
Zachary Yedidia
60846f549c
Update plugin documentation
2020-06-24 17:24:45 -04:00
Zachary Yedidia
a8332fd316
Improve backup system
...
This commit introduces several improvements to the backup system.
* Backups are made every 8 seconds for buffers that have been modified
since the last backup.
* The `permbackup` option allows users to specify that backups should
be kept permanently.
* `The backupdir` option allows users to store backups in a custom
directory.
Fixes #1641
Fixes #1536
Ref #1539 (removes possibility of race condition for backups)
2020-06-22 17:54:56 -04:00
Zachary Yedidia
a584ff36de
Merge
2020-06-17 23:14:03 -04:00
Zachary Yedidia
f5405cee18
Improve keybinding label consistency
...
The old notation (for example `CtrlG`) causes confusion when combined
with new notation needed for alt (`Alt-g`) due to Alt being case
sensitive. Previously both formats were supported, but the documentation
and defaults used a combination. This commit only uses the new notation
for consistency.
Ref #1470
2020-06-17 23:11:50 -04:00
Matthias
c19dce87e4
Fix typo in defaultkeys ( #1730 )
2020-06-17 13:35:59 -04:00
Zachary Yedidia
fde4b92b9f
More consistent key labels in docs
2020-06-12 14:41:57 -04:00
Zachary Yedidia
b8ec7b320a
Add note for macOS terminals in docs
2020-06-12 14:20:26 -04:00
Zachary Yedidia
466889f540
Fix fileformat for newly created files
...
Fixes #1575
2020-06-06 15:56:13 -04:00
Zachary Yedidia
eeab114ed5
Add parsecursor option for file:line:col syntax
...
This option is disabled by default, and when enabled causes micro
to parse `:line:col` as a location for the cursor rather than
as part of the filename.
Closes #1650
Closes #1685
2020-05-29 14:55:24 -04:00
Colin Hughes
00edf0207f
Added hybrid line numbers ( #1690 )
...
* Added hybrid line numbers
* Changed rulerhybrid to relativeruler, modified documentation accordingly.
* Reverted go.mod and go.sum
I don't know how they got changed but they are good now.
Co-authored-by: Colin Hughes <semilin@pop-os.localdomain>
2020-05-28 22:24:09 -04:00
Zachary Yedidia
bfe68b1626
Allow divider customization with divchars option
...
Adds the `divchars` and `divreverse` options to customize divider
styles.
2020-05-21 14:35:54 -04:00
Zachary Yedidia
d7ab44253f
Update tcell and support italics in colorschemes
...
Closes #1640
2020-05-17 12:48:34 -04:00
Zachary Yedidia
0a6720498f
Merge branch 'master' of https://github.com/zyedidia/micro
2020-05-17 12:23:21 -04:00
Zachary Yedidia
c46257222c
Add support for FindLiteral
...
Use the FindLiteral action to use Find without regex support.
Fixes #1661
2020-05-17 12:22:33 -04:00
Jeff Warner
d0f7ecf9ca
Adds command "tabmove ±n", for better tab management ( #1636 )
...
* Adds command "tabmove ±n", for better tab management
* Added tabmove to help:commands
* Replace uses of util.Min, util.Max with util.Clamp
Browsing code and discovered `util.Clamp`, ideal for this section of my code
* oops, missed an arg
* Typo, again
2020-05-14 21:51:49 -04:00
Jeff Warner
5d3e4fc3d9
Adds CopyLine action, the new default action for CtrlC if cursor has no selection
2020-04-29 21:06:54 -07:00
Ján Jančár
f0da73bae2
Add StartOfTextToggle and SelectToStartOfTextToggle actions. ( #1612 )
...
These actions reintroduce the behavior of micro where the Home key
toggles between the start of text (first) and the start of the line.
The same applies for the variant with selection. This commit also
sets these bindings as the defaults.
2020-04-10 17:21:02 -04:00
Ján Jančár
052a36b896
Fix docs regarding "Home" key and "StartOfText" and "StartOfLine". ( #1611 )
2020-04-07 12:58:30 -04:00
Zachary Yedidia
d78fe81e21
line_array insert for eofnewline and make default
...
Makes the `eofnewline` option enabled by default.
Fixes #1525
2020-02-24 22:31:05 -05:00
Zachary Yedidia
dff8b33e9c
Apply basename option in tabbar as well
2020-02-24 13:48:37 -05:00
Zachary Yedidia
087e7207f7
Add 'xterm' option
...
Ref #1489
2020-02-15 12:53:17 -05:00
Zachary Yedidia
600d8558b2
Change some default option values
2020-02-13 20:51:56 -05:00
Tonus1
8348cc8ec2
Add transparency ( #1509 )
2020-02-13 18:15:32 -05:00
Zachary Yedidia
a7ce85d6f6
Make default plugin options more explicit
...
Ref #1305
2020-02-12 15:34:13 -05:00
Zachary Yedidia
5519f053ac
Merge branch 'autosu' of https://github.com/seitokaichou/micro into seitokaichou-autosu
2020-02-12 14:15:30 -05:00
Zachary Yedidia
12c286f9b1
Introduce IndentLine action
...
Closes #1476
2020-02-12 13:30:24 -05:00
Zachary Yedidia
bf1258578c
Expose OpenLogBuf to plugins
2020-02-12 12:35:40 -05:00
Zachary Yedidia
4f628bf30b
Remove incorrect plugin documentation
2020-02-12 00:22:32 -05:00
Zachary Yedidia
e1e310a96e
Document all options
2020-02-10 15:07:00 -05:00
Kyle Barron
d65285ee54
Update documentation to include Material colorscheme ( #1279 )
2020-02-10 14:53:27 -05:00
Zachary Yedidia
ecb9fd5a8a
Change diffgutter default to false
2020-02-10 00:30:13 -05:00
Zachary Yedidia
bdf9e6d3a4
Merge branch 'diff-gutter' of https://github.com/p-e-w/micro
2020-02-10 00:28:43 -05:00
Zachary Yedidia
ce91e41e5a
Update third party licenses
2020-02-09 00:03:03 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Philipp Emanuel Weidmann
de33eac058
Add diff gutter
2020-02-08 13:26:24 +05:30
Zachary Yedidia
674258787e
Add Mac special cases
2020-02-07 20:16:59 -05:00
Zachary Yedidia
2354412922
Add mac keybinds
2020-02-07 20:14:35 -05:00
Zachary Yedidia
3ac30343b8
Merge branch 'fix_defaultkeys_help' of https://github.com/neutralinsomniac/micro into neutralinsomniac-fix_defaultkeys_help
2020-02-07 20:09:44 -05:00
Zachary Yedidia
98ddb62af4
Update docs
2020-02-07 19:41:11 -05:00
Zachary Yedidia
106ba48079
Add some docs for linter, comment, status
2020-02-07 11:32:12 -05:00
Zachary Yedidia
f5e1f93ee5
Update docs
2020-02-06 19:26:27 -05:00
Jeremy O'Brien
abcdeb01e9
Fix defaultkeys help doc to match reality
2020-01-31 13:10:11 -05:00
Zachary Yedidia
d965e8de4f
Fix copy-paste error in docs
2020-01-26 21:39:10 -05:00
Zachary Yedidia
1dc1c65565
Update tutorial docs
2020-01-21 20:37:51 -05:00
Zachary Yedidia
b3e40a2644
Make debug mode flag, plugins can access logbuf
2020-01-15 22:25:08 -05:00
Zachary Yedidia
f3e8413e77
More doc updates
2020-01-06 00:01:49 -05:00
Zachary Yedidia
f2a1e2337f
Update tcell to include true color fix
...
Fixes #1452
2020-01-05 21:26:53 -05:00
Zachary Yedidia
afb03aa37f
Small doc update
2020-01-05 13:21:46 -05:00
Zachary Yedidia
0c6a7e2837
Update options docs and new docs on copy-paste
2020-01-03 13:39:39 -05:00
Zachary Yedidia
2855ae204c
Replace shellwords with shellquote
2020-01-02 18:30:51 -05:00
Zachary Yedidia
50ff45c213
Some documentation updates
2020-01-02 15:10:28 -05:00
Zachary Yedidia
3777bcf295
Merge pull request #1386 from jncraton/docfix
...
Minor grammar fix addressing #1377
2019-12-30 14:28:46 -05:00
Zachary Yedidia
8570ff9a8c
Remove autosave option
...
With the new backup option, the autosave option is no longer useful.
Since it never really worked well in the first place, it has been
removed.
Closes #1420
2019-12-26 14:35:48 -05:00
Zachary Yedidia
e66d01e989
Some documentation
2019-12-25 19:37:51 -05:00
Zachary Yedidia
c4d5d7c195
Better backup behavior
2019-12-25 17:05:11 -05:00
Zachary Yedidia
aa66435353
Better plugin docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
b41fc10b8f
Update some docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
d1e713ce08
Add better matchbrace
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c0293b5d0e
Add autosave option
2019-12-25 17:05:11 -05:00
Zachary Yedidia
809b95d290
Add reset command and statusline format string options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
0f4f60c018
Update docs
2019-12-25 17:05:10 -05:00
Jon Craton
e87917f1e1
Minor grammar fix addressing #1377
2019-09-13 11:07:11 -04:00
prez
aae0f4630e
Added option to automatically save files with sucmd
2019-09-11 15:38:15 +02:00
Isaac Andrade
e9337da43f
Separate keys with + sign for consistency
...
Some textual changes (without changing formatting) were made to table header lines.
This is a tiny and almost inconsequential change to improve readability.
2019-07-31 12:48:51 -06:00
Dull Bananas
beea8d42d5
Add detail
2019-05-29 21:17:56 -07:00
Michael Brune
f68149489e
Added an s to command(s)
...
Adding an S seems more intuitive here. The command you are being asked to run there completes to:
`help commands`
not `help command` as one might expect.
Although maybe help aliases might also be something to consider?
2018-09-24 13:12:01 -07:00
supbish
905e984f29
Add "smartpaste" option; fixes #1156
2018-08-17 22:37:19 -04:00
JT Olio
ae9bb763fb
a few miscellaneous fixes and improvements ( #1105 )
...
* add binding for more primitive backspace
* support selecting page up and page down
* fix matchbraceleft for braces that start on x=0
* fix multiline copy-paste indenting
let's say you have two lines like
<space><space>line1
<space><space>line2
so you start from cursor x=0 and select both lines, then paste.
we don't want any leading whitespace in this case, because the
cursor is already at x=0 and the selection already includes
whitespace.
2018-05-12 21:31:57 -04:00
Zachary Yedidia
b7706d775c
Add docs for SpawnMultiCursorSelect
2018-03-30 16:42:28 -04:00
dwwmmn
ac0b89366b
Implement SpawnMultiCursorSelect ( #1046 )
...
Add function to actions.go which adds a new cursor to the beginning of each line of a selection. Bind to Ctrl-M by default.
2018-03-30 16:40:45 -04:00
Zachary Yedidia
f43a1b5ced
Merge pull request #1054 from jtolds/master
...
allow optional brace matching with the closing brace to the left of the cursor
2018-03-19 00:32:26 -04:00
JT Olds
ea6a87d41a
allow optionally brace matching with the closing brace to the left of the cursor
...
this behavior, while slightly less obvious, allows for observing what brace you
just closed. as you write closing braces, the brace you closed gets highlighted
2018-02-27 18:53:04 -07:00
Emily Aviva Kapor-Mater
69ed07cc62
Move setting instructions to top; add some minor organization
2018-02-20 12:11:31 -08:00
Zachary Yedidia
4790c39dfc
Open at line syntax with filename:line:col
...
Ref #1010
Ref #887
Ref #836
2018-02-02 13:57:30 -05:00
Zachary Yedidia
36dc6647dd
Add new shell command documentation
...
Ref #979
2018-01-22 21:03:52 -05:00
Zachary Yedidia
4f41881c10
Make onViewOpen and onBufferOpen the same
...
Ref #948
2018-01-22 15:27:56 -05:00
Joshua Li
d7ba2f600e
implemented select line as an Action
2018-01-16 17:27:15 -05:00
Zachary Yedidia
3f01101da4
Add onBufferOpen plugin callback
...
Closes #948
2018-01-08 17:08:11 -05:00
Zachary Yedidia
8bff7f00d0
Change docs to use true/false instead of on/off
...
Closes #976
2018-01-08 15:21:32 -05:00
Zachary Yedidia
957273fc92
Add railscast colorscheme
...
From https://github.com/pbsds/micro-railscast-theme
2018-01-07 21:02:24 -05:00
Zachary Yedidia
fc2566a0de
Add JumpToMatchingBrace action
...
This commit adds the JumpToMatchingBrace action which lets the cursor
jump to a matching brace if it is on one.
Closes #853
2018-01-07 16:17:22 -05:00
Zachary Yedidia
8b60e4f3b1
Update colorscheme list in docs
...
Closes #956
2018-01-02 22:46:24 -05:00
Zachary Yedidia
c32f5a4859
Add basename option
...
Closes #903
2018-01-02 22:25:55 -05:00
Zachary Yedidia
a4ae7a1e11
More command binding
...
Now can bind editable commands with `command-edit:`
Ref #974
2018-01-02 15:15:28 -05:00
Zachary Yedidia
9da1ef178e
Add support for setting local settings via filetype
2017-12-03 23:38:09 -05:00
Bastien Traverse
5138ae2436
Fix typo in tutorial.md ( #940 )
...
Delete extraneous "plugins" word in line 12.
2017-12-03 15:16:50 -05:00
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