Anthony Sottile
f6db46736c
Merge pull request #124 from theendlessriver13/io_error_save
...
fix crashing on permission denied error
2021-01-29 20:30:34 -08:00
theendlessriver13
e059dc294b
fix crashing on permission denied
2021-01-30 04:09:22 +01:00
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
Anthony Sottile
84b20a4016
fix highlighting hang with empty begin end rules
2020-07-24 15:13:35 -07:00
Anthony Sottile
fc21a144aa
leverage new regex flags
2020-07-01 17:07:32 -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
b595333fc6
Fix grammars where rules have local repositorys
...
for example: ruby
2020-04-04 13:03:33 -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
1d3d413b93
Fix grammars which include \z
2020-03-27 18:18:16 -07:00
Anthony Sottile
a197645087
merge the textmate demo into babi
2020-03-26 20:26:57 -07:00
Anthony Sottile
9f8e400d32
switch to babi-grammars for syntax
2020-03-26 19:43:01 -07:00
Anthony Sottile
b529dde91a
Fix incorrect caching in syntax highlighter
...
the concrete broken case was for markdown with yaml
```md
---
x: y
---
(this one shouldn't be yaml highlighted)
---
x: y
---
```
2020-03-23 20:05:47 -07:00
Anthony Sottile
bdf07b8cb3
fix expansion of regexes with regex-special characters
2020-03-22 12:43:34 -07:00
Anthony Sottile
bf1c3d1ee1
Fix highlight color in replace/selection
2020-03-21 21:08:43 -07:00
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