summaryrefslogtreecommitdiff
path: root/man/vis.1
AgeCommit message (Collapse)Author
2020-02-24lua: add `redrawtime` optionGeorgi Kirilov
Upper bound lexing time and cancel highlighting if it is exceeded.
2020-02-12sam: support optional count for text commandsMarc André Tanner
The text given for the a, i and c commands can be prefixed with an optional count indicating how often the text should be inserted, defaults to 1.
2020-01-30man: fix mandoc linting warningsMarc André Tanner
These are reported by: mandoc -T lint
2020-01-30man: fix skipping empty macro warningsMarc André Tanner
2020-01-30man: fix mandoc warnings as reported by make manMarc André Tanner
2020-01-28vis: support an optional exit status in :q and :qall commandsMarc André Tanner
This can for example be used to abort git commit messages with :q! 1.
2020-01-23man: remove redundant layout option abbreviationKarl Schultheisz
2020-01-22add layout option to manpageKarl Schultheisz
2018-05-30vis: add loadmethod optionMarc André Tanner
Valid values are `read`, `mmap` or `auto`.
2018-05-30man: Mark command line arguments with .CmTwoFinger
2018-05-30man: Mark ranges with en-dashesTwoFinger
2018-05-30man: Mark a few parameters with .ArTwoFinger
2018-05-30man: Mark a few literals with .LiTwoFinger
2018-05-30man: Mark a few commands with .IcTwoFinger
2018-05-30man: Add a couple missing .IcTwoFinger
2018-05-30man: Add a missing paragraph separatorTwoFinger
2018-05-30man: Undocument a recently removed featureTwoFinger
2018-05-30man: This tip belongs to the last list itemTwoFinger
2018-05-17vis: make % motion match quotes and backticks as wellJavier Olaechea
Close #703 Fix #670
2018-05-16vis: remove gq alias for =Marc André Tanner
2018-03-26man: fix POSIX vi(1) referenceMarc André Tanner
Fix #687
2018-02-19man: add a note about the visrc.lua structure to vis.1Peter Nagy
As seen in #669 I didn't *get it* one needs to have a special stub in `visrc.lua` for everything to work properly. Putting at least a few words in the man page might help some others like me in the future :) Close #671
2017-12-21Add a key combo example of mark usageJavier Olaechea
2017-10-30man: remove outdated key mappingMarc André Tanner
Fix #622
2017-09-15man: fix typos and grammar issuesMarc André Tanner
2017-09-13vis.1: Surround with quotes link-name arguments of .LkJavier Olaechea
As noted on mdoc(7), in groff "Lk only accepts a single link-name argument; the remainder is misformatted. The quotes makes groff treat the title as a single argument.
2017-07-14man: update manual page with recent developmentsMarc André Tanner
2017-06-27man: Fix a typoTwoFinger
2017-06-04Add option to hide EOF markerPhilipp Emanuel Weidmann
2017-05-17man: mention regex anchor behaviorMarc André Tanner
In vis ^ and $ always match the beginning / end of the range which they are applied to. This differs from sam where they only match at the beginning / end of a line. Close #554
2017-05-15man: mention `o` to change selection directionMarc André Tanner
2017-04-20vis: add # register to insert cursor numberMarc André Tanner
2017-04-12man: document new count specifier for `g` and `v` commandsMarc André Tanner
A few examples: :x g1 selects the first line :x g-1 selects the last line :x g-3, selects the last three lines :x g2,4 selects lines 2, 3 and 4 :x g,5 selects all lines up and including the fifth :x g6, selects all lines starting from the sixth :x g%2 selects all even lines :x v%2 selects all odd lines
2017-04-06Fix formatting in man pageTwoFinger
2017-04-02Fix Debian package lintian warningsMarc André Tanner
https://mentors.debian.net/package/vis
2017-03-17man: fix last mandoc linting warningMarc André Tanner
2017-03-16man/vis.1: semantic macros, homogenize formatJosuah Demangeon⠠⠵
vis.1: added modes description
2017-03-02vis: remove :bdelete commandMarc André Tanner
It does not really fit into the style of the rest of the command language. Eventually we should be able to express this kind of thing using a looping construct based on the `X` and `Y` commands.
2017-02-15vis: remove motion and text objects related to C functionsMarc André Tanner
These do not really belong into the editor core. If desired they could be implemented in Lua instead.
2017-02-05vis: set $vis_file{name,path} environment variables for external commandsMarc André Tanner
2017-02-02add /etc/vis to lua path for system-wide configuration by administratorChristian Hesse
2017-01-27vis-digraph: add utility to handle digraphsjosuah
Hook it up via Lua to <C-k> in insert and replace mode. Close #460 #475
2017-01-14vis-prompt: make it easier to enter multi line commandsMarc André Tanner
<Enter> now searches for lines starting with command delimiters to find the command boundaries. To actually enter a literal new line use <Ctrl-v><Enter> in insert mode or `o` / `O` in normal mode. Also remove the special <Backspace> mapping, does not seem esential use <Escape> to close the prompt window.
2017-01-13sam: remove s (substitute) command use x (extract) and c (change) insteadMarc André Tanner
They are roughly equivalent, instead of s/pattern/replacement/ to replace the first occurrence of pattern you can specify an address to the change command: /pattern/ c/replacement/ the only difference being that the first command is restricted to the current line. -+x/pattern/ c/replacement/ also restrictes matches to the current line, but performs the substitution on the whole line not only the first match. Currently it is not possible to only replace the n-th match as `s2/pattern/replacement/` would do in sam(1). A possible alternative syntax generalizing this concepts and applying it to the `x` and `g` commands will be investigated in the future. Global substitution as in %s/pattern/replacement/g can be performed using x/pattern/ c/replacement/
2017-01-13sam: allow input text to refer to search registersMarc André Tanner
& refers to the most recent complete match and \1 - \9 refer to the last sub-expression matches.
2017-01-13vis: introduce registers 0-9 and & to capture search matchesMarc André Tanner
These are currently only updated for `x` and `y` sam commands, whether they should be updated for other search related activities (`/`, `?`, `n`, `N`, `*`, `#` etc.) needs to be investigated.
2017-01-13sam: create new selections for changed rangesMarc André Tanner
This is akin to sam where dot is set to the result of a command.
2017-01-12sam: implement parallel grouping behaviorMarc André Tanner
2016-12-17vis: allow boolean :set options to be toggledMarc André Tanner
Boolean options can be toggled by appending `!` to the option name. Close #435
2016-12-14vis: add new :set savemethod auto|atomic|inplace optionMarc André Tanner
Specifies how the current file should be saved, `atomic` which uses rename(2) to atomically replace the file, `inplace` which truncates the file and then rewrites it or `auto` which tries the former before falling back to the latter. The rename method fails for symlinks, hardlinks, in case of insufficient directory permissions or when either the file owner, group, POSIX ACL or SELinux labels can not be restored. The option defaults to `auto`.