Commit Graph

160 Commits

Author SHA1 Message Date
K. Lange 3bf1235b92 [bim] Better tabs and status bar for ansi theme 2018-08-28 23:25:45 +09:00
K. Lange a5c9c6726a [bim] Some movement fixes 2018-08-28 23:18:35 +09:00
K. Lange fa1afac86d [bim] More motions 2018-08-28 23:11:36 +09:00
K. Lange 282ca9b2ec [bim] Handle linux console better 2018-08-28 23:00:20 +09:00
K. Lange 033b472c39 [bim] Make citylights fg brighter for better contrast 2018-08-28 22:42:59 +09:00
K. Lange 728311ff68 [bim] support alternate screen in bim 2018-08-28 20:13:19 +09:00
K. Lange fcbcb51ec2 [bim] Add REPLACE mode 2018-08-28 17:54:22 +09:00
K. Lange f95f495b54 [bim] Paren matching 2018-08-28 16:36:35 +09:00
K. Lange 48e43d5c95 [bim] Make ansi theme match general colors of wombat 2018-08-28 13:18:26 +09:00
K. Lange 95444284c6 [bim] Syntax hilighting cleanups for Makefiles 2018-08-28 13:16:12 +09:00
K. Lange 0aae2df1fc [bim] Try to handle non-displayable codepoints as [U+...]? 2018-08-21 11:59:17 +09:00
K. Lange 8e05d17809 [bim] Don't place the cursor on getch timeouts in normal mode 2018-08-21 10:38:26 +09:00
K. Lange a72b8a0a4e [bim] Cleanup three unused parameters (-Wall -Wextra) 2018-08-20 22:47:33 +09:00
K. Lange b02e6a0055 [bim] Add initial plubming for a bimrc file 2018-08-20 22:11:57 +09:00
K. Lange 1b06c0f8bc [bim] Use darker gray for comments in ansi theme 2018-08-20 21:48:00 +09:00
K. Lange 888e6734b0 [bim] Better handling for erroneous character widths 2018-08-20 21:38:48 +09:00
K. Lange 9d058df17b [bim] Cleanup commandline messages 2018-08-20 13:43:18 +09:00
K. Lange dc793bff77 [bim] Fix deleting lines at end of buffer causing crash / misaligned pointer 2018-08-20 13:34:00 +09:00
K. Lange 7d9978799d [bim] Set title in VTE 2018-08-20 13:23:08 +09:00
K. Lange cffdfac0b0 [bim] Automatically figure out tabs vs. spaces, naively 2018-08-20 13:09:31 +09:00
K. Lange cc07251802 [bim] Enable indent by default 2018-08-20 13:05:19 +09:00
K. Lange cf21613df0 [bim] Fix type of some vars used for bim_getch 2018-08-20 12:58:49 +09:00
K. Lange 9435550e18 [bim] Handle ^Z suspend (under Linux) 2018-08-20 11:25:39 +09:00
K. Lange 9ecaca151f [bim] Add some C++ keywords 2018-08-20 10:42:39 +09:00
K. Lange 411ccf3794 [bim] Use C hilighting for C++ until we write a dedicated one 2018-08-20 10:39:13 +09:00
K. Lange 98a1de26c1 [bim] Fix some read-only support stuff 2018-08-20 10:35:36 +09:00
K. Lange d049085a3b [bim] Add rudimentary indent adjustment 2018-08-20 10:30:07 +09:00
K. Lange 312bf70943 [bim] Add rudimentary automatic indenting 2018-08-20 10:03:22 +09:00
K. Lange 567546a2ce [bim] Syntax hilighting for Make 2018-08-20 09:25:11 +09:00
K. Lange 5bdaa7b77b [bim] Copy UTF8 decoder into bim so it is single-file 2018-08-19 21:07:56 +09:00
K. Lange fa4b4daca8 [bim] Fix up trying to parse syntax at load time 2018-08-19 21:07:56 +09:00
K. Lange ca08d442d6 Replace utf8decode with our own thing 2018-08-19 21:07:52 +09:00
K. Lange dd973824c0 [bim] Invert #ifdef __linux__ to match #ifdef __toaru__ earlier 2018-08-19 19:49:13 +09:00
K. Lange 2688a4ca8f [bim] Support reading data from stdin 2018-08-19 19:29:00 +09:00
K. Lange b3f72db522 [bim] Accept shift-D for delete lines 2018-08-19 18:01:24 +09:00
K. Lange 6f9136b672 [bim] Show yank count in status 2018-08-19 17:53:36 +09:00
K. Lange 11b99652c5 [bim] Line yank/paste 2018-08-19 17:10:22 +09:00
K. Lange 2d3cd5fe1c [bim] Line selection mode 2018-08-19 16:35:16 +09:00
K. Lange a1f52c1679 [bim] minor cleanup 2018-08-19 15:33:20 +09:00
K. Lange 8e4292c6d6 [bim] Fix printing some escape bytes 2018-08-18 21:07:46 +09:00
K. Lange 53a64a12dc [bim] fix bad if 2018-08-18 20:16:23 +09:00
K. Lange 58dca9e8d7 [bim] read-only buffers 2018-08-18 20:09:27 +09:00
K. Lange 9a9ff0f32e Oops, broke ; in escapes with that 2018-08-18 19:59:19 +09:00
K. Lange 3c545f00ed [bim] Fix some insert-mode escape handling 2018-08-18 19:43:15 +09:00
K. Lange 482fe9280b [bim] Ctrl-Left, Ctrl-Right 2018-08-18 18:23:31 +09:00
K. Lange 3c7d79b695 Restructure input escape processing 2018-08-18 17:33:41 +09:00
K. Lange 99ef3cb80f [bim] New command stuff and help 2018-08-18 15:34:00 +09:00
K. Lange 0b8fda0a20 [bim] 16-color support in theming 2018-08-18 15:20:37 +09:00
K. Lange 5521676f4f [bim] Support for color themes, solarized-dark, citylights 2018-08-18 13:23:12 +09:00
K. Lange b70ad67ac4 Potentially support 24-bit color in themes 2018-08-18 12:13:51 +09:00
K. Lange 179ffe37da [bim] Colors as const char * to prepare for themes 2018-08-18 12:08:40 +09:00
K. Lange 5903ff9a73 [bim] Change up how the line numbers work 2018-08-18 11:27:13 +09:00
K. Lange f69d965749 [bim] rudimentary numeral highlighting 2018-08-18 11:17:04 +09:00
K. Lange 072520bf01 [bim] Fix default tabstop, tabs settings 2018-08-18 09:21:27 +09:00
K. Lange c210ec4987 tabstops 2018-08-18 09:10:14 +09:00
K. Lange 27b46493f6 [bim] Fix bad buffer for utf8 encoding in write 2018-08-17 23:22:41 +09:00
K. Lange 4d735731f9 [bim] tabs or spaces? 2018-08-17 23:16:49 +09:00
K. Lange f5ceddfab4 [bim] Hilight C character constants 2018-08-17 22:42:54 +09:00
K. Lange 3b9a8c18c7 [bim] fix an accidental off-by-one closing comments 2018-08-17 22:30:27 +09:00
K. Lange 626e3557cd Fix tab/escapes reseting colors 2018-08-17 22:21:34 +09:00
K. Lange f79ee98749 [bim] Additionally release Bim under ISC 2018-08-17 22:05:24 +09:00
K. Lange 3f6c6b3320 qq sorry lioncash, your code disappeared years ago 2018-08-17 22:02:09 +09:00
K. Lange d1f1aa465e [bim] Add :help command 2018-08-17 21:52:37 +09:00
K. Lange 2089ab7bd8 [bim] Be sure to set syntax on new file 2018-08-17 21:31:33 +09:00
K. Lange dbeeb21091 [bim] Better color theming support 2018-08-17 21:25:14 +09:00
K. Lange c2dbcea8f2 [bim] oops, need to account for tab 2018-08-17 20:53:07 +09:00
K. Lange 3362f22b7f Render bytes <32 like vim does 2018-08-17 20:51:15 +09:00
K. Lange 90df5828f7 [bim] getopt and option to disable hilighting 2018-08-17 20:08:12 +09:00
K. Lange 8bff3a917e Basic command tab completion 2018-08-17 19:37:55 +09:00
K. Lange ba0139f477 Fixup syntax command 2018-08-17 15:37:13 +09:00
K. Lange c6844efd99 [bim] Support mouse for setting tab 2018-08-17 15:32:01 +09:00
K. Lange e0447ffa34 [bim] More cleanup 2018-08-17 10:23:43 +09:00
K. Lange c5e42f80e7 [bim] Multiline quotes and comments 2018-08-17 10:11:43 +09:00
K. Lange e9e0b5141a [bim] Fix an off-by-one when scrolling the last line on screen 2018-08-17 08:40:09 +09:00
K. Lange 4c103806d0 Fix bad reads due to erroneous use of stdio 2018-08-17 08:36:45 +09:00
K. Lange b79e33ad76 [bim] Fix more bad accesses 2018-08-17 08:30:16 +09:00
K. Lange e1999b5306 [bim] Fixups and Linux support 2018-08-17 08:27:27 +09:00
K. Lange f9d9226e07 [bim] Don't create or throw errors on non-existent files 2018-08-16 23:28:37 +09:00
K. Lange 1d967c882b [bim] Mouse support 2018-08-16 23:23:04 +09:00
K. Lange 87b6a3aba5 [bim] Improve rendering speed by not sending so many color codes 2018-08-16 22:43:18 +09:00
K. Lange a84e3e7c4d [bim] syntax code doc cleanup 2018-08-16 19:55:07 +09:00
K. Lange 22221a20fe [bim] Syntax highlighting 2018-08-16 19:46:13 +09:00
K. Lange 0a46feb201 [bim] Be sure to z flags in new char_t's 2018-08-16 17:43:26 +09:00
K. Lange 1576a65597 Don't reset colors after drawing commandline 2018-08-16 17:37:42 +09:00
K. Lange 6eef68699d Add rudimentary text search 2018-08-16 17:25:59 +09:00
K. Lange 1bed29911e Lots of BIM cleanup 2018-08-16 16:50:05 +09:00
K. Lange a51c5113f2 Change how mode gets tracked for status bars 2018-08-16 14:55:22 +09:00
K. Lange 458ceb00bd [bim] Support page up, page down, del 2018-08-16 14:06:54 +09:00
K. Lange 317a500bd6 [bim] redraw INSERT when scrolling insert mode 2018-08-16 13:30:46 +09:00
K. Lange 2d8c538b71 [bim] Use scrolling to not redraw display on cursor movements 2018-08-16 13:03:34 +09:00
K. Lange c311199ad1 [bim] Fix buffer loading 2018-08-16 12:38:30 +09:00
K. Lange 991479501f [bim] Add shell commands 2018-08-16 12:16:07 +09:00
K. Lange 132b77ba53 no special toaru cursor handling 2018-08-16 11:45:18 +09:00
K. Lange 0d02884572 Fix end-of-file line feed handling 2018-08-16 11:38:35 +09:00
K. Lange d5d04799ef [bim] Fix horizontal scrolling 2018-08-16 11:35:15 +09:00
K. Lange dd5e256ad2 Complete editing 2018-08-16 10:47:49 +09:00
K. Lange d72de8568c Try to cleanup cursor stuff in bim, but this may be a lost cause 2018-08-16 09:58:36 +09:00
K. Lange b6c3951497 Application cleanup 2018-08-15 10:07:33 +09:00
K. Lange ae6532607a Add libc wrappers for some syscalls, remove unused syscall.h imports 2018-08-02 13:13:27 +09:00
K. Lange ba9e9078dd Add headless boot options 2018-07-06 10:40:49 +09:00