Commit Graph

110 Commits

Author SHA1 Message Date
Anthony Sottile
175fd61119 Add secret --key-debug to debug keypresses 2020-03-21 15:57:23 -07:00
Anthony Sottile
ffd5c87118 Identify grammars by filename conventions 2020-03-21 15:25:27 -07:00
Anthony Sottile
87f3e32f36 More lazily instanatiate grammars 2020-03-21 14:19:51 -07:00
Daniel Chabrowski
25173c5dca Add "open" functionality with ^P 2020-03-19 20:57:01 -07:00
Anthony Sottile
b2ebfa7b48 Improve quick prompt appearance 2020-03-19 20:37:39 -07:00
Anthony Sottile
efa6561200 improve multiple file close behaviour 2020-03-19 20:05:57 -07:00
Anthony Sottile
b683657f23 Support babi - for reading from stdin
Resolves #42
2020-03-19 18:52:24 -07:00
Anthony Sottile
6ec1da061b Fix for begin-but-no-end rules (xml) 2020-03-18 11:56:36 -07:00
Anthony Sottile
080f6e1d54 Add support for shorthand hex colors 2020-03-17 12:37:31 -07:00
Anthony Sottile
e77a660029 fix for internal extra commas in theme scopes 2020-03-17 12:13:36 -07:00
Anthony Sottile
e32e5b8c05 Fix one edge case with comma scopes 2020-03-17 11:53:23 -07:00
Anthony Sottile
08638f990c Add limited support for named colors
Resolves #41
2020-03-17 11:00:59 -07:00
Anthony Sottile
414adffa9b Fix highlighting edges and unify highlighting code 2020-03-16 15:19:21 -07:00
Anthony Sottile
d5376ca6f2 properly detect hidden (.extension-only) files 2020-03-15 19:23:46 -07:00
Anthony Sottile
697b012027 Syntax highlighting 2020-03-13 21:07:58 -07:00
Anthony Sottile
1d06a77d44 Highlight trailing whitespace 2020-03-13 20:49:59 -07:00
Anthony Sottile
b52fb15368 Use clrtoeol to draw blank lines 2020-03-13 19:11:59 -07:00
Anthony Sottile
2066bed28e simpler TERM setting (and don't accidentally 256color in suspend) 2020-03-09 14:28:56 -07:00
Anthony Sottile
ec7fbba633 Fix race condition with multiple escape sequences in quick succession
Resolves #31
2020-03-06 16:58:50 -08:00
Anthony Sottile
b11575b998 Fix missing test coverage 2020-03-06 16:58:29 -08:00
Anthony Sottile
1e14929aec Improve performance of large pastes by batching text 2020-03-06 09:43:13 -08:00
Anthony Sottile
e365580985 Ensure PageUp and PageDown go to beginning of line 2020-02-29 16:09:34 -08:00
Anthony Sottile
c248fb2d50 Fix noop cut at end of file
Resolves #35
2020-02-27 16:11:27 -08:00
Anthony Sottile
21ada1750b make a module for typing-related things 2020-02-24 15:31:39 -08:00
Anthony Sottile
6dbad7791d babi: require 3.6.1+ 2020-02-24 15:24:38 -08:00
Anthony Sottile
a2ffbfd0de Move Screen to babi.screen 2020-02-22 15:11:08 -08:00
Anthony Sottile
babb024c51 move File into its own file 2020-02-22 14:47:14 -08:00
Anthony Sottile
e2b5d533b6 Split ListSpy to its own module 2020-02-22 14:33:54 -08:00
Anthony Sottile
b7700b8588 convert babi into a package 2020-02-22 12:35:41 -08:00
Anthony Sottile
9683f15bcf Don't include the bottom line of selection if blank 2020-02-21 19:35:28 -08:00
Anthony Sottile
75151505a7 Add cProfile output to --perf-log 2020-02-19 18:46:25 -08:00
Anthony Sottile
e0b10e8b9c Remove --color-test 2020-02-17 17:08:26 -08:00
Anthony Sottile
a36ea5d1ed Set position at end when defaulting prompt 2020-01-08 22:20:01 -08:00
Anthony Sottile
1030f1170a Fix dedent at beginning of line 2020-01-08 21:16:53 -08:00
Anthony Sottile
de57f2cef2 Fix search default when equal to last history entry 2020-01-08 21:10:53 -08:00
Anthony Sottile
f1e8bcca3d Match the position of the reverse-search match in the prompt 2020-01-07 17:31:41 -08:00
Anthony Sottile
817b542861 Add small amount of performance logging 2020-01-07 17:12:42 -08:00
Anthony Sottile
11c195e9bf Add faster test harness which fakes curses 2020-01-06 20:18:34 -08:00
Anthony Sottile
1c66b81dc3 typo in test name 2020-01-06 09:46:42 -08:00
Anthony Sottile
180ff20be5 Add :sort command 2020-01-06 09:23:53 -08:00
Anthony Sottile
22db250ab8 Add indent / dedent
Resolves #27
2020-01-05 09:03:58 -08:00
Anthony Sottile
865f2091a2 Add tests for ^BSpace (^H) 2020-01-04 12:04:04 -08:00
Anthony Sottile
a893bf0b93 shift + movement = selection 2020-01-03 18:57:01 -08:00
Anthony Sottile
2bcb8f0ed0 Fix highlighting replacement on 1-tall screen 2020-01-02 18:51:31 -08:00
Anthony Sottile
1a5494b577 Rename cursor_y to y to reduce confusion 2019-12-31 22:25:26 -08:00
Anthony Sottile
60476134a3 Implement ^Left and ^Right in prompt() 2019-12-31 14:04:17 -08:00
Anthony Sottile
68ee9eafa6 Implement ^K for command mode 2019-12-25 09:09:38 -08:00
Anthony Sottile
ae5e619124 Add test for quick_prompt resize without callback 2019-12-21 23:53:38 -08:00
Anthony Sottile
7525e0bc84 Implement save-on-exit 2019-12-21 23:13:46 -08:00
Anthony Sottile
98f19ca6b2 Implement save via ^O (has a filename prompt) 2019-12-20 23:00:48 -08:00