| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-03-28 | vis: cleanup usage of vis_cursors_count | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-25 | vis: remove __DATE__ and __TIME__ references to aid with reproducible builds | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-23 | Remove identically replicated copyright comments from source files | Marc André Tanner | 1 | -15/+0 | |
| 2016-03-15 | vis: do properly replay ": and "/ registers | Marc André Tanner | 1 | -0/+7 | |
| This makes @: (and @/) work. | |||||
| 2016-03-15 | vis: slightly cleanup register related code | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-13 | vis: convert gn and gN text objects to use "/ register content | Marc André Tanner | 1 | -3/+0 | |
| 2016-03-12 | vis: overhaul search related code, support "/ register | Marc André Tanner | 1 | -0/+14 | |
| 2016-02-25 | vis: use standard registers for macro recordings | Marc André Tanner | 1 | -11/+13 | |
| Also support upper case register to append to an existing macro. | |||||
| 2016-02-21 | Cleanup new line insertion code | Marc André Tanner | 1 | -10/+1 | |
| 2016-02-18 | Add infrastructure to register custom text object functions | Marc André Tanner | 1 | -2/+5 | |
| 2016-02-18 | Add infrastructure to add custom motion functions | Marc André Tanner | 1 | -0/+3 | |
| A motion function can be registered with vis_motion_register(...) the returned id (if non negative) can then be used as an argument to vis_motion(...) | |||||
| 2016-02-18 | vis: add insfrastructure to support global key mappings | Marc André Tanner | 1 | -0/+12 | |
| Except for insert/replace mode keys get translated before any key bindings are evaluated. This is useful for non-english/latin keyboard layouts. | |||||
| 2016-02-13 | Convert call sites of text_line_char_{get,set} to text_line_width_{get,set} | Marc André Tanner | 1 | -3/+2 | |
| 2016-02-12 | vis: respect window local mappings for child modes | Marc André Tanner | 1 | -16/+10 | |
| Since commit 197ab824206335eab7ceed774ddeccac18fafc09 visual line and replace modes are child modes, hence we also have to consider the window local key bindings of their respective parent modes. For example in replace mode the key lookup chain is now as follows: window local replace mode -> global replace mode -> window local insert mode -> global insert mode This fixes <Enter> behaviour in prompt for replace and visual line modes. | |||||
| 2016-02-12 | Mark some tables as const | Marc André Tanner | 1 | -1/+1 | |
| This allows them to be placed into the read only ELF section. | |||||
| 2016-02-12 | Improve large file support | Marc André Tanner | 1 | -0/+11 | |
| Disable absolute line numbers for large files (currently anything bigger than 32MiB). This speeds up moving around with for example nn% since no new lines need to be calculated. Of course movements like :nn will be unaffected. The optimizations can be disabled by explicitly enabling absolute line numbers as in :set number | |||||
| 2016-02-11 | vis: add support for different kind of text objects | Marc André Tanner | 1 | -3/+10 | |
| Up until now text objects would only ever grow/expand if applied multiple times. The new SPLIT type allows text objects which cover a completely different range when applied with a count. | |||||
| 2016-02-10 | vis: simplify modes implementation | Marc André Tanner | 1 | -0/+2 | |
| Make replace mode a child of insert mode and visual line a child of visual mode. This means any key binding for the former is automatically available in the latter. Also keys can not be unmapped solely from the child modes. | |||||
| 2016-02-07 | vis: export vis_window_closable | Marc André Tanner | 1 | -0/+10 | |
| 2016-01-30 | Implement "A - "Z registers | Marc André Tanner | 1 | -1/+8 | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | 1 | -1/+2 | |
| Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste. | |||||
| 2016-01-30 | Implement blackhole register "_ | Marc André Tanner | 1 | -0/+1 | |
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | 1 | -2/+3 | |
| 2016-01-30 | Improve Lua error reporting | Marc André Tanner | 1 | -2/+5 | |
| Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted. | |||||
| 2016-01-28 | vis: factor out common code to create internal file | Marc André Tanner | 1 | -6/+11 | |
| 2016-01-28 | vis: clean up count handling | Marc André Tanner | 1 | -9/+15 | |
| There are cases where zero can also be a legitimate count. | |||||
| 2016-01-20 | vis: further improve selection restore code | Marc André Tanner | 1 | -0/+6 | |
| This is still not 100% correct for all possible cases, but should work for those currently used by vis e.g. the shift left operator. | |||||
| 2016-01-19 | vis: improve selection restore `gv` | Marc André Tanner | 1 | -0/+11 | |
| 2016-01-14 | vis: use different default register when editing a prompt file | Marc André Tanner | 1 | -3/+3 | |
| 2016-01-14 | vis: move prompt handling to separate file | Marc André Tanner | 1 | -175/+3 | |
| 2016-01-14 | vis: more cleanups | Marc André Tanner | 1 | -4/+0 | |
| 2016-01-14 | vis: s/moves/vis_motions/g | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-14 | vis: s/ops/vis_operators/g | Marc André Tanner | 1 | -6/+6 | |
| 2016-01-14 | vis: move motion releated functions to corresponding file | Marc André Tanner | 1 | -90/+0 | |
| 2016-01-14 | vis: s/VIS_MODE_LAST/VIS_MODE_INVALID/g | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-14 | vis: move vis_operator(..) to corresponding file | Marc André Tanner | 1 | -63/+0 | |
| 2016-01-14 | vis: move text object definitions to separate file | Marc André Tanner | 1 | -37/+1 | |
| 2016-01-14 | vis: inline expand_tab | Marc André Tanner | 1 | -11/+0 | |
| 2016-01-14 | vis: focus correct window when closing prompt | Marc André Tanner | 1 | -21/+29 | |
| 2016-01-13 | Implement command/search prompt history as a regular file | Marc André Tanner | 1 | -65/+176 | |
| 2016-01-13 | ui: make statusbar configurable | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-13 | vis: add infrastructure to support per window key bindings | Marc André Tanner | 1 | -10/+22 | |
| 2016-01-13 | vis: cleanup key binding definitions | Marc André Tanner | 1 | -2/+2 | |
| This removes the tree based mode structures and instead merges all keybindings in flat modes which uses some more memory but will allow (per mode) run-time configurable key bindings. Make sure to update/remove config.h. | |||||
| 2016-01-13 | vis: fix tab expansion if enabled | Marc André Tanner | 1 | -2/+17 | |
| Closes #144 | |||||
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -103/+15 | |
| Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1. | |||||
| 2015-12-20 | vis: fix forceful redraw <C-l> | Marc André Tanner | 1 | -0/+4 | |
| 2015-11-28 | vis: do not switch to normal mode when leaving ? and / prompt | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-28 | view: remove ViewEvent infrastructure | Marc André Tanner | 1 | -14/+2 | |
| The only used event handler was used to update the '< and '> marks which is now taken care of by the leave handler of the visual modes. | |||||
| 2015-11-28 | vis: improve switching to prompt mode | Marc André Tanner | 1 | -5/+5 | |
| A call to vis_prompt_show will now automatically switch to prompt mode. Within the prompt leave/enter handlers the focused window (vis->win) will still point to the document window not the one referring to the prompt. The selection marks '< and '> are now only updated when a visual mode is left. | |||||
| 2015-11-28 | vis: add cmd argument to VIS_OP_FILTER | Marc André Tanner | 1 | -5/+19 | |
