8333 Commits

Author SHA1 Message Date
Kovid Goyal
69ba419afd
Merge branch 'issue4292' of https://github.com/ctrlcctrlv/kitty 2021-11-28 18:57:25 +05:30
Fredrick Brennan
afbaa36fd3 Document GPU power saving affecting kitty startup 2021-11-28 08:10:45 -05:00
Kovid Goyal
346ea8c8a0
Forgot to ad dmethod in previous commit 2021-11-28 12:01:09 +05:30
Kovid Goyal
4448444d4b
Fix #4289 2021-11-28 11:47:25 +05:30
Kovid Goyal
daefb926d9
Fix zsh kitty completion when the matching style includes anchor based matchers
Debian apparently adds these by default.
2021-11-28 11:02:03 +05:30
Kovid Goyal
0a5c73dee4
Ignore errors when getting screen size for zsh completion output serialization 2021-11-28 10:35:44 +05:30
Kovid Goyal
cb09ae3e84
... 2021-11-28 10:23:32 +05:30
Kovid Goyal
3d76c916a5
Simplify zsh shell integration code
Use the add-zsh-hook and add-zle-hook-widget functions
2021-11-28 08:45:53 +05:30
Kovid Goyal
0a5ffe9b73
Add a note about _ksi_first_run 2021-11-28 08:14:16 +05:30
Kovid Goyal
325603bf41
Shell integration zsh: Handle the case when a function that breaks prompt marking is installed after _ksi_precmd
We now install the real precmd hook only in the first run of the precmd
hook. This ensures that our precmd and preexec hooks are run last,
unless something else uses this trick, which is unlikely, and at that
point, the user is on their own.

Also ensure that the integration script is run only once even if the
user tries to source it twice with setting of KITTY_SHELL_INTEGRATION
each time.
2021-11-27 12:24:19 +05:30
Kovid Goyal
3e3744753d
DRYer 2021-11-27 11:13:26 +05:30
Kovid Goyal
5bc2fa187c
Change the order of file checks since .zshrc is most likely to exist 2021-11-27 10:27:51 +05:30
Kovid Goyal
0a9005f5ce
Allow zsh-newuser-install to run
Shell integration wont be turned on for an unconfigured zsh
2021-11-27 10:21:39 +05:30
Kovid Goyal
5d491b8067
Fix include path for new kitty.zsh location 2021-11-27 08:03:43 +05:30
Kovid Goyal
16b4a4fa80
Forgot to change test for new zsh shell integration code 2021-11-27 07:49:32 +05:30
Kovid Goyal
f6e0eb4005
Shell integration: Dont modify ~/.zshrc
Instead use the ZDOTDIR env var to load the shell integration code
2021-11-27 07:19:59 +05:30
Kovid Goyal
a3370a1d18
Document the delta transmission protocol 2021-11-26 15:08:18 +05:30
Kovid Goyal
2770a853f6
Merge branch 'docs-kbd' of https://github.com/page-down/kitty 2021-11-26 07:54:47 +05:30
pagedown
bd4399b5fc
... 2021-11-26 09:26:07 +08:00
Kovid Goyal
432df2089c
Merge pull request #4277 from kovidgoyal/imgbot
[ImgBot] Optimize images
2021-11-25 11:14:43 +05:30
ImgBotApp
d9d922546f
[ImgBot] Optimize images
*Total -- 1,755.23kb -> 1,446.79kb (17.57%)

/logo/kitty.svg -- 8.90kb -> 5.57kb (37.39%)
/docs/screenshots/transfer.png -- 31.21kb -> 22.24kb (28.73%)
/docs/screenshots/themes.png -- 139.72kb -> 110.23kb (21.1%)
/logo/beam-cursor@2x.png -- 1.47kb -> 1.19kb (18.76%)
/docs/screenshots/screenshot.png -- 1,178.10kb -> 958.20kb (18.67%)
/docs/screenshots/remote_file.png -- 54.77kb -> 45.50kb (16.93%)
/docs/screenshots/hints_mode.png -- 61.53kb -> 52.64kb (14.45%)
/docs/screenshots/unicode.png -- 87.86kb -> 75.63kb (13.92%)
/docs/screenshots/panel.png -- 11.81kb -> 10.49kb (11.21%)
/docs/screenshots/diff.png -- 131.05kb -> 118.51kb (9.57%)
/docs/screenshots/splits.png -- 42.34kb -> 40.15kb (5.17%)
/logo/kitty-framed.svg -- 6.49kb -> 6.45kb (0.59%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-25 05:39:11 +00:00
Kovid Goyal
00167cd9ab
Merge branch 'docs-kbd' of https://github.com/page-down/kitty 2021-11-25 10:58:29 +05:30
pagedown
1692516955
... 2021-11-25 13:24:46 +08:00
Kovid Goyal
0bcf73f980
... 2021-11-25 10:35:53 +05:30
Kovid Goyal
e68914f46b
Rationalize usage of :kbd: 2021-11-25 10:34:25 +05:30
Kovid Goyal
fd331480fc
... 2021-11-25 10:11:12 +05:30
Kovid Goyal
ccf4a0e5e5
Merge branch 'docs-modifier-keys' of https://github.com/page-down/kitty 2021-11-25 10:10:47 +05:30
pagedown
77aa3e7e11
Use Unicode characters for modifier keys 2021-11-25 12:00:36 +08:00
pagedown
716d588ba9
Add command modifier key full name and unicode for ctrl and shift 2021-11-25 11:57:26 +08:00
Kovid Goyal
83041b1c97
Fix #4273 2021-11-25 08:02:49 +05:30
Kovid Goyal
e6311edf53
... 2021-11-24 19:52:22 +05:30
Kovid Goyal
617316e8d9
Linux: Use copy_file_range for defrag of the disk cache which should give even better performance on filesystems that support it 2021-11-24 19:42:00 +05:30
Kovid Goyal
bd21b79959
Only malloc the buffer for fast file copy when needed 2021-11-24 18:20:37 +05:30
Kovid Goyal
732ff7ee58
Move copy between files into its own module 2021-11-24 16:42:52 +05:30
Kovid Goyal
f081d6a421
Fix #4270 2021-11-24 16:37:27 +05:30
Kovid Goyal
3592a94517
Document the handling of links in the file transfer protocol 2021-11-24 09:03:59 +05:30
Kovid Goyal
e5de16bb01
Use fid_abs prefix for absolute symlinks 2021-11-24 08:41:16 +05:30
Kovid Goyal
a62e831932
Clear prompt markings when erasing the display
Fixes prompt detection failing after ctrl+l
2021-11-24 08:17:04 +05:30
Kovid Goyal
b35dd5a869
Mention updated packager notes in changelog 2021-11-24 08:05:10 +05:30
Kovid Goyal
ec28bd93c3
Minor updates to file transfer protocol docs 2021-11-23 22:29:30 +05:30
Kovid Goyal
c44b5bb03f
Allow aliases to apply to default shortcuts as well
The extra reparse costs 0.5ms at startup on my machine and is only incurred if
at least one alias is actually defined.
2021-11-23 20:24:12 +05:30
Kovid Goyal
313add715c
Use original definition for no-op 2021-11-23 19:51:25 +05:30
Kovid Goyal
56ea741126
Nicer repr for key definitions 2021-11-23 18:19:34 +05:30
Kovid Goyal
9dbdd58311
Avoid spurious exception printed to stderr when terminating a key sequence with an invalid key 2021-11-23 16:29:10 +05:30
Kovid Goyal
2ca13e886a
Avoid cyclic infinite recursion
Note that this means that any alias is only expanded once per action
2021-11-23 15:36:58 +05:30
Kovid Goyal
314efe4f68
Ignore empty alias 2021-11-23 15:10:59 +05:30
Kovid Goyal
ebd2de042d
Merge branch 'docs-conf-fmt' of https://github.com/page-down/kitty 2021-11-23 15:07:28 +05:30
Kovid Goyal
c46c551fee
... 2021-11-23 15:07:03 +05:30
Kovid Goyal
cecca854c0
Forgot to port parsing of open actions to use the new action_alias infra 2021-11-23 15:02:19 +05:30
Kovid Goyal
d7df4fa5dc
Leave kitten_alias documented 2021-11-23 14:48:45 +05:30