151 Commits

Author SHA1 Message Date
Kovid Goyal
0ee970b418
--hold is not suitable for replay commands as it outputs to the terminal 2022-04-24 15:37:20 +05:30
pagedown
45bbe17559
Docs: Minor improvements to the kitty cli help documentation
Add some text roles.
Use `kitty --hold`.
Use `appname` and `conf_name`.
`appname` is also applied to the system-wide configuration path.
2022-04-24 17:18:55 +08:00
Kovid Goyal
ade38870a0
Allow using boolean operators when matching windows or tabs 2022-04-12 19:55:20 +05:30
Kovid Goyal
11bc1b100c
Handle <> inside :ref: on the CLI 2022-04-12 19:48:09 +05:30
Kovid Goyal
262ba0197d
Allow using - as a synonym for /dev/stdin when reading the config 2022-03-05 08:07:32 +05:30
pagedown
1d88371604
Docs: separate and wrap each choices 2021-11-30 18:41:20 +08:00
Kovid Goyal
727c69ffdd
Mark :code: in CLI help output 2021-11-21 22:44:43 +05:30
Kovid Goyal
b7a28afe7e
missed a couple of options 2021-11-21 22:41:30 +05:30
Kovid Goyal
f3376601f2
Mark various options in text correctly 2021-11-21 22:37:11 +05:30
pagedown
c182f95684
Make --override parameter compatible with 'env VAR=' syntax 2021-11-01 22:37:30 +08:00
Kovid Goyal
d090db380f
Add more type annotations 2021-10-27 13:26:18 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
38f1fe7742
Make --override parsing a little more forgiving
Handle option values with = in them even if the user uses a space
as a separator rather than an =
2021-10-18 22:44:10 +05:30
Kovid Goyal
8be0dd0d8e
Restore the --watcher command line option for backwards compat
It is now deprecated but not removed. And it now applies to all windows
not just initially created ones.
2021-09-29 14:18:55 +05:30
Kovid Goyal
166ea9deb9
A new watcher option for kitty.conf that replaces the old --watcher cli flag
Applies to all windows, not just initial ones.
2021-09-29 14:01:30 +05:30
Kovid Goyal
2d7032973c
Change the semantics of --title slightly
Now it no longer overrides the titles of windows/tabs created in the
session. This allows windows/tabs to have their own titles while fixing
the OS Window's title.
2021-08-03 09:51:53 +05:30
Kovid Goyal
70b5f5bce3
Fix kitty --title not overriding tab titles
It must set the OS Window title permanently.

Fixes #3893
2021-08-03 09:34:13 +05:30
Kovid Goyal
1bd39ff935
Use new URL scheme and define the kitty website centrally as much as possible 2021-07-27 09:03:11 +05:30
Kovid Goyal
17f3d2d581
DRYer 2021-07-27 08:44:50 +05:30
Kovid Goyal
55aa9e11db
Dont use globals for role mapping 2021-07-27 08:39:04 +05:30
Kovid Goyal
bc895eacc5
Also prevent unknown roles from causing formatting to error 2021-07-27 08:07:11 +05:30
Kovid Goyal
6c8eb4a19a
Fix #3869 2021-07-27 08:05:55 +05:30
Kovid Goyal
624991b9b7
Use the builtin envvar role for env vars
Also fix some broken links
2021-07-20 13:29:39 +05:30
Kovid Goyal
4a71afaf96
Get rid of --debug-config
Instead have a keybind that shows the configuration used
by the currently running kitty instance
2021-06-05 14:27:24 +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
Kovid Goyal
dd5715ce79
Rename parsing placeholders for actions 2021-05-31 17:40:48 +05:30
Kovid Goyal
5470dd74bd
Move options code into its own directory 2021-05-31 17:40:48 +05:30
Kovid Goyal
6c344d4ae2
Move the action parsing code into options_types 2021-05-31 17:40:47 +05:30
Kovid Goyal
e089e9c121
Clarify what --debug-config does 2021-05-13 20:19:34 +05:30
Kovid Goyal
a75140c6d7
Add a --working-directory alias for --directory as this is commonly used in many terminal emulators 2021-05-13 16:13:46 +05:30
Kovid Goyal
f4ab6542fa
... 2021-05-11 10:24:48 +05:30
Kovid Goyal
dfbe1bd234
Add debug prints for mouse events 2021-05-11 10:22:30 +05:30
Kovid Goyal
417c81de60
Implement parsing for mouse_map config 2021-05-10 07:16:43 +05:30
Kovid Goyal
4c644b8556
Add NumLock and CapsLock reporting to the keyboard protocol 2021-04-13 07:10:00 +05:30
Kovid Goyal
e91b8d4556
... 2021-04-10 14:08:03 +05:30
Ravi R Kiran
fdfba4ea04 Fix pyflakes failures 2021-03-30 14:57:41 -05:00
Ravi R Kiran
953253de99 Implementation of hyper and meta 2021-03-30 14:23:17 -05:00
Kovid Goyal
1e6fe7785a
Dont set the EDITOR env var in child processes
It isnt really needed, since the various kittens dont rely on it
anymore, instead calling get_editor() to get the path to the editor.
Has the nice side-effect of not needing to run the shell at startup
to read its environment. Now the shell is only run if the user calls
the edit config file kitten. Fixes #3426
2021-03-29 11:56:48 +05:30
Kovid Goyal
2eccc81fee
Show a message about how to exit --hold 2021-03-10 14:26:11 +05:30
Kovid Goyal
027c5a57f1
Work on porting kittens to use new key infrastructure
Also move type definitions into their own module
2021-01-16 20:52:14 +05:30
Kovid Goyal
5297f7474d
Remove another use of GLFW_KEY 2021-01-16 20:52:13 +05:30
Kovid Goyal
b94d2b27f4
Refactor single key config parsing to use a special type 2021-01-07 18:07:17 +05:30
Luflosi
f55ca296da
Fix typo 2020-09-18 13:50:56 +02:00
Kovid Goyal
392c31f5fe
Allow specifying watchers in session files and via a command line argument 2020-08-23 10:41:36 +05:30
Kovid Goyal
5e48ae8bac
pep8 2020-05-12 22:54:08 +05:30
Kovid Goyal
0eef48b516
Use literals as the type for cli opts that take choices 2020-04-24 15:28:04 +05:30
Kovid Goyal
85b55b31b6
Add a new :opt:listen_on option in kitty.conf
Also allow using environment variables in this option
Fixes #2569
2020-04-19 09:23:52 +05:30
Kovid Goyal
457fcbfb90
Merge branch 'master' of https://github.com/akobel/kitty 2020-04-15 07:44:27 +05:30
Alexander Kobel
e6e61028b1 Rename --debug-gl to --debug-rendering 2020-04-14 19:35:40 +02:00
Kovid Goyal
747ac85e7c
Add an :option:launch --watcher option that allows defining callbacks that are called for various events in the window's life-cycle
Fixes #2440
2020-03-28 12:13:42 +05:30