8547 Commits

Author SHA1 Message Date
Kovid Goyal
9441cf15c3
Move the bash integration script into its own dir
This matches the other shells and might be useful someday
if bash ever gets a way for the invoking process to inject code
into it.

Also use KITTY_INSTALLATION_DIR when loading the bash integration code.
2021-11-29 12:30:10 +05:30
Kovid Goyal
276ed7263c
Forgot to use env rather than os.environ when checking for ZDOTDIR 2021-11-29 12:22:33 +05:30
Kovid Goyal
6b38ca3bd2
add verification for parsing shell_integration 2021-11-29 12:04:19 +05:30
Kovid Goyal
c7bf54807e
Fix capitalization 2021-11-29 11:49:58 +05:30
Kovid Goyal
b28811846a
Fix on creation IME update not being applied because render data was not yet set 2021-11-28 22:57:09 +05:30
Kovid Goyal
5561aa1d37
Allow forcing IME update 2021-11-28 22:53:45 +05:30
Kovid Goyal
8c0111cb08
Merge branch 'issue4292' of https://github.com/ctrlcctrlv/kitty 2021-11-28 22:38:56 +05:30
Fredrick Brennan
0dc8bd5520 Make the GPU selection FAQ item not require root 2021-11-28 11:59:26 -05:00
Kovid Goyal
acdf06bf5d
Tell cocoa the previous character range is invalid when updating IME position
Without this IME popup position is sometimes incorrect, for instance, at
startup
2021-11-28 22:11:21 +05:30
Kovid Goyal
5e78b1c23e
Merge branch 'fix-ime' of https://github.com/page-down/kitty 2021-11-28 21:21:35 +05:30
pagedown
088b7cde4f
Update IME status when window lost focus 2021-11-28 23:09:35 +08:00
Kovid Goyal
6a8aeb2501
Merge branch 'fix-cmd-output' of https://github.com/page-down/kitty 2021-11-28 19:41:52 +05:30
pagedown
9c326397d0
Update the last visited command output position after unscrolling 2021-11-28 21:59:58 +08:00
Kovid Goyal
28d89bdd53
Cleanup previous PR 2021-11-28 19:03:52 +05:30
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