| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-05-26 | vis: use normalized absolute file names as internal representation | Marc André Tanner | 1 | -0/+3 | |
| Try to display a shorthand version in the status bar, this currently only works for files below the current working directory of the editor process. | |||||
| 2016-05-22 | vis-lua: do not report errors recursively | Marc André Tanner | 1 | -0/+1 | |
| Displaying an error might create a new window which in turn can trigger new events (all other windows are resized+redrawn) which might again cause errors. There is still no sane way to exit the editor in this case, but at least the error messages should be readable. | |||||
| 2016-05-22 | vis: consider :set horizon setting when syntax highlighting | Marc André Tanner | 1 | -0/+1 | |
| 2016-05-22 | vis: move syntax highlighting to pure Lua code | Marc André Tanner | 1 | -0/+3 | |
| 2016-05-10 | Revert "vis: clean up interaction between vis and ui" | Marc André Tanner | 1 | -2/+0 | |
| This caused issues on OpenBSD where it crashed the terminal. Also on Mac OS X suspend via ^Z (Ctrl-Z) was missing a \r i.e. the shell prompt was not properly redrawn. While in principle user interfaces should not have to depend on libtermkey, in practice this won't be an issue unless we are adding a non-terminal based UI (which won't happen anytime soon). This reverts commit 8f92b98848f9366e78c7aa824615bade83971513. Close #311 | |||||
| 2016-05-04 | vis: clean up interaction between vis and ui | Marc André Tanner | 1 | -0/+2 | |
| A concrete user interface implementation should not have to depend on libtermkey. Therefore the vis core now uses an independent instance to parse keys. | |||||
| 2016-05-04 | vis: make j and k a linewise inclusive motion | Marc André Tanner | 1 | -2/+3 | |
| They behave like an inclusive motion, but only if they are also linewise (which they are by default). This should make `yjp` and `ykp` yank both the current and the next/previous line when the cursor is at the start of a line. See also 532f52e9e52b98dc5749396f7353295418e0227a and #237 | |||||
| 2016-05-01 | vis: further cleanup input handling, introduce vis_keys_feed API | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-21 | vis: add infrastructure to register custom :-commands | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-18 | vis: use internal file to show lua errors | Marc André Tanner | 1 | -0/+1 | |
| This means no event handlers are run for it, hence there is no chance for recursive errors. | |||||
| 2016-04-05 | vis: remove left over from :sam command | Marc André Tanner | 1 | -1/+0 | |
| 2016-04-03 | sam: add infrastructure to support multi letter commands | Marc André Tanner | 1 | -0/+1 | |
| 2016-03-13 | vis: convert gn and gN text objects to use "/ register content | Marc André Tanner | 1 | -1/+0 | |
| 2016-02-25 | vis: use standard registers for macro recordings | Marc André Tanner | 1 | -2/+1 | |
| Also support upper case register to append to an existing macro. | |||||
| 2016-02-18 | Add infrastructure to register custom text object functions | Marc André Tanner | 1 | -0/+3 | |
| 2016-02-18 | Add infrastructure to add custom motion functions | Marc André Tanner | 1 | -0/+4 | |
| 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/+1 | |
| 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-12 | vis: respect window local mappings for child modes | Marc André Tanner | 1 | -0/+1 | |
| 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 | -3/+3 | |
| This allows them to be placed into the read only ELF section. | |||||
| 2016-02-11 | vis: add support for different kind of text objects | Marc André Tanner | 1 | -4/+6 | |
| 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-01-30 | Cleanup register implementation | Marc André Tanner | 1 | -0/+1 | |
| 2016-01-30 | Improve Lua error reporting | Marc André Tanner | 1 | -0/+1 | |
| 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-27 | vis: remove unused struct Mode member 'is_user' | Marc André Tanner | 1 | -1/+0 | |
| 2016-01-14 | vis: move prompt handling to separate file | Marc André Tanner | 1 | -0/+1 | |
| 2016-01-14 | vis: more cleanups | Marc André Tanner | 1 | -3/+1 | |
| 2016-01-14 | vis: s/moves/vis_motions/g | Marc André Tanner | 1 | -4/+1 | |
| 2016-01-14 | vis: s/ops/vis_operators/g | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-14 | vis: s/VIS_MODE_LAST/VIS_MODE_INVALID/g | Marc André Tanner | 1 | -2/+2 | |
| 2016-01-14 | vis: move text object definitions to separate file | Marc André Tanner | 1 | -1/+2 | |
| 2016-01-13 | Implement command/search prompt history as a regular file | Marc André Tanner | 1 | -3/+7 | |
| 2016-01-13 | vis: add infrastructure to support per window key bindings | Marc André Tanner | 1 | -0/+1 | |
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -0/+1 | |
| 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-26 | Initialize enum values to the public API ones | Silvan Jegen | 1 | -2/+2 | |
| 2015-11-28 | view: remove ViewEvent infrastructure | Marc André Tanner | 1 | -1/+0 | |
| 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-08 | Remove trailing white space from source files | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | vis: experimental support for lua/lpeg based syntax highlighting | Marc André Tanner | 1 | -0/+1 | |
| The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path | |||||
| 2015-11-08 | vis: remove regex based syntax highlighting | Marc André Tanner | 1 | -1/+0 | |
| 2015-11-08 | vis: more comments and cleanups | Marc André Tanner | 1 | -61/+66 | |
| 2015-11-07 | vis: prefix enum VisMotion values with VIS_ | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-07 | vis: prefix enum VisOperator values with VIS_ | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-07 | vis: API documentation and cleanup | Marc André Tanner | 1 | -1/+2 | |
| 2015-11-07 | vis: introduce vis_cancel API | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-07 | vis: move modes into separate file | Marc André Tanner | 1 | -0/+5 | |
| 2015-11-07 | vis: move operators to separate file | Marc André Tanner | 1 | -0/+7 | |
| 2015-11-07 | vis: move motions to separate file | Marc André Tanner | 1 | -0/+2 | |
| 2015-11-07 | vis: move :-commands into their own file | Marc André Tanner | 1 | -0/+161 | |
