Commit Graph
32 Commits
Author SHA1 Message Date
Luflosi a792c94ccf Use python3 shebang for all python scripts
Fixes #1624.
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal c660840c19 When encountering errors in kitty.conf report them to the user instead of failing to start. 2019-04-28 20:53:59 +05:30
Kovid Goyal 5953c2097d Expand env vars throughout command lines
When converting strings to command lines interpret env vars in all the
parts of the command line not just the first item. Fixes #1535
2019-04-13 13:53:32 +05:30
Kovid Goyal b6724ed177 ... 2019-03-24 10:06:18 +05:30
Kovid Goyal fcedc9f5c3 Allow setting :opt:active_border_color to `none` to not draw a border around the active window
Fixes #805
Fixes #1491
2019-03-24 10:04:32 +05:30
Luflosi ed62e72a98 Warn when a line in the config file is invalid 2019-03-14 18:46:36 +01:00
Luflosi a28710c1fc Minor refactor 2019-03-14 18:46:36 +01:00
Kovid Goyal b49b34c4c1 Micro-optimization 2019-02-14 15:41:29 +05:30
Kovid Goyal 1d275c6b35 Only import the ast module on demand 2018-08-27 12:43:20 +05:30
Kovid Goyal 1695f6800c Expand links to kitty docs in sample kitty.conf 2018-07-20 21:21:52 +05:30
Kovid Goyal 568a4c9b5d Re-raise KeyError idiomatically 2018-06-29 13:49:08 +05:30
Marcus Albertsson 12975347ee Fix: Exception in conf utils
The bug was related to trying to split a string with unstript spaces in
the action parameter. It resulted in a unbound error as there was no
previous raise when getting the key from args_funcs. The fix is twofold,
it makes sure that we raise the keyerror if we're trying to grab a non
existing key and we're stripping the spaces from the action before
splitting.

This should fix both the unbound error and the not being able to resolve
correct actions.
2018-06-29 08:56:25 +01:00
Kovid Goyal 53ae5a4f8d A new tab bar style 2018-06-06 13:27:15 +05:30
Kovid Goyal 351e1a5a15 Tabulate consecutive maps 2018-06-05 14:06:57 +05:30
Kovid Goyal 3983953e72 Indented blocks should also be doc-commented 2018-06-05 13:54:39 +05:30
Kovid Goyal 84ad0604f4 Wrap generated conf file 2018-06-05 13:22:09 +05:30
Kovid Goyal 2b0d8bfe46 Get rid of the default kitty.conf 2018-06-05 09:17:31 +05:30
Kovid Goyal 4fa8cb562a Finish adding shortcuts to docs 2018-06-05 07:52:31 +05:30
Kovid Goyal 429efd70ff More conf docs 2018-06-05 07:52:31 +05:30
Kovid Goyal 4c636fdeca More conf docs 2018-06-05 07:52:31 +05:30
Kovid Goyal 1168687923 More conf docs 2018-06-05 07:52:30 +05:30
Kovid Goyal db32079bd8 More conf docs 2018-06-05 07:52:30 +05:30
Kovid Goyal e8bd6f4493 Initial stab at adding shortcuts to the docs 2018-06-05 07:52:30 +05:30
Kovid Goyal cd36e3b314 oops 2018-06-05 07:52:30 +05:30
Kovid Goyal b98fca972f More conf docs
Add a 🔗 role that works nicely in both contexts
2018-06-05 07:52:29 +05:30
Kovid Goyal 6c1434ab8a More conf docs
Also dont parse option values unnecessarily
2018-06-05 07:52:29 +05:30
Kovid Goyal b6d33e2019 More conf docs 2018-06-05 07:52:29 +05:30
Kovid Goyal 2ae3157d49 Simplify by using the option definition as a title 2018-06-05 07:52:28 +05:30
Kovid Goyal 1c2c98c1a4 More conf docs 2018-06-05 07:52:28 +05:30
Kovid Goyal 8d446d15e8 Add vim header to generated conf file 2018-06-05 07:52:28 +05:30
Kovid Goyal 9dc9fb2012 Start work on documenting the conf file 2018-06-05 07:52:27 +05:30
Kovid Goyal 7cf6b8b594 Move the config utils into its own package 2018-06-03 11:54:26 +05:30