| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-05-30 | vis: fix implicit enum conversion warning | Marc André Tanner | 1 | -1/+1 | |
| 2018-05-16 | vis: implement g~ using tr(1) | Marc André Tanner | 1 | -26/+0 | |
| 2018-05-16 | vis: implement gU using tr(1) | Marc André Tanner | 1 | -3/+0 | |
| 2018-05-16 | vis: implement gu using tr(1) | Marc André Tanner | 1 | -3/+0 | |
| 2018-02-28 | vis: improve handling of linewise ranges in change operator | Marc André Tanner | 1 | -2/+6 | |
| 2017-12-21 | vis: do not override default register on delete operations in insert mode | Marc André Tanner | 1 | -0/+8 | |
| Fix #644 | |||||
| 2017-09-15 | vis: remove ! operator | Marc André Tanner | 1 | -8/+0 | |
| Use visual mode and :| to filter text through external commands. The mapping was already reused for selection complement. | |||||
| 2017-06-15 | view: rename view_cursors_new | Marc André Tanner | 1 | -1/+1 | |
| 2017-05-03 | text: remove text_insert_newline function | Marc André Tanner | 1 | -2/+2 | |
| This is no longer needed because we always insert \n never \r\n. | |||||
| 2017-04-19 | vis: restructure register handling | Marc André Tanner | 1 | -5/+5 | |
| Decouple register content from cursors. Previously each cursor had exactly one corresponding register. Now each register can save a list of values whose lifetime is not tied to the cursor. If multiple cursors exist and a put with a register holding only a single value is performed, then this value is inserted at every cursor location. If there are fewer values available than cursors, then only the matching ones will be used. If a register holding multiple values is inserted in a single cursor context, only the first value will be used. Another option would be to join all existing values. The details of this behavior might be changed in the future. <C-r> in insert mode has not yet been adapted and register handling in general needs to be cleaned up further. Fix #527 | |||||
| 2017-04-09 | vis: remove handling of \r\n line endings | Marc André Tanner | 1 | -2/+2 | |
| Use something like dos2unix(1) and unix2dos(1), if you need to edit such files. | |||||
| 2017-03-22 | vis: do not indent empty lines when right shifting with `>` | Marc André Tanner | 1 | -2/+5 | |
| The exception being when the range is a single line. | |||||
| 2017-03-19 | vis: add infrastructure for user specified operators | Marc André Tanner | 1 | -2/+21 | |
| 2017-02-28 | vis: improve cursor positioning after shift operators | Marc André Tanner | 1 | -11/+17 | |
| There are still issues with left shifts starting from characterwise visual mode when the selection boundaries are deleted. For now this is considered a pilot error. Fix #508 | |||||
| 2017-02-22 | vis: simplify `r` implementation and fix cursor positioning | Marc André Tanner | 1 | -1/+1 | |
| 2017-02-01 | vis: insert new line after linewise change commands | Marc André Tanner | 1 | -1/+4 | |
| This should also (at least partially) address the issues raised in #440 and #442. | |||||
| 2017-01-20 | vis: slightly cleanup repeat code, always set dot register | Marc André Tanner | 1 | -1/+1 | |
| 2016-12-22 | text: introduce EMARK to denote an invalid mark | Marc André Tanner | 1 | -2/+2 | |
| Technically this macro name is in the reserved namespace of errno.h. The same is true for EPOS. Maybe we should rename them at some point, but for now the short names are convenient. Fix #443 Close #444 | |||||
| 2016-11-19 | vis: keep track of whether "0 stores line wise data | Marc André Tanner | 1 | -1/+3 | |
| 2016-11-09 | vis: add replace operator VIS_OP_REPLACE | Marc André Tanner | 1 | -0/+21 | |
| Delete the given range and insert the same number of replacement characters. | |||||
| 2016-11-09 | vis: unify VIS_OP_{INSERT,REPLACE} implementation | Marc André Tanner | 1 | -7/+5 | |
| They both perform a motion before changing mode. | |||||
| 2016-10-28 | vis: tweak join behavior | Marc André Tanner | 1 | -15/+9 | |
| We only remove leading but not trailing white space of the lines to be joined. Not completely sure whether that is an improvement, but it matches vim behavior. Do not insert a space when joining empty lines. | |||||
| 2016-10-09 | vis: fix join operator to work on lines ending with white spaces | Marc André Tanner | 1 | -1/+8 | |
| Extend the operator range to cover white spaces to the left of the cursor position on the same line. Close #400 | |||||
| 2016-08-24 | vis: implement gJ like behavior | Marc André Tanner | 1 | -1/+6 | |
| The behavior is not exactly the same because vim preserves any existing white spaces wihle we remove existing ones but do not insert additional ones. The vim behavior (essentially only deleating new lines) can be achived using something like: :x/\n/d Close #374 | |||||
| 2016-08-24 | vis: improve dot (repeat) command implmentation | Marc André Tanner | 1 | -6/+1 | |
| Do not override implicit operator macro in command mode. Fix #334 | |||||
| 2016-04-29 | vis: improve cursor placement after join operator | Marc André Tanner | 1 | -1/+5 | |
| Close #299 | |||||
| 2016-04-27 | vis: adapt charwise put operator to not move across lines | Marc André Tanner | 1 | -1/+2 | |
| This should let `$p` work as before the changes to `$`. | |||||
| 2016-04-13 | Use view_cursors_new_force where appropriate | Marc André Tanner | 1 | -1/+1 | |
| Close #263 | |||||
| 2016-04-09 | vis: make sure linewise put operations insert necessary new lines | Marc André Tanner | 1 | -0/+2 | |
| Given the following text with no trailing new line at the end of line2, where # denotes the cursor position: line1 of text line2 #f text the command yykp should produce line1 of text #ine2 of text line2 of text where previously it would wrongly result in line1 of text #ine1 of textline2 of text | |||||
| 2016-03-28 | view: change cursor creation API to take an initial position | Marc André Tanner | 1 | -9/+6 | |
| 2016-03-12 | register: rename register put related functions | Marc André Tanner | 1 | -3/+3 | |
| 2016-02-21 | vis: only move to start of yanked range if it is not line wise | Marc André Tanner | 1 | -1/+1 | |
| Otherwise this completely breaks the common case of yanking a whole line with yy. This also means that the beavior in visual line mode is different than in vim. Partially reverts ff57c0b8598a60617983ebe25d34c79a9c6bc511. | |||||
| 2016-02-21 | vis: insert missing new line when putting at the end of file | Marc André Tanner | 1 | -0/+3 | |
| Something like ifoo<Escape>yyp should produce foo foo not foofoo as was the case before. | |||||
| 2016-02-18 | vis: move cursor to start of yanked range | Marc André Tanner | 1 | -1/+1 | |
| Close #176 | |||||
| 2016-02-12 | Mark some tables as const | Marc André Tanner | 1 | -2/+2 | |
| This allows them to be placed into the read only ELF section. | |||||
| 2016-02-10 | vis: implement yank register "0 | Marc André Tanner | 1 | -0/+2 | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | 1 | -3/+3 | |
| Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste. | |||||
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | 1 | -2/+5 | |
| 2016-01-19 | vis: improve cursor placement after shift operators | Marc André Tanner | 1 | -3/+10 | |
| 2016-01-14 | vis: s/ops/vis_operators/g | Marc André Tanner | 1 | -3/+3 | |
| 2016-01-14 | vis: move vis_operator(..) to corresponding file | Marc André Tanner | 1 | -0/+63 | |
| 2016-01-14 | vis: inline expand_tab | Marc André Tanner | 1 | -2/+4 | |
| 2015-11-28 | vis: add cmd argument to VIS_OP_FILTER | Marc André Tanner | 1 | -1/+2 | |
| 2015-11-27 | vis: implement filter operator ! | Marc André Tanner | 1 | -0/+6 | |
| It currently works by switching to visual mode and then opening the command prompt with a default range which refers to the currently active selection. | |||||
| 2015-11-17 | vis: put in visual mode should replace the current selection | Marc André Tanner | 1 | -2/+8 | |
| There are some combinations (e.g. line wise selection / character wise register content) which should probably be improved further. Also since vis currently neither supports the numbered registers "0 - "9 nor the small delete register "- the deleted text is not stored in any register. Notice that we can't call op_delete in the implementation because it would overwrite the register content we want to paste. Closes #113 | |||||
| 2015-11-07 | vis: prefix enum VisOperator values with VIS_ | Marc André Tanner | 1 | -40/+27 | |
| 2015-11-07 | vis: move operators to separate file | Marc André Tanner | 1 | -0/+226 | |
