Anthony Sottile
09643b0f80
fix backspacing an extra blank line at end of file
2021-01-18 14:57:34 -08:00
Anthony Sottile
4ca3b0d1e5
ignore case for quick prompt answers
2020-11-20 12:22:55 -08:00
Ville Laitila
1f348882b8
Familiar forward deletion keyboard shortcut Ctrl-D
...
With help of the mapping rules, this is easily implemented and all
the unit tests will also test usage of Ctrl-D already as Del char
behaves similarly.
2020-11-03 10:32:17 -08:00
shazbot
08ec1874d1
fix whitespace on blank line with added comment
2020-09-04 22:11:04 -07:00
Anthony Sottile
8f91c12a45
Merge pull request #89 from AndrewLaneX/expandtabs
...
Add :expandtabs and :noexpandtabs
2020-09-04 14:19:45 -07:00
Andrew Lane
5df223f81e
Add :expandtabs and :noexpandtabs
2020-09-04 17:07:12 -04:00
Valentin Malissen
a2afbfa07b
fix comments behavior on multiple lines with indentation
2020-09-04 13:43:22 -07:00
Anthony Sottile
a87497cbe2
improve indent-mod test
2020-08-29 19:20:00 -07:00
Anthony Sottile
e6a0353650
do not crash if the terminal does not have color support
2020-08-29 12:40:12 -07:00
Anthony Sottile
fd9393c8b1
fix position changes when commenting and cursor is before comment
2020-08-28 21:09:16 -07:00
Anthony Sottile
055d738142
Fix out of bounds on uncomment
2020-08-28 20:52:01 -07:00
Anthony Sottile
9f5e8c02cb
add :comment command for toggling comments
2020-08-24 13:52:35 -07:00
YouTwitFace
ed51b6e6dc
Add :tabsize and :tabstop
2020-05-27 15:21:17 -07:00
Anthony Sottile
e7108f843b
test py39
2020-05-26 11:17:17 -07:00
YouTwitFace
b486047e90
Add reverse sort
2020-05-20 17:07:40 -07:00
Jonas Kittner
60b0a77f05
add key for redo so it works on win
...
- added new key to test
2020-05-14 00:17:21 +02:00
Anthony Sottile
599dfa1d0e
pre-commit autoupdate
2020-05-11 17:27:40 -07:00
Anthony Sottile
4812daf300
Implement open-with-offset
...
Resolves #60
2020-04-17 19:31:51 -07:00
Anthony Sottile
936fd7e3a0
Fix delete at end of last line
...
Resolves #52
2020-04-02 22:51:02 -07:00
Anthony Sottile
2d0f3a3077
simplify platform differences with KEYNAME_REWRITE
2020-04-02 10:15:34 -07:00
YouTwitFace
18057542bf
Fix exiting using :q when the file is modified
2020-04-01 20:55:50 -07:00
Anthony Sottile
49f95a5a2c
Fix uncut selection at end of file
...
thanks @YouTwitFace for the report!
2020-04-01 19:36:07 -07:00
Anthony Sottile
6206db3ef2
properly render tab characters in babi
2020-04-01 17:42:19 -07:00
Anthony Sottile
711cf65266
Remove .disabled, it wasn't doing anything
2020-03-31 14:15:28 -07:00
Anthony Sottile
9f36fe2f1b
Fix highlighting right at the edge of a non-scrolled line
2020-03-28 16:56:48 -07:00
Anthony Sottile
3844dcf329
Refactor file internals to separate class
2020-03-28 16:28:26 -07:00
Anthony Sottile
b536291989
Fix replacing with embedded newline characters
...
Resolves #39
2020-03-27 20:32:43 -07:00
Anthony Sottile
41aa025d3d
Fix edge highlighting for 1-lenght highlights
2020-03-27 19:06:50 -07:00
Anthony Sottile
de956b7bab
fix saving files with windows newlines
2020-03-27 18:42:37 -07:00
Anthony Sottile
9f8e400d32
switch to babi-grammars for syntax
2020-03-26 19:43:01 -07:00
Anthony Sottile
175fd61119
Add secret --key-debug to debug keypresses
2020-03-21 15:57:23 -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
414adffa9b
Fix highlighting edges and unify highlighting code
2020-03-16 15:19:21 -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
b7700b8588
convert babi into a package
2020-02-22 12:35:41 -08:00