| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-07-11 | vis: cleanup register related API | Marc André Tanner | 1 | -7/+14 | |
| Also expose all register slots through the Lua API. | |||||
| 2017-07-10 | vis: implement jump list in terms of marks | Marc André Tanner | 1 | -3/+6 | |
| 2017-07-08 | vis: cleanup marks implementation | Marc André Tanner | 1 | -26/+27 | |
| 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-07 | vis: use marks instead of registers to store selections | Marc André Tanner | 1 | -2/+2 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-07-04 | vis: implement `gv` by means of new "^ register | Marc André Tanner | 1 | -0/+1 | |
| This window local register holds the last active selections. | |||||
| 2017-06-15 | vis: implement pairwise selection combinator: union | Marc André Tanner | 1 | -0/+1 | |
| 2017-06-15 | vis: add function to query which register was specified | Marc André Tanner | 1 | -0/+1 | |
| 2017-06-15 | vis: add basic infrastructure to store selections in registers | Marc André Tanner | 1 | -0/+18 | |
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 1 | -1/+1 | |
| 2017-05-27 | vis: remove unused enumeration constants | Marc André Tanner | 1 | -2/+0 | |
| 2017-05-06 | vis: add vis_interrupt{,requested} functions | Marc André Tanner | 1 | -0/+12 | |
| 2017-05-06 | vis: add doxygen comments | Marc André Tanner | 1 | -167/+531 | |
| Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run. | |||||
| 2017-05-03 | vis: introduce count iterator to handle interrupted flag | Marc André Tanner | 1 | -0/+10 | |
| 2017-04-20 | vis: add # register to insert cursor number | Marc André Tanner | 1 | -0/+1 | |
| 2017-04-20 | vis: start cleaning up register related code | Marc André Tanner | 1 | -0/+3 | |
| Now that register.h is no longer used by view.h we can move the struct and function declarations to vis-core.h. | |||||
| 2017-04-18 | vis: rename vis_register_set to vis_register | Marc André Tanner | 1 | -1/+1 | |
| 2017-04-09 | vis: remove handling of \r\n line endings | Marc André Tanner | 1 | -2/+1 | |
| Use something like dos2unix(1) and unix2dos(1), if you need to edit such files. | |||||
| 2017-04-04 | vis: add motions to move by codepoints | Marc André Tanner | 1 | -0/+2 | |
| Some people might prefer this for <Backspace> behavior. Except for that and debugging purposes using `ga` and `g8` it is not yet that useful. | |||||
| 2017-03-31 | vis: add non-default actions for vi compatible n/N motions | Marc André Tanner | 1 | -0/+2 | |
| The following key mappings should result in the vi behavior: :map! normal n <vis-motion-search-repeat> :map! normal N <vis-motion-search-repeat-reverse> The default remains unchanged, that is `n` (`N`) always searches towards the end (start) of the file. Fix #470 | |||||
| 2017-03-31 | vis: rename search related constants | Marc André Tanner | 1 | -2/+2 | |
| 2017-03-22 | vis: fix syntax highlighting glitches with split windows | Marc André Tanner | 1 | -0/+1 | |
| When a file was being displayed in multiple windows and changes were performed to the one showing the preceding file region, the syntax highlighting of the window showing the later parts would get messed up. | |||||
| 2017-03-21 | vis: make `cw` and `cW` more vim compatible | Marc André Tanner | 1 | -0/+2 | |
| If the starting position is: * on a space or tab use the `w` motion * on the last letter of a word use `l` or `e` depending on whether a count was given. This also applies for single letter words. * otherwise use the `e` motion As in vim `cw` and `dw` behave differently, whether that is desirable remains to be seen. Might fix #521 | |||||
| 2017-03-19 | vis: add infrastructure for user specified operators | Marc André Tanner | 1 | -0/+5 | |
| 2017-03-19 | Move :set horizon option implementaiton to lua | Marc André Tanner | 1 | -1/+1 | |
| 2017-03-19 | Move :set theme option implementation to lua | Marc André Tanner | 1 | -2/+0 | |
| 2017-03-19 | Move :set syntax option implementation to lua | Marc André Tanner | 1 | -4/+0 | |
| It is no longer possible to change the used syntax by assigning to the `win.syntax = name` field, instead the function win:set_syntax(name)` should be called. The distinction between filetype and syntax lexer to use should probably be clarified/cleaned up at some point. | |||||
| 2017-03-19 | vis: add infrastructure to dynamically add :set options | Marc André Tanner | 1 | -0/+15 | |
| 2017-03-14 | Restructure display code | Marc André Tanner | 1 | -0/+2 | |
| Use pull instead of push based model for display code. Previously view.c was calling into the ui frontend code, with the new scheme this switches around: the necessary data is fetched by the ui as necessary. The UI independent display code is moved out of view.c/ui-curses.c into vis.c. The cell styles are now directly embedded into the Cell struct. New UI styles are introduced for: - status bar (focused / non-focused) - info message - window separator - EOF symbol You will have to update your color themes. The terminal output code is further abstracted into a generic ui-terminal.c part which keeps track of the whole in-memory cell matrix and #includes ui-terminal-curses.c for the actual terminal output. This architecture currently assumes that there are no overlapping windows. It will also allow non-curses based terminal user interfaces. | |||||
| 2017-03-07 | vis: remove now unused #define | Marc André Tanner | 1 | -6/+0 | |
| 2017-03-05 | vis: add file argument to vis_pipe_collect | Marc André Tanner | 1 | -1/+1 | |
| 2017-02-24 | vis: make help texts optional to produce a smaller binary | Marc André Tanner | 1 | -1/+15 | |
| $ ./configure --disable-help shrinks the binary by about 20K on a x86_64 system. | |||||
| 2017-02-10 | vis: introduce vis_keys_utf8 | Marc André Tanner | 1 | -0/+4 | |
| 2017-02-05 | vis: add file argument to vis_pipe | Marc André Tanner | 1 | -1/+1 | |
| 2017-01-28 | vis: keep track of most recently processed keys of input queue | Marc André Tanner | 1 | -0/+3 | |
| Currently the key handling functions do not know through which mapping they were invoked. As an example the `count` handler exploits the implementation detail that the input queue is stored in contiguous memory, meaning `keys[-1]` gives access to the digit being pressed. This adds infrastructure to keep track of the two most recently processed keys of the input queue. The information is guaranteed to be accurate for the initial invocation of the key handler but will be overwritten in case new keys are pushed to the input queue (e.g. through vis_keys_feed). | |||||
| 2017-01-20 | vis: slightly cleanup repeat code, always set dot register | Marc André Tanner | 1 | -1/+1 | |
| 2017-01-18 | vis: do not take undo snaphots while replaying a macro | Marc André Tanner | 1 | -0/+3 | |
| The vis_keys_feed function is currently unaffected by this change. It still creates individual undo points. While this is probably undesirable from an API point of view, it keeps the lua based tests that use undo points working. | |||||
| 2017-01-13 | vis: introduce registers 0-9 and & to capture search matches | Marc André Tanner | 1 | -0/+10 | |
| 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-10 | vis: add register description to :help output | Marc André Tanner | 1 | -10/+10 | |
| 2017-01-10 | vis: add valid marks to :help output | Marc André Tanner | 1 | -2/+2 | |
| 2017-01-06 | vis: simplify mode lookup for :map and :unmap | Marc André Tanner | 1 | -0/+1 | |
| 2016-12-31 | vis: allow user registered :-commands to specify a help text | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-31 | vis: typedef function type not pointer to function | Marc André Tanner | 1 | -2/+2 | |
| 2016-12-29 | vis: cleanup key action lifetime management | Marc André Tanner | 1 | -6/+11 | |
| 2016-12-27 | vis: properly free dynamic key bindings | Marc André Tanner | 1 | -0/+3 | |
| The handling of :unmap needs to be revisited at some point. | |||||
| 2016-12-23 | Apply format string attribute to printf style functions | Marc André Tanner | 1 | -2/+2 | |
| Not strictly C99 conform, but widely supported and easy enough to NOP for compilers which do not support it. Besides it was already used to mark certain functions as noreturn. | |||||
| 2016-12-21 | vis: implement `gh` and `gl` to move by relative byte offsets | Marc André Tanner | 1 | -0/+2 | |
| 2016-12-21 | vis: implement `go` to move to absolute byte position | Marc André Tanner | 1 | -0/+1 | |
| 2016-12-20 | vis: improve literal insertion via <C-v> in insert mode | Marc André Tanner | 1 | -0/+2 | |
| 2016-12-19 | vis: introduce vis_register_from utility function | Marc André Tanner | 1 | -0/+1 | |
| 2016-12-09 | vis-lua: expose input key event in insert and replace modes | Marc André Tanner | 1 | -0/+2 | |
