aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-01Python lexer: recognize python3's async/await keywordsСемён Марьясин1-0/+1
2017-11-21vis-lua: implement window:closeMarc André Tanner1-0/+28
2017-11-21vis-lua: do not enumerate internal windowsMarc André Tanner1-5/+8
This for example skips the command prompt window.
2017-11-20Update erlang syntax lexer.Emil Falk1-39/+20
2017-11-04vis: take symbolic keys into account when evaluating key prefixesMarc André Tanner1-6/+32
Previously `ci<` would have no immediate effect because in operator pending mode `i<` was wrongly treated as a powwible prefix of `i<Tab>`. Fix #624
2017-10-30man: remove outdated key mappingMarc André Tanner1-3/+0
Fix #622
2017-10-30lexer: associate *.conf to the ini lexerMarc André Tanner1-1/+1
2017-10-30lexer: fix file type association for xs lexerMarc André Tanner1-1/+1
2017-10-01Add `xs` lexer and mappings.David B. Lamkins2-1/+79
2017-09-15man: fix typos and grammar issuesMarc André Tanner1-7/+5
2017-09-15lexers: fix white space issue of recent php lexer changesMarc André Tanner1-40/+40
2017-09-15vis: restore old s mapping in visual modeMarc André Tanner1-0/+1
This should have been part of 4715eb3178d62f3527ae2c24092bf0c109bb570b.
2017-09-15vis: remove ! operatorMarc André Tanner5-41/+2
Use visual mode and :| to filter text through external commands. The mapping was already reused for selection complement.
2017-09-15Merge branch 'master' of https://github.com/ltobler/visMarc André Tanner1-2/+2
2017-09-14Reassign .cls file extension to latexLukas Tobler1-2/+2
Both VB and LaTex use .cls file extensions. It should be a much more reasonable default to assume LaTex syntax.
2017-09-13vis.1: Surround with quotes link-name arguments of .LkJavier Olaechea1-5/+5
As noted on mdoc(7), in groff "Lk only accepts a single link-name argument; the remainder is misformatted. The quotes makes groff treat the title as a single argument.
2017-07-27vis: ignore SIGQUITMarc André Tanner1-2/+2
Pressing Ctrl+\ should probably not terminate the editor. In previous versions libtermkey would disable signal generation by disabling termios VQUIT. However, curses probably overrides it when they both fight for terminal settings. This should probably be cleaned up at some point. Ignoring SIGQUIT seems like a good idea anyway.
2017-07-26- added php constantsSamuel1-0/+25
2017-07-26- updated php keywordsSamuel1-12/+20
2017-07-24lexers: add copyright statement to strace lexerMarc André Tanner1-0/+1
2017-07-23build: add git based version information backMarc André Tanner1-1/+1
2017-07-23build: set version to 0.4Marc André Tanner1-1/+1
2017-07-23vis: use strncpy to copy into fixed sized bufferMarc André Tanner1-1/+1
In practice this was never an issue also it is guaranteed that the terminating zero byte is already there. Fixes coverity issue 157023.
2017-07-23vis: only draw selections of currently active windowMarc André Tanner1-2/+3
This should make it easier to see which window is focused.
2017-07-23vis-lua: move marks array to window objectMarc André Tanner1-27/+29
Some marks (only '^ right now) are window specific while others have file file scope. This distinction is currently hidden in the API. Before this commit file.marks[...] would always operate on the currently active window.
2017-07-17vis: specify window in mark related APIMarc André Tanner5-16/+24
This should also fix coverity issue 157024.
2017-07-17vis: fix coverity issue 157025Marc André Tanner1-2/+4
The static analyzer can currently not infere that there always exists at least one selection.
2017-07-14man: update manual page with recent developmentsMarc André Tanner1-89/+143
2017-07-14vis: restore s / S normal mode bindingsMarc André Tanner1-0/+2
They were removed in 78d6ae87398bb90aa6067b0747934d55961e1efb to make room for the selection manipulation primitives. But by now we use `m` and `M` to save/restore selections. I still think these mappings are rather useless and they might well disappear again in the future. See also #593
2017-07-14vis: remove useless mappings which interfere with jumplistMarc André Tanner1-2/+0
2017-07-14vis: use distinct mark to save last selectionsMarc André Tanner4-4/+18
This partially reverts f9e2b884c15919757651db8b10c033a344a19e75 further jumps after leaving visual mode should not break `gv`.
2017-07-14vis: always reduce selections when not in visual modeMarc André Tanner2-13/+15
For now we only allow singleton selections in normal mode, this might change in the future.
2017-07-14vis-lua: make selection first class primitives in Lua APIMarc André Tanner12-119/+146
2017-07-11vis: handle further input after mark and register specifiersMarc André Tanner1-10/+15
This fixes #531 in a more robust way. The key handling functions should be able to handle additional input passed to them as is for example the case when processing the `gv` mapping.
2017-07-11Revert "vis: process aliased key sequences individually"Marc André Tanner1-12/+2
This reverts commit 54ca598fcccff8844bfbe494cd3b325b2fea487f. The key handling functions are called too often. This for example causes problems for `r` (replace char) in combination with :langmap.
2017-07-11vis: cleanup register related APIMarc André Tanner4-33/+77
Also expose all register slots through the Lua API.
2017-07-11vis-lua: represent marks as array of rangesMarc André Tanner1-21/+34
2017-07-10test: updateMarc André Tanner1-5/+5
2017-07-10vis: remove change listMarc André Tanner4-63/+0
This was completely broken since 71eab6d5d72145f17ab3d4c87945ac12176ae8e9 and even before never really worked as one would expect. If anything it should be implemented like the jump list using marks.
2017-07-10vis: let '^ mark point to top of jump listMarc André Tanner5-25/+10
2017-07-10vis: implement jump list in terms of marksMarc André Tanner11-177/+185
2017-07-10array: add helper functions for LIFO usageMarc André Tanner2-0/+39
2017-07-10vis: simplify and fix pairwise selection intersectionMarc André Tanner1-1/+1
2017-07-10vis: simplify selection complement and minus implementationMarc André Tanner1-5/+3
2017-07-10vis: rename default mark to 'Marc André Tanner1-1/+1
2017-07-09Add Myrddin lexer and filetypes entryMichael Forney2-0/+75
2017-07-08test: updateMarc André Tanner1-7/+5
2017-07-08vis: perform more renames cursor -> selectionMarc André Tanner3-158/+160
To fix compilation you need to update (or remove) config.h.
2017-07-08view: keep but clear primary selection if instructed to replace allMarc André Tanner1-1/+4
Previously the last selection was kept implicitly to statisfy the invariant that at least one selection needs to exist.
2017-07-08vis: cleanup marks implementationMarc André Tanner9-208/+161
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.