aboutsummaryrefslogtreecommitdiff
path: root/vis-registers.c
AgeCommit message (Collapse)AuthorFilesLines
2023-07-18Add fullscreen param to vis_pipe_collect() and Lua API vis:pipe()Jörg Bakker1-2/+2
This enables restoring the terminal from a fullscreen command like curses based program. Use cases are e.g. a file picker based on some external program like nnn (https://github.com/jarun/nnn).
2020-09-17vis: provide reverse mapping function for register namesMarc André Tanner1-3/+20
2020-07-17support for primary clipboardJeremy Bobbin1-6/+17
2017-07-11vis: cleanup register related APIMarc André Tanner1-11/+27
Also expose all register slots through the Lua API.
2017-07-08vis: cleanup marks implementationMarc André Tanner1-53/+0
We now use ' to refer to marks. Mark a is set using 'am and restored using 'aM while this is slightly harder to type than ma and 'a it is consistent with register usage for yank/put and allows a default mark to be used which is handy for quick selection manipulation primitives.
2017-07-07vis: use marks instead of registers to store selectionsMarc André Tanner1-12/+27
The key binding remain the same, but the selections are now stored on a per-buffer basis.
2017-07-04vis: implement `gv` by means of new "^ registerMarc André Tanner1-0/+3
This window local register holds the last active selections.
2017-06-15vis: add function to query which register was specifiedMarc André Tanner1-0/+6
2017-06-15vis: add basic infrastructure to store selections in registersMarc André Tanner1-0/+35
2017-06-15vis: rename uses of Cursor to SelectionMarc André Tanner1-1/+1
2017-06-15view: rename view_cursors_countMarc André Tanner1-1/+1
2017-04-23vis: fix # register countMarc André Tanner1-1/+3
Previously the # register was always reported as containing only one entry. This wrongly caused the first value to be put at all locations. Fix #544
2017-04-20vis: add # register to insert cursor numberMarc André Tanner1-0/+11
2017-04-20vis: start cleaning up register related codeMarc André Tanner1-0/+249
Now that register.h is no longer used by view.h we can move the struct and function declarations to vis-core.h.