summaryrefslogtreecommitdiff
path: root/vis.c
AgeCommit message (Collapse)Author
2014-09-22Make syntax highlighting run time configurableMarc André Tanner
:set syntax name
2014-09-19Remove some TODO itemsMarc André Tanner
2014-09-19Support files with Windows style newlines \r\nMarc André Tanner
2014-09-19Windows style newlines are actually \r\n not \n\rMarc André Tanner
This is fiddely stuff, hopefully it doesn't break too much
2014-09-19Implement expand tab functionality, make tabwidth configurableMarc André Tanner
If expandtab is enabled then inserted tabs are replaced by tabwidth amount of spaces. Both settings apply to all windows files and can be changed via: :set tabwidth n # where 1 <= n <= 8 :set expandtab (1|yes|true)|(0|no|false)
2014-09-18Fix :0 on command prompt to move to begin of fileMarc André Tanner
2014-09-18Cleanup handling of action.countMarc André Tanner
If no multiplier is given action.count is zero. This fixes 1G vs G.
2014-09-18Ignore tab key in command prompt for nowMarc André Tanner
2014-09-18Display error messages when loading a file failsMarc André Tanner
2014-09-18Clean up window splitting APIMarc André Tanner
2014-09-17Implement left shift operatorMarc André Tanner
2014-09-17Implement right shift operatorMarc André Tanner
2014-09-16This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCEChristian Hesse
warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE
2014-09-16Fix compilation on OpenBSDGregor Best
Signed-off-by: Gregor Best <gbe@unobtanium.de>
2014-09-16Implement CTRL-{U,D,E,Y} in normal modeMarc André Tanner
2014-09-14Display current mode in window statusbarMarc André Tanner
For now just display the modes which start with '-'. I want to keep the descriptive names of the other modes available for debugging purposes.
2014-09-13Rename OP_PASTE to OP_PUTMarc André Tanner
2014-09-13Introduce some helper functions dealing with FilerangeMarc André Tanner
2014-09-13Rename text_insert_raw to text_insertMarc André Tanner
2014-09-13Introduce and use EPOS instead of (size_t)-1Marc André Tanner
2014-09-13Fix 'G' movement to end of fileMarc André Tanner
action.count is 1 by default. notice that this breaks 1G which should move to the first line / start of file.
2014-09-13Add movements 'H', 'M', 'L'Marc André Tanner
H moves to the n-th window line from top M moves to the middle window line L moves to the n-th window line from bottom
2014-09-13In normal mode 'r' should also replace new linesMarc André Tanner
2014-09-12Display a few error messages where appropriateMarc André Tanner
2014-09-12Add a global keypress hook before any keybindings are checkedMarc André Tanner
If the registered function returns false, completely ignore the key.
2014-09-12Rename text_filename to text_filename_getMarc André Tanner
2014-09-12Restore cursor position after an undo/redoMarc André Tanner
2014-09-11Be stricter on what commands to accept at the ':'- promptMarc André Tanner
2014-09-11Add :edit commandMarc André Tanner
2014-09-11Remove Ctrl+c for quit, since we now have a command promptMarc André Tanner
2014-09-11Add/cleanup window commands Ctrl-{n,s,q}Marc André Tanner
2014-09-11Add :qall commandMarc André Tanner
2014-09-10Add normal mode command 'J'Marc André Tanner
2014-09-10Add normal mode commands 'O' and 'o'Marc André Tanner
2014-09-10Make movements to next / previous line availableMarc André Tanner
2014-09-10Add normal command 'S' as asynonym for 'cc'Marc André Tanner
2014-09-10Add normal mode commands 'A', 'C', 'D' and 'I'Marc André Tanner
2014-09-10Add normal mode key binding for 'r'Marc André Tanner
2014-09-10Add a few comments about the subtleties of mode switchingMarc André Tanner
2014-09-10Redraw editor content after command executionMarc André Tanner
2014-09-10Fix :q commandMarc André Tanner
2014-09-10Add license headerMarc André Tanner
2014-09-10Simplify drawing of the window statusbarMarc André Tanner
2014-09-10Add comments where appropriateMarc André Tanner
2014-09-09Cleanup header filesMarc André Tanner
2014-09-09Remove trailing whitespaces (sed 's/[ \t]*$//')Marc André Tanner
2014-09-09Rename vis.[ch] to editor.[ch] and main.c to vis.cMarc André Tanner
2014-09-09Add window borders in vertical layoutMarc André Tanner
2014-09-09Detect whether a file is already opened when splitting a windowMarc André Tanner
2014-09-09Fix a few memory leaksMarc André Tanner