aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)AuthorFilesLines
2015-04-11Eliminate global state for repetition of last modificationMarc André Tanner1-4/+4
2015-04-07Show cursor in visual modeMarc André Tanner1-0/+2
2015-04-07Add basic Lua syntax highlighting supportMarcel Rodrigues1-0/+45
2015-04-05Introduce new struct VisTextMarc André Tanner1-4/+4
This adds yet another layer of indirection and stores vi related stuff which is associated with a given text but shared among all windows displaying it (e.g. marks). This will also help if one wants to keep texts arround which aren't currently displayed.
2015-04-03Preliminary user interface separationMarc André Tanner1-22/+0
In theory only ui-curses.[hc] should depend on curses, however in practice keyboard input is still handled in vis.c. Furthermore the syntax definitions as well as keyboard bindings and selection code in window.c still depends on some curses constants. There is also a slight regression in that the window status bar does not show the current mode name. This and related global state should be eliminated in the future.
2015-04-03Fixed multiline comment regexp.noname1-4/+4
Comments like "/***/" with odd number of asterisks are handled like normal comments now. Previously they were handled like unfinished comments.
2015-03-31Add hack to make CTRL-w CTRL-h workMarc André Tanner1-1/+2
2015-03-30Add additional key mappings for window switchingOdin Dutton1-0/+4
2015-03-24Implement 'o' in visual mode: go to other end of selection.Marcel Rodrigues1-0/+1
2015-03-20Add additional key mappings for window switchingMarc André Tanner1-0/+3
This closes #35 and closes #36.
2015-03-18Cleanup :-command implementationMarc André Tanner1-18/+22
Everything that is a unique prefix should now be allowed for a given command.
2015-02-06Delete key in visual mode should delete selectionMarc André Tanner1-0/+1
This might or might not work depending on terminfo entries etc.
2015-01-18Fix :saveas command definitionMarc André Tanner1-1/+1
2015-01-17Introduce basic PHP syntax highlighting supportJörg Alberto1-0/+43
2015-01-14Remove nano like frontend for nowMarc André Tanner1-71/+0
If time permits I still want to experiment with different editing paradigms and write a proper nano/sandy/sam frontend but at the moment it is just bitrotting and not very useful.
2015-01-14Accept unique prefixes as :commandsMarc André Tanner1-17/+17
The proper way to do this would be to use a trie, however the ugly regexes do the trick for now.
2015-01-13Make J also join lines spanning multiple screen linesMarc André Tanner1-1/+1
2015-01-13Change default line up/down movements to match vimMarc André Tanner1-8/+12
2015-01-12Change ledger syntax regex to work with BSD regexPhilip Linde1-5/+5
2015-01-11Print prettier status bar when given no file nameMarc André Tanner1-1/+2
2015-01-11Merge branch 'ledger-syntax' of https://github.com/clehner/visMarc André Tanner1-1/+42
2015-01-10Add syntax rules for Ledger journalsCharles Lehner1-0/+41
2015-01-09Add rudimentary markdown syntax supportjvoisin1-0/+31
The spec is here: http://daringfireball.net/projects/markdown/syntax Currently, it doesn't support Setext headers and hard-wrapped quotes.
2015-01-06Rudimentary change list (accessible via g; and g,)Marc André Tanner1-0/+2
2015-01-06Change :open to create a new window if no argument is givenMarc André Tanner1-1/+1
Use it for the creation of a new window without changing the layout as split and vsplit do. Map it to CTRL+w n.
2015-01-06Add default settings for editor startupMarc André Tanner1-0/+5
2015-01-06Support per file type settingsMarc André Tanner1-0/+5
This adds yet another layer of indirection. exec_cmdline_command should take a const char pointer and not modify its argument.
2015-01-06Fix some compiler warningsMarc André Tanner1-2/+3
2015-01-04Simplify jump to line :nnnMarc André Tanner1-1/+0
As a side effect this also allows to jump to marks via :'m
2015-01-04Change window_cursor_getxy APIMarc André Tanner1-3/+2
2015-01-03Add the :x(it)? commandMatthias Braun1-0/+1
2015-01-03Fix :quit regexMatthias Braun1-1/+1
2015-01-03Fix size_t specifiers in format stringsMatthias Braun1-1/+1
2015-01-03Add python syntax supportMatias Linares1-0/+39
2015-01-02Make last insertion/replacement repeatable with '.'Marc André Tanner1-0/+16
2015-01-02Rip out insertion repeating infrastructureMarc André Tanner1-3/+0
2015-01-01Add rudimentary support for jump list (CTRL+{O,I})Marc André Tanner1-0/+2
2014-12-23Distinct between inner and outer word text objectsMarc André Tanner1-4/+4
2014-12-18Macro supportMarc André Tanner1-3/+8
At some point this should be optimized further at the moment there is some 20 byte overhead for each entered key.
2014-11-10Improve syntax highlighting of C style comments ending in **/Marc André Tanner1-1/+1
Based on a patch from Augusto Born de Oliveira and ideas from http://ostermiller.org/findcomment.html
2014-10-25Fix mode switching bugsMarc André Tanner1-3/+13
2014-10-24Make command prompt available in visual modesMarc André Tanner1-3/+4
2014-10-19<End> goes past end in insert modeStephen Paul Weber1-0/+1
Just like in vim
2014-10-19Toggle case operatorStephen Paul Weber1-0/+1
In vim, :set tildeop to get this behaviour
2014-10-17Make editor usable as a filter: echo foo | vis - | catMarc André Tanner1-1/+1
The terminal output is by default redirected to stderr, making stdout available for communications purposes. If a file is "opened" from stdin (i.e. vis is given '-' as argument) and a subsequent write without a filename is performed as in ":wq" the output is written to stdout.
2014-10-07Add syntax rules for HaskellStephen Paul Weber1-4/+64
2014-09-30Improve some syntax highlighting rulesMarc André Tanner1-4/+4
2014-09-30Make text objects available in visual modeMarc André Tanner1-16/+27
2014-09-30Clean up visual mode handlingMarc André Tanner1-4/+6
2014-09-30Unbreak 'J' in normal modeMarc André Tanner1-1/+1