Kovid Goyal
2ac170c1b1
Allowing using the anchored diff from the Go stdlib as the diff implementation
2023-03-27 07:53:56 +05:30
Kovid Goyal
44ff6bd1dd
Start work on porting diff kitten
2023-03-27 07:53:53 +05:30
Kovid Goyal
fbfb779a19
Clarify what pygments style does
2023-02-20 16:38:22 +05:30
Kovid Goyal
836b652f4d
Enable checks for unused noqa
2023-01-09 17:28:35 +05:30
Kovid Goyal
6e41409a3f
Dont run isort on generated conf files
2023-01-09 16:51:59 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
pagedown
0d116e6ef0
Use four spaces to indent
2022-08-08 22:31:55 +05:30
pagedown
c3df6d2fe3
Remove executable perms from kitten files
2022-06-28 11:59:47 +08:00
Kovid Goyal
79f7954048
Cleanup previous PR
2022-06-06 17:19:52 +05:30
Suvayu Ali
20b6a97159
Update in response to feedback
...
- one configuration option: ignore_paths
- use shlex to parse option to support whitespace and in-line comments
- change option type to Tuple[str, ...]
- remove ignored directories from dirnames to prevent scanning
2022-06-06 11:00:45 +02:00
Suvayu Ali
eea652f1d0
kittens/diff: move empty pattern check to dir tree walk
2022-06-05 10:11:21 +02:00
Suvayu Ali
fbf1ec43c7
diff kitten: add options to ignore paths when comparing directories
...
Tested locally & over SSH:
$ kitty +kitten diff /local/path /local/path2
$ kitty +kitten diff /local/path ssh:remote:/path
2022-06-05 00:11:30 +02:00
pagedown
bb78dc5ccb
Docs: Fix the help text of query_terminal and other minor tweaks
...
Use --match-tab in broadcast kitten example.
2022-04-29 01:30:45 +08:00
pagedown
510022c3c1
Docs: Improve the documentation for kittens
...
Add more text roles and links.
Add an example that broadcasts only to other windows in the current tab.
Initial capitalization of the key names in the kbd text role.
Add Python type hints for custom kittens.
Note about hyperlink support for ls on macOS.
Add description text for show_key.
2022-04-27 16:14:54 +08:00
Kovid Goyal
846021296f
Start work on config infrastructure for ssh kitten
2022-03-03 21:24:44 +05:30
pagedown
4a7ae0f524
Docs: use pygments styles official website url
2021-12-08 17:20:13 +08:00
Kovid Goyal
56ea741126
Nicer repr for key definitions
2021-11-23 18:19:34 +05:30
Kovid Goyal
2443dc135c
Use a faster implementation of the Color type
...
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal
a26f041964
Add more type annotations
2021-10-27 12:31:10 +05:30
Kovid Goyal
4385acd3c6
A new option to set the tab bar margin color independently
2021-10-25 12:21:46 +05:30
Kovid Goyal
e50c26d1b9
Allow using a non-toal dict to init Options objects
2021-08-04 17:06:50 +05:30
Kovid Goyal
a1b87f445b
Store the paths from which config data is read on the created options object
2021-06-05 12:55:00 +05:30
Kovid Goyal
1c8b7955eb
Have gen-config output action names as comments
2021-06-05 12:20:43 +05:30
Kovid Goyal
8f491e7dbb
Add newslines at end of generated files and do imports in sorted order
2021-05-31 17:45:02 +05:30
Kovid Goyal
3e598a17cf
Add headers to options def files
2021-05-31 17:40:49 +05:30
Kovid Goyal
6d7df1c5e8
Refactor configuration file parsing
...
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30