Commit Graph

244 Commits

Author SHA1 Message Date
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
K. Lange
2ab344f847 quick fix for building bim under linux 2018-05-17 18:25:01 +09:00
K. Lange
75d7d8fdcd Fix some weirdness 2018-05-14 23:29:37 +09:00
K. Lange
7382da4016 screwy approach to support arrow keys in bim 2018-05-14 23:24:57 +09:00
K. Lange
e81354aba5 Make bim slightly faster 2018-05-14 22:53:04 +09:00
K. Lange
557f578574 Don't use my given name in copyright headers; update everything to 2018 because why not 2018-05-01 17:12:56 +09:00
K. Lange
8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
8cd83fd093 Adjust bim size on win change 2018-03-03 21:12:18 +09:00
K. Lange
41d94bc440 add some more bim commands 2018-03-03 21:04:42 +09:00
K. Lange
9d06ac40bb Add bim
i would not try to write files in this environment as it's not a tmpfs
migration, so good luck
2018-03-03 20:57:43 +09:00