summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-14vis: allow mapping of <Space>Marc André Tanner
One should generally use <Space> in mappings: :map! normal <Space> h except for insert/replace mode where a literal space has to be used: :map! insert " " foo
2016-04-14vis: add #defines to ease overriding of utility namesMarc André Tanner
This should ease packaging for systems with an existing vis(1) binary.
2016-04-14Merge branch 'package-smgl' of https://github.com/vaygr/visMarc André Tanner
2016-04-13vis: stop repeated motions as soon as resulting position remains the sameMarc André Tanner
This improves responsiveness of {count}j for files with less than count lines. For huge files this will still be slow because the code tries to restore cursor position on every line before moving on to the next. Also moving up will generally be slower than downwards. Use {count}% (fastest) or or :count (slower) instead. Close #267
2016-04-13sam: improve ^ matching start of lineMarc André Tanner
There are some nasty differences between the meaning of ^ in Plan 9's regexp library and POSIX when using REG_NEWLINE. The former only matches at the beginning of a line wheras the latter matches the zero-length string immediately after a newline character \n. As a result this also matches after the very last newline at the end of the file. This is undesired behavior for a command like :x/^/c/#/ Hence we try to filter out this last match. Close #264
2016-04-13Use view_cursors_new_force where appropriateMarc André Tanner
Close #263
2016-04-13view: add view_cursors_new_force functionMarc André Tanner
To create a cursor even if there already exists one at the same position. Should only be used if all but one of the cursors will later be removed.
2016-04-13vis: make = operator an alias for gq, both currently use fmt(1)Marc André Tanner
2016-04-13text-motion: simplify implementation of [{, ]}, [( and ]) motionsMarc André Tanner
2016-04-12Add "[(" and "])" motions for jumping to a parenthese pair's start/endRob Pilling
2016-04-12Add "[{" and "]}" motions to jump to a block's start/endRob Pilling
2016-04-12Merge branch 'fixups' of https://github.com/tycho/visMarc André Tanner
2016-04-12README.md: add coverity scan build status badgeMarc André Tanner
2016-04-11added link to new SMGL package for visVlad Glagolev
2016-04-11text-motions: fix misspelled function name "is_word_boundry"Steven Noonan
Should be "is_word_boundary" Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-04-11sam.c: fix some typos in commentSteven Noonan
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-04-11README.md: add travis-ci build status badgeSteven Noonan
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2016-04-11Update developer overview section in READMEMarc André Tanner
2016-04-11build: also probe for lua as lua-{5.2,5.3}Marc André Tanner
This should let configure pick up the lua libraries on FreeBSD 10.
2016-04-11main.c: correct name of function, cursor>windowJosh Wainwright
"open-file-under-cursor-new-cursor" should be "open-file-under-cursor-new-window"
2016-04-10Merge branch 'master' of https://github.com/erig0/visMarc André Tanner
2016-04-09README.md: Add pkgsrc to the distribution packages listEric Garver
2016-04-09[README] unmap requires <mode>Josh Wainwright
2016-04-09vis: make j an inclusive motionMarc André Tanner
Given the following text with no trailing new line at the end of line2, where # denotes the cursor position: #ine1 of text line2 of text the command yjp should produce line1 of text #ine1 of text line2 of text line2 of text where previously it would wrongly result in line1 of text #ine1 of text line2 of text
2016-04-09vis: make sure linewise put operations insert necessary new linesMarc André Tanner
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-04-09Merge branch 'patch-3' of https://github.com/larryhynes/visMarc André Tanner
2016-04-08Add more detail on configuring to README.mdlarryhynes
2016-04-08Merge branch 'patch-4' of https://github.com/larryhynes/visMarc André Tanner
2016-04-08Add map example to visrc.lualarryhynes
2016-04-08Add section on visrc.lua to README.mdlarryhynes
2016-04-08Add '.markdown' suffix for markdown syntax highlighting.larryhynes
2016-04-08sam: change default address of < and | commandsMarc André Tanner
If no address is provided these commands no longer apply to the whole line, but instead will insert the output of the external program at the current cursor location.
2016-04-08vis: let :e recreate a window at the same location as the old oneMarc André Tanner
Close #224
2016-04-08vis: cleanup window focusing codeMarc André Tanner
2016-04-08vis: indicate primary cursor number in status barMarc André Tanner
If there exist multiple cursors, [n/m] is added to the status bar. Meaning the n-th cursor out of the existing m cursors is currently the primary one.
2016-04-08vis: make ZZ work for unnamed but unmodified bufferMarc André Tanner
Close #236
2016-04-08Mention a few more distribution packages in READMEMarc André Tanner
2016-04-07Update README.mdLawrence Luo
I'm quite sure that was meant to be CSV, Comma Separated Value file format
2016-04-07lexer: update to scintillua-3.6.4-2Marc André Tanner
2016-04-07lexer: remove hard coded color specification from lexersMarc André Tanner
The variable syntax used by scintillua %(color.red) intended to make colors configurable is currently not supported. Close #229
2016-04-07Make explicit the space keybinding on help.Joshua Haase
2016-04-07Commands and movements on alphabetic order.Joshua Haase
2016-04-07Sort keybinding alphabetically.Joshua Haase
This makes easy both: - to find out what a key does, and - to discover new key movements. Also improves documentation when using `:help` command.
2016-04-06vis: fix vi filter operators ! and =Marc André Tanner
2016-04-06text-object: fixup last commit, add accidentally missed hunkMarc André Tanner
2016-04-06vis: make af and if text objects more robustMarc André Tanner
It still assumes that a function is terminated by the "\n}" seqeuence and uses the same code as the % motion for matching curly braces. Hence this won't work for functions containing an unbalanced number of { or } symbols (e.g. due to comments or strings etc). Also due to the way text objects are implemented in general the inner variant will only work properly if the cursor is located somewhere within the function. Otherwise it will include everything from the current cursor position up to the end of the function body.
2016-04-06text-motion: restore old text_{line_,}find_prev behaviorMarc André Tanner
This partially reversts the "Fix to/till movements" commit 0d4093c3371079c5f75055338f0341f684542465 The pos += len hunk was interfering with other code which does not want this behavior. The original issue should be fixed directly within the to/till movements.
2016-04-06sam: include limits.h for PATH_MAXMarc André Tanner
Close #220
2016-04-05vis: remove left over from :sam commandMarc André Tanner
2016-04-05vis: fix coverity scan warningsMarc André Tanner