Commit Graph

381 Commits

Author SHA1 Message Date
Bryn Phillips
8b71d289a3 Fixed PgDn 2020-04-03 10:28:40 -07:00
Bryn Phillips
759cadd868 Fixes for Win PS keys 2020-04-03 10:26:17 -07:00
Anthony Sottile
b9a12537b1 v0.0.5 v0.0.5 2020-04-02 22:52:01 -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
Anthony Sottile
2a9eccefb2 Merge pull request #49 from brynphillips/fixed-windows-keys
Fixed windows keys
2020-04-02 09:15:29 -07:00
Bryn Phillips
c449f96bf0 Added up, down, left, right wch codes for win 2020-04-02 09:03:27 -07:00
Anthony Sottile
47e008afa4 Fix writing of crlf on windows when saving
Resolves #51
2020-04-01 22:42:18 -07:00
Anthony Sottile
1919c2d4fe Merge pull request #48 from YouTwitFace/master
Fix exiting using `:q` when the file is modified
2020-04-01 20:59:40 -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
612f09eb3a Add install instructions to the readme 2020-04-01 17:48:54 -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
2b66c465a6 move lines and cols into margin 2020-03-30 17:56:50 -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
04aaf9530e simpler fix for \z 2020-03-28 11:27:53 -07:00
Anthony Sottile
7850481565 v0.0.4 v0.0.4 2020-03-28 08:01:02 -07:00
Anthony Sottile
b536291989 Fix replacing with embedded newline characters
Resolves #39
2020-03-27 20:32:43 -07:00
Anthony Sottile
f8737557d3 Add a sample theme to the README 2020-03-27 19:29:52 -07:00
Anthony Sottile
d597b4087d add dist and build to gitignore 2020-03-27 19:10:11 -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
50ad1e06f9 Add demo for showing vs code's tokenization 2020-03-27 17:59:35 -07:00
Anthony Sottile
032c3d78fc v0.0.3 v0.0.3 2020-03-26 20:38:52 -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
2123e6ee84 improve performance by ~.8%
apparently contextlib.suppress is enough to show up in profiles
2020-03-23 20:57:53 -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
c4e2f8e9cf this is unused 2020-03-22 20:12:04 -07:00
Anthony Sottile
e7d4fa1a07 v0.0.2 v0.0.2 2020-03-22 19:57:00 -07:00
Anthony Sottile
c186adcc6c partial windows support 2020-03-22 19:54:52 -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
f1772ec829 Merge pull request #43 from pganssle/add_version
Pull version from system metadata
2020-03-21 16:42:08 -07:00
Paul Ganssle
84b489bb9b Pull version from system metadata 2020-03-21 16:09:20 -07:00
Anthony Sottile
175fd61119 Add secret --key-debug to debug keypresses 2020-03-21 15:57:23 -07:00
Anthony Sottile
01bb6d91b9 add highlighting for makefiles 2020-03-21 15:27:07 -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
Anthony Sottile
d20be693d2 Add docker syntax 2020-03-21 11:47:37 -07:00
Anthony Sottile
d826b8b472 bump hecate for @DanielChabrowski's fix 2020-03-19 21:25:20 -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
b59d03858c Improve comments-json parsing 2020-03-18 14:04:51 -07:00
Anthony Sottile
6ec1da061b Fix for begin-but-no-end rules (xml) 2020-03-18 11:56:36 -07:00