Use new URL scheme and define the kitty website centrally as much as possible

This commit is contained in:
Kovid Goyal
2021-07-27 09:03:11 +05:30
parent 17f3d2d581
commit 1bd39ff935
14 changed files with 42 additions and 29 deletions

View File

@@ -4,6 +4,7 @@
from typing import TYPE_CHECKING, Optional
from kitty.constants import website_url
from kitty.options.utils import parse_marker_spec
from .base import (
@@ -26,8 +27,8 @@ class CreateMarker(RemoteCommand):
short_desc = 'Create a marker that highlights specified text'
desc = (
'Create a marker which can highlight text in the specified window. For example: '
'create_marker text 1 ERROR. For full details see: https://sw.kovidgoyal.net/kitty/marks.html'
)
'create_marker text 1 ERROR. For full details see: {}'
).format(website_url('marks'))
options_spec = MATCH_WINDOW_OPTION + '''\n
--self
type=bool-set