Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade
2025-02-03 10:56:50 +05:30
Kovid Goyal
f1d0d0949b
Run pyupgrade to update the codebase to python 3.9
...
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
5d5f3ff1b5
Add --app-id as alias for --class
...
On Wayland we have application ids instead of WM_CLASS. Bloody dumb.
2024-03-26 19:59:59 +05:30
Kovid Goyal
9ea0dde469
Add a note that startup_session prevents processing of cli args
2024-03-07 08:55:44 +05:30
Kovid Goyal
065b17ddbd
kitten @ load-config: Allow (re)loading kitty.conf via remote control
2024-02-07 11:08:55 +05:30
Kovid Goyal
d9903f5283
Add a note for what to do instead of --detach on macOS
2023-12-18 12:04:23 +05:30
Kovid Goyal
3c4f2aa1b8
shlex.split -> shlex_split
2023-12-02 15:17:08 +05:30
Kovid Goyal
77292a16d6
Make shebangs consistent
...
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.
Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
5ea9700c82
More kitty @ -> kitten @
2023-10-18 20:40:39 +05:30
Kovid Goyal
bde4a41ed4
Remote control: Allow using a random TCP socket as the remote control socket and also allow using TCP sockets in kitty.conf
2023-08-04 11:12:31 +05:30
Kovid Goyal
0fb1f17af9
Have --hold wait at a shell prompt
2023-06-26 11:21:57 +05:30
Kovid Goyal
4f5fc1000d
Allow multiple specifications of kwds,ext,mime in completion specs
2023-03-27 07:53:54 +05:30
Kovid Goyal
5ff1dadf0d
Allow using --session=none to override startup_session
...
Fixes #6131
2023-03-25 10:44:34 +05:30
Kovid Goyal
7dd20d4c79
Dont output empty brackets for release versions which dont have KITTY_VCS_REV
2023-02-24 20:11:09 +05:30
Kovid Goyal
df45a4e759
Add a note that --detach is not available on macOS
2023-01-31 17:52:36 +05:30
Kovid Goyal
5066623089
better fix for file completion in Go
...
When neither extensions for mime are specified assume we want to match
all files.
2023-01-23 18:01:17 +05:30
Kovid Goyal
60791bb57b
Session files: Expand environment variables
2023-01-23 17:34:53 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
pagedown
6a1b456bac
DRYer: Get hostname
2022-11-26 16:08:40 +08:00
Kovid Goyal
f57832f501
Fix spurious rebuilds of generated go code
2022-11-14 15:42:03 +05:30
Kovid Goyal
97716fea8b
More work on merging completions with parse tree
2022-11-14 15:42:02 +05:30
Kovid Goyal
bf74413c1f
Work on merging completion tree with parse tree
2022-11-14 15:42:02 +05:30
Kovid Goyal
4396dede85
Get rid of the cobra dependency
2022-11-14 15:42:02 +05:30
Kovid Goyal
7737369fc9
Add completion for the kittens
2022-11-14 15:41:58 +05:30
Kovid Goyal
0ff2446a1a
More completion work
2022-11-14 15:41:58 +05:30
Kovid Goyal
946d44c43f
Implement completespec in go
2022-11-14 15:41:58 +05:30
Kovid Goyal
26d4f5bcc9
Use the new completionspec for rc cmds
2022-11-14 15:41:58 +05:30
Kovid Goyal
c5afceb4cb
Basic completion for options
2022-11-14 15:41:57 +05:30
Kovid Goyal
ef71b071db
Automap a bunch of json fields from identically named options
2022-11-14 15:41:53 +05:30
Kovid Goyal
43b35f6f4e
Move GoOption migration code to cli.py for re-use
2022-11-14 15:41:53 +05:30
Kovid Goyal
a32251cab4
Handle aliased flags
2022-11-14 15:41:46 +05:30
Kovid Goyal
2d466f343d
Finish mapping of python cli opt to go cli opt
2022-11-14 15:41:46 +05:30
Kovid Goyal
10b74d0703
Update documentation of --to
2022-11-14 15:41:45 +05:30
Kovid Goyal
a7f0a471ed
Dont fail to output usage when less is not present
2022-11-14 15:41:44 +05:30
Kovid Goyal
c04b002d4e
Use a pager for displaying usage, matches kitty behavior
...
Also dont tell less to squeeze lines
2022-11-14 15:41:44 +05:30
Kovid Goyal
46840df1ad
CLI help output make kitty.conf a clickable URL
2022-11-14 15:41:43 +05:30
Kovid Goyal
d3a1848c27
Remove markup from ref_hyperlink text
2022-09-02 16:24:50 +05:30
pagedown
1b42486026
Docs: Remove the extra empty line in the CLI help
...
Also keep the example code in a code block, in the HTML documentation.
2022-09-01 15:35:41 +08:00
Kovid Goyal
214416f1e3
Fix handling of :doc: in CLI help output
2022-08-24 13:43:47 +05:30
pagedown
ba9afc61a4
Hyperlink doc text role
2022-08-24 13:29:07 +08:00
pagedown
c437a36794
Fix GitHub links in commented configuration
...
Hyperlink GitHub related text roles: iss, pull, disc
2022-08-24 13:27:12 +08:00
pagedown
0e0578ff49
Docs: Use --help long option name in the document
...
Remove the extra empty line in the CLI help for `--replay-commands`.
2022-08-24 13:27:06 +08:00
Kovid Goyal
10fdde6647
Hyperlink :envvar: as well
2022-08-20 16:24:46 +05:30
Kovid Goyal
3b77f3b4bc
Also hyperlink :term:
2022-08-20 15:40:39 +05:30
Kovid Goyal
ea8f223298
Cleanup the wrap implementation
...
Make it more efficient and add support for hyperlink escapes
2022-08-20 09:17:05 +05:30
Kovid Goyal
314dd97059
Command line tools shouldnt need to resolve documentation refs
...
Instead use a new kitty+doc protocol and have kitty navigate to the
docs. Uses a default open action for the protocol, which can be
overriden by the user should they so desire.
2022-08-19 14:35:17 +05:30
Kovid Goyal
033950dae9
Only hyperlink when stdout is a tty
2022-08-19 14:05:53 +05:30
Kovid Goyal
a59e1adee1
Also hyperlink the :ac: role in CLI help output
2022-08-19 14:05:11 +05:30
Kovid Goyal
5deed81737
Dont maintain ref_map manually
2022-08-19 11:20:50 +05:30
Kovid Goyal
d2d0487356
Hyperlink :ref: roles in CLI help
2022-08-19 09:57:52 +05:30