aboutsummaryrefslogtreecommitdiff
path: root/man/vis.1
AgeCommit message (Collapse)AuthorFilesLines
2017-02-05vis: set $vis_file{name,path} environment variables for external commandsMarc André Tanner1-0/+6
2017-02-02add /etc/vis to lua path for system-wide configuration by administratorChristian Hesse1-1/+7
2017-01-27vis-digraph: add utility to handle digraphsjosuah1-0/+1
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é Tanner1-1/+24
<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é Tanner1-6/+0
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é Tanner1-2/+11
& 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é Tanner1-0/+13
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é Tanner1-0/+3
This is akin to sam where dot is set to the result of a command.
2017-01-12sam: implement parallel grouping behaviorMarc André Tanner1-2/+10
2016-12-17vis: allow boolean :set options to be toggledMarc André Tanner1-0/+3
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é Tanner1-0/+13
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`.
2016-12-13man: avoid standard directives which are undefined for some groff versionsMarc André Tanner1-2/+2
This fixes a warning when displaying the manual page on macOS systems.
2016-12-09man: fix mistakesMarc André Tanner1-6/+13
2016-12-08Move manual pages to man/ subfolderMarc André Tanner1-0/+1259