aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-12vis: fix search wrapping bugszsugabubus1-2/+1
1) “$” matches in the middle of the text. visvis ^ - standing here \/ - at first we search forward-\ \_/ - wrap, if nothing found <---/ After wrapping, in the second range “$” will treat end of the range as EOL so “/vis$” will wisely match and moves cursor to the first column. 2) No match after wrapping. vissssss ^^ - standing here or here \\____/ - search this before wrapping ---\ V - search range after wrapping <--/ “/vis” will *not* match (after wrapping), because it crosses ranges. --- So the real solution would be that instead of the end position, the start position of the possible match should be limited because a match can cross the search ranges. To keep things simple, simply search two whole text after wrapping. visvis \____/
2019-07-03build: skip sam related tests on macOS travis infrastructureMarc André Tanner1-1/+1
Apparently plan9port is no longer included in homebrew: https://github.com/Homebrew/homebrew-core/pull/38394
2019-07-03Merge branch 'ft-exact' of https://github.com/michaelforney/visMarc André Tanner1-3/+3
2019-07-03Merge branch 'alpine-3-10' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2019-07-01build: update alpine in docker build to version 3.10Christian Hesse1-1/+1
2019-06-27filetype: Match known filenames exactlyMichael Forney1-3/+3
Otherwise, a file like `passwd.c` will match both ansi_c and dsv. The one that gets chosen depends on the iteration order of table, which is non-deterministic.
2019-03-12build: update lpeg to version 1.0.2Christian Hesse1-2/+2
2019-02-09build: try to fix travis macOS buildMarc André Tanner1-1/+1
2019-02-09Merge branch 'master' of https://github.com/jocap/visMarc André Tanner1-1/+1
2019-02-09Merge branch 'master' of https://github.com/msiism/visMarc André Tanner1-8/+8
2019-02-09Merge branch 'alpine-3-9' of https://github.com/eworm-de/visMarc André Tanner1-1/+1
2019-02-01build: update alpine in docker build to version 3.9Christian Hesse1-1/+1
2018-12-14Improve comma usage and hyphenation in introMichael Siegel1-8/+8
2018-11-17Fix configure on DragonFly BSDMichael Neumann1-1/+1
2018-10-07vis-lua: add file type detection for executable shell scriptsJohn Ankarström1-1/+1
2018-05-30test: updateMarc André Tanner1-6/+8
2018-05-30text: only default to mmap for files larger than 64 MiBMarc André Tanner1-1/+1
2018-05-30vis: add loadmethod optionMarc André Tanner5-1/+32
Valid values are `read`, `mmap` or `auto`.
2018-05-30text: allow to specify how the file content should be loadedMarc André Tanner2-4/+44
2018-05-30sam: always apply | command to existing selectionsMarc André Tanner1-1/+1
2018-05-30sam: normalize selections after command executionMarc André Tanner1-0/+3
As a trivial example if multiple selections exist running a command like :, should merge them.
2018-05-30sam: change nomencalture, use selection where appropriateMarc André Tanner1-16/+16
2018-05-30man: Mark command line arguments with .CmTwoFinger1-2/+2
2018-05-30man: Mark ranges with en-dashesTwoFinger1-8/+8
2018-05-30man: Mark a few parameters with .ArTwoFinger1-66/+78
2018-05-30man: Mark a few literals with .LiTwoFinger1-2/+4
2018-05-30man: Mark a few commands with .IcTwoFinger1-8/+10
2018-05-30man: Add a couple missing .IcTwoFinger1-2/+2
2018-05-30man: Add a missing paragraph separatorTwoFinger1-0/+1
2018-05-30man: Undocument a recently removed featureTwoFinger1-3/+0
2018-05-30man: This tip belongs to the last list itemTwoFinger1-1/+1
2018-05-17vis: make % motion match quotes and backticks as wellJavier Olaechea2-2/+5
Close #703 Fix #670
2018-05-17vis: simplify C status bar drawing codeMarc André Tanner1-11/+7
2018-05-17vis: display count/input queue content in status barMarc André Tanner2-0/+15
Fix #695
2018-05-17vis-lua: expose current input_queue contentMarc André Tanner1-0/+9
2018-05-17Add support for Fantom language syntax highlightingSemyon Maryasin2-0/+108
http://fantom.org/
2018-05-16add plist (xml) filetypeErlend Fagerheim1-1/+1
2018-05-16test: upate to adapt to recent changesMarc André Tanner1-5/+7
2018-05-16vis: make sure zb redraws line at the bottom if possibleMarc André Tanner1-3/+0
Previously it would do nothing if the cursor was already on the last display line. Fix #697
2018-05-16sam: keep selections after :> commandMarc André Tanner1-3/+0
Fix #700
2018-05-16vis: remove v and V in operator pending modeMarc André Tanner6-31/+4
2018-05-16vis: remove gPMarc André Tanner2-7/+0
This only removes the user visible mapping, the underlying implementation is kept for now. It is used in insert mode for the implementation of <C-r> (register insertion).
2018-05-16vis: remove gpMarc André Tanner2-7/+0
This only removes the user visible mapping, the underlying implementation is kept for now. This might change in the future.
2018-05-16vis: implement g~ using tr(1)Marc André Tanner4-36/+2
2018-05-16vis: implement gU using tr(1)Marc André Tanner4-11/+1
2018-05-16vis: implement gu using tr(1)Marc André Tanner4-11/+1
2018-05-16vis: remove gq alias for =Marc André Tanner2-5/+1
2018-05-16text: use mkstemp(3) for temporary file creation in atomic savesMarc André Tanner2-9/+29
Instead of simply appending a tilde to the original file name, we now create an unique temporary file based on the pattern `.filename.vis.XXXXXX`. In case the file does not yet exist, we use 0666 & ~umask as permission, (this should match the previous `open(2)` based behavior).
2018-05-16text: do not unlink existing `file~` when saving to `file`Marc André Tanner1-1/+3
Fail atomic save if temporary file already exists. A follow up commit will use `mkstemp(3)` for temporary file creation.
2018-05-12lexers: handle pony triple quoted strings properlyMurray1-1/+3