85 Commits

Author SHA1 Message Date
Kovid Goyal
402e57ae2d Improve docs formatting 2025-03-19 14:43:34 +05:30
Kovid Goyal
f9504b4fba Document the new click_events parameter for the shell integration protocol 2024-09-06 22:43:26 +05:30
Kovid Goyal
4f26bada31 Fix typo in bash integration script caught by the test 2024-05-09 12:39:03 +05:30
Kovid Goyal
219e53826b More efficient encoding for cmdline in the prompt marking escape code 2024-05-09 12:03:02 +05:30
Kovid Goyal
0d68a21be5 notify_on_cmd_finish: Show the actual command that was finished
Fixes #7420
2024-05-09 09:49:26 +05:30
Kovid Goyal
0b27f2cbe0 Merge branch 'fish-osc-133' of https://github.com/krobelus/kitty 2024-04-07 15:15:04 +05:30
Kovid Goyal
60f9bcf51c Document the extra fields in the prompt marking escape code that kitty supports 2024-04-07 09:50:14 +05:30
Johannes Altmanninger
8951581815 fish integration: drop redundant OSC 133 markers in upcoming fish 3.8
The upcoming fish 3.8 release will output OSC 133 sequences
unconditionally [1].

I tested ctrl-shift-{g,x,z} bindings both without and with kitty's
shell integration on top; everything seems to work.

Let's simplify kitty integration by removing the markers for the
upcoming fish >= 3.8.

I have hopes that the native OSC 133 implementation address #7200
though I'm not sure if I could reproduce this bug (I only saw a
similar bug when `fish_handle_reflow` was not enabled, which fish
also does now (same commit)).
cc @iacore let me know if you can reproduce #7200 with latest fish master.

[1]: 3b9e3e251b
2024-04-06 22:47:13 +02:00
Kovid Goyal
9df7460fe1 Add a note about how to use edit-in-kitty with sudo to edit root files 2024-03-22 11:56:44 +05:30
Guten Ye
dc82a06e9e doc: add detailed step to enable shell integration for Nushell 2024-03-04 21:41:50 +08:00
Kovid Goyal
1687c74913 Note that nushell supports shell integration 2024-03-04 19:01:31 +05:30
Kovid Goyal
954b7f87a5 Add some docs on why no-sudo might be needed 2023-11-03 08:26:54 +05:30
Kovid Goyal
d96fdb80ed Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment
This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
2023-09-24 13:35:29 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
0be1295023 kitten run-shell: Make kitty terminfo database available if needed before starting the shell 2023-09-01 22:05:26 +05:30
Kovid Goyal
f1ba9f45bc Add docs on how to use shell integration inside a container 2023-09-01 19:09:58 +05:30
Kovid Goyal
d6df77c83d ... 2023-07-30 19:49:38 +05:30
Kovid Goyal
6b3b62c933 Mark that run-shell is available from 0.29 onwards 2023-06-28 10:03:50 +05:30
Kovid Goyal
01b55a5522 Document the new run-shell kitten 2023-06-26 10:47:13 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
pagedown
617115d447 Docs: edit-in-kitty works with neovim 2022-06-28 11:22:52 +08:00
Kovid Goyal
9184de1997 ... 2022-06-10 18:44:23 +05:30
Kovid Goyal
b748cd21cf Allow opening files at a spedific line number with edit-in-kitty 2022-05-27 09:53:43 +05:30
Kovid Goyal
ea47cee23f Document edit-in-kitty 2022-05-27 07:41:54 +05:30
pagedown
13303416b8 Docs: Improve the documentations
Add more text roles and links.
Fix typos.
Adjust the default shortcut order in overview.
Notes on the impact of kitty-open.desktop on the default open apps.
Document KITTY_DEVELOP_FROM in glossary.
Add Python type hints to the watcher example.
Mention clone-in-kitty in launch --copy-env.
Fix remote control ls example does not work, by escaping the backslash.
2022-04-30 17:07:36 +08:00
pagedown
b9fd039668 Docs: Document the env vars set by kitty for auto shell integration 2022-04-30 16:54:53 +08:00
pagedown
ecb60b313e Docs: Improve clone-in-kitty documentation and fix LANG descriptions
Reduce duplicate `launch`.
Add links to python venv and conda.
Adjust the order of env vars, `.._CODE` takes precedence over `.._PATH`.
Add clone-in-kitty env vars to glossary.
Correct the description of the LANG env var.
2022-04-24 17:18:31 +08:00
pagedown
b94afbba13 ... 2022-04-18 14:51:15 +08:00
Kovid Goyal
1994c17c75 Note on how clone-in-kitty works 2022-04-18 12:08:32 +05:30
Kovid Goyal
6590d0690e Document venv and sourcing behavior of clone-in-kitty 2022-04-17 19:51:27 +05:30
Kovid Goyal
1a370ea9b6 Put the examples front and center 2022-04-14 07:59:32 +05:30
Kovid Goyal
e2bb856e41 Document clone-in-kitty 2022-04-13 21:01:45 +05:30
pagedown
901eae9604 Docs: no-cwd will not disable fish's built-in CWD reporting 2022-03-18 11:10:21 +08:00
Kovid Goyal
135fb7e6e4 ... 2022-03-15 20:01:23 +05:30
Kovid Goyal
ce1e22ac95 Have *_with_cwd work with the ssh kitten to open new windows auto-logged into the remote server at the current remote working directory 2022-03-15 19:59:16 +05:30
Kovid Goyal
4a1ad7755a Enable CWD reporting in the zsh integration 2022-03-15 14:30:21 +05:30
Kovid Goyal
ffbc9174f8 We dont change shell rc files anymore 2022-03-10 11:01:59 +05:30
Kovid Goyal
dceb00f669 typo 2022-03-10 11:00:58 +05:30
Kovid Goyal
1c0d254ec6 More ssh kitten docs 2022-03-04 07:03:38 +05:30
Kovid Goyal
7a2a849a97 Add a note that shell integration should be removed from bashrc 2022-02-22 21:45:31 +05:30
Kovid Goyal
2c96e49566 ... 2022-02-22 21:40:03 +05:30
Kovid Goyal
e7846f916a Cleanup how it works for bash 2022-02-22 21:37:50 +05:30
Kovid Goyal
88091b4ab3 BASH integration: No longer modify .bashrc to load shell integration
I think I have things setup robustly so that the shell integration
is loaded transparently via env vars and the normal bash startup files
are sourced, in the same way that vanilla bash does it. Let's hope I
haven't overlooked something.
2022-02-22 21:24:51 +05:30
Kovid Goyal
b5676a53ee Use a special role for actions documentation 2022-02-04 18:24:39 +05:30
Kovid Goyal
8960bfebc0 ... 2022-02-04 11:41:45 +05:30
Kovid Goyal
365583efd7 Clarify SI docs a little
Fixes #4626
2022-02-04 10:51:41 +05:30
Kovid Goyal
78cd83845f Fix sphinx failing to highlight fish 2022-01-23 09:43:15 +05:30
Kovid Goyal
76e7e7d61f ... 2022-01-20 08:45:03 +05:30
pagedown
c5e8a36f9b Shell integration: Improvements for fish integration
Move the completion function to the autocomplete script.
Fix some issues with cursor shape setting, respect user configuration.
Functions and vars start with two underscores, following the convention.
Other minor refactoring.
2022-01-19 09:39:23 +08:00
Kovid Goyal
71106bcd39 Shell integration: Dont override fish's native title setting functionality
See discussion: https://github.com/fish-shell/fish-shell/issues/8641
2022-01-16 15:58:11 +05:30