Commit graph

12972 commits

Author SHA1 Message Date
Kovid Goyal
a7bdbb11f2
Document the new modal keymaps 2023-12-03 21:09:26 +05:30
Kovid Goyal
b9fabc62a5
... 2023-12-03 21:07:01 +05:30
Kovid Goyal
d483c3eb33
Fix literal field parsing 2023-12-03 20:55:47 +05:30
Kovid Goyal
d191896528
Allow more options for what to do in a custom keyboard mode on unknown and action events 2023-12-03 20:07:29 +05:30
Kovid Goyal
ca6c607148
pop_keyboard_mode should return True when nothing is done 2023-12-03 19:12:58 +05:30
Kovid Goyal
cc5424c054
... 2023-12-03 19:02:46 +05:30
Kovid Goyal
77551cdfc1
Weird macOS docs build failure 2023-12-03 15:06:12 +05:30
Kovid Goyal
c6eab841f9
Send repeat events instead of repeated presses 2023-12-03 13:29:13 +05:30
Kovid Goyal
99995fd9dc
Remote control API for send-key 2023-12-03 13:23:01 +05:30
Kovid Goyal
74388b4183
A simple action to remap key presses sent to programs running in kitty 2023-12-03 13:08:53 +05:30
Kovid Goyal
f1fc2126bc
Refactor the mapping docs 2023-12-03 12:25:15 +05:30
Kovid Goyal
9a0e84293f
... 2023-12-02 16:35:30 +05:30
Kovid Goyal
847ef008e2
Allow spaces in --when-focus-on 2023-12-02 16:23:43 +05:30
Kovid Goyal
3c4f2aa1b8
shlex.split -> shlex_split 2023-12-02 15:17:08 +05:30
Kovid Goyal
6c8f499303
Merge branch 'cursor_non_gnome' of https://github.com/jinliu/kitty 2023-12-02 15:00:50 +05:30
Kovid Goyal
b0ba4b4a42
Fast and robust implementation of shlex.split
Also returns position of words in src string which we will need for
keymap parsing.
2023-12-02 14:57:02 +05:30
Jin Liu
293cd40509 Get cursor theme from desktop portal in non-GNOME desktops
Even if current DE is not GNOME, it may still use the GNOME
desktop portal as a fallback for Settings (e.g. KDE). So if
the user installed xdg-desktop-portal-gtk, and KDE synced
its cursor theme with GNOME, then we can still get it from
the GNOME namespace in the Settings.ReadAll result from the
portal.
2023-12-02 15:00:03 +08:00
Kovid Goyal
0d10ee1a8c
DRYer 2023-12-02 08:07:25 +05:30
Kovid Goyal
d63b852b90
Un-matched modifier keys should not pop keyboard mode 2023-12-01 19:34:20 +05:30
Kovid Goyal
9560968a7d
Sequences should not participate in global shortcuts 2023-12-01 19:31:14 +05:30
Kovid Goyal
53980d00f0
a couple more tests 2023-12-01 18:16:22 +05:30
Kovid Goyal
5bc2cde454
Add --debug-input output for sequence prefix matches 2023-12-01 17:19:08 +05:30
Kovid Goyal
d4ff54e0d8
Dont use branch-protection=standard on linux ARM as it reportedly causes crashes
See https://github.com/kovidgoyal/kitty/issues/6845#issuecomment-1835886938
2023-12-01 16:48:30 +05:30
Kovid Goyal
f2075f99fd
More comprehensive is_arm check
Apparently on some Linux machines platform.machine() is 'aarch64' not
'arm64'.
2023-12-01 16:36:34 +05:30
Kovid Goyal
f46425c2f9
Fix #6876 2023-12-01 16:28:48 +05:30
Kovid Goyal
ad4e9bb42c
Add a check that the output buffer is actually sRGB 2023-12-01 13:58:09 +05:30
Kovid Goyal
97f5cad335
Request an SRGB output buffer from the window system explicitly
Possible fix for #6845
2023-12-01 13:50:11 +05:30
Kovid Goyal
788295e534
Turn on control flow protection build options 2023-12-01 07:36:02 +05:30
Kovid Goyal
336035f507
Merge branch 'feature/fix-build-problems-nix' of https://github.com/gabyx/kitty 2023-12-01 07:06:13 +05:30
Gabriel Nützi
1883208cf6 fix: Correct Nix shell for building correctly 2023-11-30 22:09:15 +01:00
Kovid Goyal
8d1fde18f8
Fix sequence mapping 2023-11-30 21:17:02 +05:30
Kovid Goyal
d7633b95d0
Get debug config printing the changes in all keyboard modes 2023-11-30 20:47:30 +05:30
Kovid Goyal
165f1ccfd1
Port the test 2023-11-30 20:06:20 +05:30
Kovid Goyal
063a663958
Beep when multi-key sequence is aborted by mismatch 2023-11-30 20:02:25 +05:30
Kovid Goyal
66bc86e4f2
Report invalid --when-focus-on expressions to user 2023-11-30 20:00:49 +05:30
Kovid Goyal
15eb03c5e2
Add no-op to paste_actions 2023-11-30 19:54:01 +05:30
Kovid Goyal
c064a2e559
Port visual_window_select to use a keyboard mode 2023-11-30 19:50:57 +05:30
Kovid Goyal
9e815212dc
Implement modal keyboard handling 2023-11-30 19:44:41 +05:30
Kovid Goyal
cb418a0040
Infrastructure for more map options 2023-11-30 13:36:29 +05:30
Kovid Goyal
716bf714db
Fix a couple of tests 2023-11-30 11:53:09 +05:30
Kovid Goyal
f11f770011
Allow creating key mappings that depend on the state of the focused window, such as what program is running inside it 2023-11-30 11:35:30 +05:30
Kovid Goyal
8a1571f62c
Add full docs for matching windows/tabs to the remote control page 2023-11-29 21:44:52 +05:30
Kovid Goyal
3876d518bd
Fix setting swap interval for newly created OS window not always working 2023-11-29 21:13:10 +05:30
Kovid Goyal
72e14053f5
Simplify unmapping key/mouse button events
No need to specify the no-op action just specify no action. More
intuitive.
2023-11-28 12:37:27 +05:30
Kovid Goyal
bd7f38eb7d
rg changed its help output to conform more closely to GNU conventions
Which is good I suppose, but it breaks hyperlinked_greps --help parsing.
I have updated it to match current rg which of course means it fails on
older rg.
2023-11-27 22:08:03 +05:30
Kovid Goyal
e19335377f
Merge branch 'update-ask-kitten-help-msg' of https://github.com/lemontheme/kitty 2023-11-27 14:54:02 +05:30
adriaan
382d2f1ed0
Update help in main.py 2023-11-26 16:53:31 +01:00
Kovid Goyal
9bb85bd294
ask kitten: Better error message when choice letter is not present in choice text. Fixes #6855 2023-11-26 10:10:50 +05:30
Kovid Goyal
c10ea63818
Implement local filename completion for the transfer kitten 2023-11-25 07:46:30 +05:30
Kovid Goyal
4b3d29ecc3
Cant wait to drop python 3.8
Fixes #6848
2023-11-24 16:49:18 +05:30