Kovid Goyal
8fbec2dfd5
remove unused arg
2022-06-02 08:07:53 +05:30
pagedown
e919857dfc
macOS: Make the global menu shortcut to open kitty website configurable
...
This allows remapping the key combination shift+cmd+/
2022-04-23 13:22:27 +08:00
Kovid Goyal
c9ef4aa8c8
Sessions: Fix os_window_size and os_window_class not applying to the first OS Window
...
Fixes #4957
2022-04-12 21:38:29 +05:30
Kovid Goyal
21446e36c1
Restore invalid LANG after trying to get python to set the locale without it
2022-04-04 20:01:01 +05:30
Kovid Goyal
0f734719e7
...
2022-04-04 19:09:13 +05:30
Kovid Goyal
02e062af65
Add a mappable action to cleanup shared SSH connections
2022-03-15 11:34:56 +05:30
Kovid Goyal
4013544efb
Cleanup control master sockets in parallel
2022-03-10 12:59:38 +05:30
Kovid Goyal
31d9db7e74
Use XDG_RUNTIME_DIR to store control master sockets
...
On Linux this has the advantage that the dir is auto cleaned on reboot
2022-03-10 12:51:21 +05:30
Kovid Goyal
3282c8200d
Dont print to stderr when shutting down master connections at exit
2022-03-10 11:22:46 +05:30
Kovid Goyal
577de9f746
ssh kitten: Start work on connection sharing
...
Basic sharing works. Now investigate if we can eliminate the round-trip
latency by transmitting the data without waiting for the start message
when using a shared connection
2022-03-09 19:27:38 +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
pagedown
7007f2e7fc
macOS: Allow to customize global menu full screen shortcut
2022-02-17 16:31:46 +08:00
Kovid Goyal
9742e2ec48
Make mypy happy
2022-02-05 19:53:16 +05:30
Kovid Goyal
39c77a9486
Allow running the launch actions by invoking the kitty executable with +open
2022-02-05 17:39:48 +05:30
Kovid Goyal
50bc5b0302
macOS: Add the default shortcut cmd+k to clear the terminal screen and scrollback up to the cursor
...
Fixes #4625
2022-02-04 11:58:52 +05:30
pagedown
ba0f61d752
Refactor: More f-string for kitty
2022-01-29 20:17:46 +08:00
Kovid Goyal
24c44861ef
Cleanup previous PR
...
Simplify wrapping of toggle_secure_input
Dont duplicate debug_keyboard flag in two places
2022-01-09 22:11:22 +05:30
pagedown
f7be4fab48
macOS: Allow mapping secure keyboard entry shortcut
2022-01-09 22:54:03 +08:00
Kovid Goyal
2d66e37dcb
Fix selection_forground=none not being respected
2021-12-05 22:00:43 +05:30
pagedown
8ed6ee97b2
Docs: replace http url with https, use ripgrep project url and fix typo
2021-11-30 18:53:58 +08:00
Kovid Goyal
0c274a9a0b
Parse actions on demand
...
This removes the startup cost of parsing hundreds of default actions
when action_alias or kitten_alias are used. Although the cost is on the
order of 1ms, this design feels cleaner and gives nicer debug config
output.
2021-11-29 21:51:42 +05:30
Kovid Goyal
aa4fa4cc85
Allow defining aliases for more general actions, not just kittens
...
Fixes #4260
2021-11-22 19:52:43 +05:30
Kovid Goyal
7c161f2d78
Check for actual executable when prepending the path
2021-11-02 15:36:03 +05:30
Kovid Goyal
34d87b7a72
Another stab at PATH manipulation
2021-11-02 14:43:20 +05:30
Kovid Goyal
46625d207b
Cleanup PATH manipulations
2021-11-02 08:57:44 +05:30
Kovid Goyal
b2f406f021
put kitty in PATH before setting default env
2021-11-01 21:37:13 +05:30
Kovid Goyal
7821e2508c
Cleanup previous PR
2021-11-01 20:52:55 +05:30
pagedown
50e4811e6d
Make sure kitty is first in the PATH and not repeatedly added when it already exists
2021-11-01 22:37:31 +08:00
Kovid Goyal
21830048c9
Fix reading session from STDIN not working when used with --single-instance
...
Fixes #4155
2021-10-28 17:00:54 +05:30
Kovid Goyal
d3a3f99848
Use an env var for fish shell integration
...
Less intrusive (in some ways) than adding symlinks to ~/.config/fish
Exploits the fact that fish loads scripts from XDG_DATA_DIRS on startup.
Thanks to @page-down for noticing
2021-10-27 14:59:11 +05:30
Kovid Goyal
b22bda3cba
Add more type annotations
2021-10-27 11:36:34 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
f302c2ae39
Binary builds: If a symlink to the correct kitty executable is already in PATH, dont add the binary bin dir to PATH
2021-10-17 06:29:01 +05:30
Kovid Goyal
b3ae857f3c
...
2021-09-29 14:25:13 +05:30
Kovid Goyal
8be0dd0d8e
Restore the --watcher command line option for backwards compat
...
It is now deprecated but not removed. And it now applies to all windows
not just initially created ones.
2021-09-29 14:18:55 +05:30
Kovid Goyal
725ec57bee
Automatically setup shell integration for ZSH
2021-08-18 10:06:06 +05:30
Kovid Goyal
9e7253c179
macOS: Set LANG to en_US if cocoa reports language as en_* that is not a valid locale
...
Fixes #3899
2021-08-05 06:29:21 +05:30
Kovid Goyal
70b5f5bce3
Fix kitty --title not overriding tab titles
...
It must set the OS Window title permanently.
Fixes #3893
2021-08-03 09:34:13 +05:30
Kovid Goyal
ebff343a55
macOS: Add reload config to kitty global menu
2021-06-13 20:34:27 +05:30
Kovid Goyal
4a71afaf96
Get rid of --debug-config
...
Instead have a keybind that shows the configuration used
by the currently running kitty instance
2021-06-05 14:27:24 +05:30
Kovid Goyal
4cff3e51cb
macOS: Add a global menu entry to reset the terminal
2021-06-05 10:12:44 +05:30
Kovid Goyal
d264c3d91e
typo
2021-06-05 10:10:23 +05:30
Kovid Goyal
93e9d3cb5f
Fix a crash on exit on macOS
...
Calling Python API functions is not allowed in atexit handlers.
Fixes #3686
2021-06-03 11:54:55 +05:30
Kovid Goyal
6d7df1c5e8
Refactor configuration file parsing
...
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Luflosi
4a67af9b90
macOS: add menu items for new_window and close_window
2021-05-25 13:54:02 +02:00
Kovid Goyal
253b219d67
Store the options object globally
2021-05-24 11:50:03 +05:30
Kovid Goyal
cbf33fa14b
Fix #3523
2021-04-23 16:23:13 +05:30
Kovid Goyal
36da65120a
It's only alt and alt+shift that dont work in global menubar
...
alt in combination with ctrl/cmd works fine.
2021-04-22 10:50:43 +05:30
Kovid Goyal
b9210a2ba4
macOS: Prevent option based shortcuts for being used for global menu actions
...
Fixes #3515
2021-04-22 10:15:10 +05:30
Kovid Goyal
850a8218db
Allow toggling xdg configure debug output at runtime
2021-04-07 15:24:58 +05:30