aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-10-10vis: add vis-selection-new-match-allEvan Gates3-10/+32
Add new vis-selection-new-match-all command, default keybinding <C-a> in visual mode. Refactor selections_next_match to find all matches if arg.b is true. This does not affect existing configs as arg.b defaults to false.
2020-10-10vis: refactor selections_match_nextEvan Gates1-35/+8
A lot of code from selections_match_next was duplicated in selections_match_next_literal. Use the new text_object_find_next/prev functions to combine the two match_next functions into one.
2020-10-10text: add text_object_find_next/prevEvan Gates2-0/+17
Add two new text-object functions to search forwards/backwards for a string literal (not a regex) with the same signature as text_object_word_find_next/prev. This allows them to be used interchangeably with the word based variant through function pointers.
2020-10-06filetype: and Node.js module extensionsBen Hormann1-1/+1
Node.js uses .mjs and .cjs extensions, both are regular javascript.
2020-09-20test: updateMarc André Tanner1-5/+9
2020-09-20Merge branch 'ts' of https://github.com/erf/vis into masterMarc André Tanner1-1/+1
2020-09-20Merge branch 'emg-add-ignorecase' of https://github.com/deepcube/vis into masterMarc André Tanner6-2/+16
2020-09-20Merge branch 'routeros' of https://github.com/eworm-de/vis into masterMarc André Tanner2-0/+122
2020-09-20Merge branch 'filetype' of https://github.com/eworm-de/vis into masterMarc André Tanner1-1/+2
2020-09-20Merge branch 'csi_event' of https://github.com/ezdiy/vis into masterMarc André Tanner7-0/+42
2020-09-19lexers: add .ts as a javascript (until typescript gets its own)Erlend Fagerheim1-1/+1
2020-09-19Add ignorecase optionEvan Gates6-2/+16
Add a global ignorecase boolean option. When set add REG_ICASE to cflags when calling text_regex_compile().
2020-09-18lexers: add Mikrotik RouterOS script lexerChristian Hesse2-0/+122
Add a lexer for Mikrotik RouterOS scripts. https://wiki.mikrotik.com/wiki/Manual:Scripting
2020-09-17filetype: do not match text/plain too earlyChristian Hesse1-1/+2
This covers other detection, so make sure to match it in last resort only.
2020-09-17filetype: use scheme lexer for racket filesMarc André Tanner1-1/+1
Close #868
2020-09-17text: improve text_line_down on the last line of the fileMarc André Tanner1-0/+2
Fix #873
2020-09-17vis-lua: provide vis.mark propertyMarc André Tanner1-0/+17
2020-09-17vis-lua: use utility function to translate mark namesMarc André Tanner1-9/+7
2020-09-17vis: provide reverse mapping function for mark namesMarc André Tanner2-1/+12
2020-09-17vis-lua: provide vis.register propertyMarc André Tanner1-0/+17
2020-09-17vis-lua: use utility function to translate register namesMarc André Tanner1-9/+7
2020-09-17vis: provide reverse mapping function for register namesMarc André Tanner2-4/+22
2020-09-17vis-lua: fix mark_names Lua doc indentationMarc André Tanner1-3/+3
2020-09-17Pass up terminal CSI as events to Lua.Ez Diy7-0/+42
2020-08-31text: improve and simplify inner word text objectMarc André Tanner1-21/+14
Previously words ending in special symbols would wrongly be included in range.
2020-08-29vis: improve C-n behavior in visual modeMarc André Tanner1-3/+9
Determine the matching behavior based on the first (not primary) selection. Fix #864
2020-08-29vis: implement C-n in normal mode with a mapping to viwMarc André Tanner2-21/+1
2020-08-29text: make inner text objects work on single delimiting symbolsMarc André Tanner1-4/+10
See #864
2020-08-29text: provide save function taking a directory descriptorMarc André Tanner3-12/+44
The standard does not specify mkstempat(3). We currently implement it in a non thread safe manner, by temporarily changing the process working directory before invoking mkstemp(3).
2020-08-29text: provide load function taking a directory descriptorMarc André Tanner2-1/+11
2020-08-29text: move misplaced text_save documentation snippetMarc André Tanner1-4/+4
2020-08-14vis-lua: fix redraw method name in API documentationMarc André Tanner1-1/+1
2020-08-14vis-lua: make file.modified assignableMarc André Tanner1-1/+22
We fake a modification by doing an insertion followed by a deletion which does not actually change the buffer content. Close #855
2020-08-01doc: update doxygen configurationMarc André Tanner1-80/+157
This was performed by executing: doxygen -u
2020-08-01Update copyright yearMarc André Tanner3-3/+3
2020-08-01doc: update version number in doxygen configMarc André Tanner1-1/+1
Not sure whether that is actually used somewhere.
2020-08-01doc: use c as default sphinx roleMarc André Tanner1-1/+1
This might fix the documentation build issue on readthedocs.org.
2020-08-01doc: enable C syntax highlighting by defaultMarc André Tanner1-0/+3
2020-08-01doc: fix a couple of API doc warningsMarc André Tanner4-28/+28
In restructured text double backquotes are used for inline literals.
2020-08-01vis: remove ae outer entire text objectMarc André Tanner5-14/+0
Use :, which is a short hand for :0,$ instead.
2020-08-01vis: remove ie inner entire text objectMarc André Tanner7-29/+0
2020-08-01vis: remove z> rightmost pairwise selection combinatorMarc André Tanner3-47/+0
2020-08-01vis: remove z< leftmost pairwise selection combinatorMarc André Tanner3-18/+0
2020-08-01vis: remove z- shorter pairwise selection combinatorMarc André Tanner3-20/+0
2020-08-01vis: remove z+ longer pairwise selection combinatorMarc André Tanner3-20/+0
2020-08-01vis: remove z& pairwise selection intersectionMarc André Tanner3-16/+0
2020-08-01vis: remove z| pairwise unionMarc André Tanner3-18/+0
2020-08-01vis: remove commented entries from default configMarc André Tanner1-2/+0
2020-08-01vis: use ~ instead of ! for selection complementMarc André Tanner2-2/+2
This seems more consistent with the typical set/bit operations.
2020-08-01vis: remove ~ as alias for g~Marc André Tanner2-4/+3