Commit Graph

199 Commits

Author SHA1 Message Date
K. Lange
73d9ada8a3 bim: newlib-style ctype bit macros conflict with _S 2018-10-12 11:34:16 +09:00
K. Lange
462192cde4 bim: Mask VINTR, but don't set -ISIG? 2018-10-05 22:25:28 +09:00
K. Lange
6d34e9ae4a [bim] more C keywords 2018-10-04 14:50:23 +09:00
K. Lange
e978a6b4a0 [bim] Automatically add indent when coming from line ending in { or : 2018-10-04 14:19:32 +09:00
K. Lange
a393e0262d [bim] Really basic git-rebase highlighter 2018-10-03 09:34:47 +09:00
K. Lange
9c20968150 [bim] Add literal ^V mode 2018-10-02 15:09:00 +09:00
K. Lange
59c646999d [bim] Use macro _set_colors when rendering space at eol 2018-10-01 14:23:56 +09:00
K. Lange
060034242e [bim] Fix bad cursor positioning when deleting lines 2018-10-01 11:36:43 +09:00
K. Lange
c7136cbc6f Do something similar in insert mode in bim for fast paste 2018-09-29 14:14:50 +09:00
K. Lange
05ac83f96a sh syntax backslash escapes [bim+rline_exp] 2018-09-17 16:39:31 +09:00
K. Lange
ad3ce212f0 [bim] fix make syntax highlighting issue 2018-09-17 16:24:52 +09:00
K. Lange
991fb36690 [bim] Bail early trying to edit a directory 2018-09-16 11:06:11 +09:00
K. Lange
964621ea08 Do the same in bim 2018-09-14 23:05:39 +09:00
K. Lange
0d2617831b [bim] :tabnew like in vim 2018-09-14 20:13:46 +09:00
K. Lange
e9f886715f [bim] Add word delete and fix up horizontal scrolling on backspace 2018-09-13 18:39:27 +09:00
K. Lange
b747ab7935 [bim] port variable highlighting from rline_exp 2018-09-13 18:09:30 +09:00
K. Lange
fca849eb0f [bim] Reconfigured syntax highlighting 2018-09-10 21:26:12 +09:00
K. Lange
6074363484 [bim] 1.0.1 2018-09-07 14:48:10 +09:00
K. Lange
705c08e93a Update bim to v1.0.0; no more detailed bim commits moving forward 2018-09-07 10:54:00 +09:00
K. Lange
b99b17c967 [bim] scroll padding and hilighted eol spaces 2018-09-06 13:03:08 +09:00
K. Lange
f7f1be3b01 [bim] Update terminal titles more often 2018-09-05 21:37:54 +09:00
K. Lange
afa04c5aa5 [bim] backwards incremental search, bug fixes 2018-09-05 21:14:56 +09:00
K. Lange
a92007245d [bim] Warning from incorrect signededness 2018-09-03 19:47:54 +09:00
K. Lange
040dea6374 [bim] Partial yanks and bug fixes 2018-09-03 19:46:28 +09:00
K. Lange
a9f2aeff15 [bim] CHAR SELECTION, fix a history bug 2018-09-01 23:51:43 +09:00
K. Lange
38bdbb7402 [bim] minor theme edit 2018-09-01 22:14:11 +09:00
K. Lange
1eb5de415f [bim] fix unused variable 2018-09-01 06:13:54 +09:00
K. Lange
a498f14fad [bim] Unicode search 2018-09-01 06:12:47 +09:00
K. Lange
896ef92011 [bim] Use nprintf variants to appease the sortix gods 2018-08-31 15:43:45 +09:00
K. Lange
0150e2eb4d [bim] Remove direct calls to toaru's fswait2 (use poll wrapper) 2018-08-31 12:32:20 +09:00
K. Lange
c4334830e5 [bim] Various updates, included backwards search 2018-08-30 22:03:46 +09:00
K. Lange
3bdc4751af [bim] New syntax theme 2018-08-30 16:21:53 +09:00
K. Lange
9df16633de [bim] Experimental undo/redo stack 2018-08-30 09:55:53 +09:00
K. Lange
03562d2f61 [bim] Change order of reset/line-feed so we can cat|head 2018-08-29 19:16:20 +09:00
K. Lange
55feb94517 [bim] Options cleanup, add -c/-C to cat files with syntax 2018-08-29 18:54:36 +09:00
K. Lange
5774273c14 [bim] Why are we using lstat... 2018-08-29 13:10:58 +09:00
K. Lange
b37eb9fd2f [bim] Better Dragonfly BSD cons25 support 2018-08-29 12:50:52 +09:00
K. Lange
d865b3e27b [bim] Remove nested functions to build on clang 2018-08-29 12:08:47 +09:00
K. Lange
fb91f95a4e [bim] Change up 16-color modes to support default fg/bg 2018-08-28 23:43:59 +09:00
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