Mitchell Hashimoto
32eb226fa3
non-macos doesn't support directional bindings
2023-08-07 14:52:20 -07:00
Mitchell Hashimoto
67cbabd605
make keyboard modifiers left/right-aware throughout core
2023-08-07 14:33:56 -07:00
Mitchell Hashimoto
2840062ad5
bind shift+<page-up/down> to jump_to_prompt back/forward, respectively
2023-08-05 21:32:30 -07:00
Thorsten Ball
b56ffa6285
Add config setting to turn non-native fullscreen on or off
2023-08-04 14:12:33 -07:00
Thorsten Ball
920b90ba1a
config: change default keybind for goto-split on non-Darwin
...
Feel free to ignore or close this, because this is personal and if I
could figure out the syntax, I'm sure I could overwrite the keybindings
in the config myself.
But here's my case: `Ctrl+[` sends escape and I use that instead of
`Esc` because it's easier to reach (capslock is remapped to `ctrl`, so
`ctrl+[` is homerow only).
Kitty uses it's own "kittymod" combo for a lot of keybindings and for
the equivalent of these two, it uses `Ctrl+shift`. That's already taken
by other keybindings, so I added `.super` here.
Again: feel free to ignore. Personal preference. If you close this PR,
I'll have to tweak my config on Linux.
2023-07-23 14:02:39 +02:00
Mitchell Hashimoto
bf25bf0a6a
move a bunch of files to src/os
2023-07-10 16:48:22 -07:00
Mitchell Hashimoto
5faafbbfa5
write_scrollback_file binding
2023-07-09 12:28:48 -07:00
Mitchell Hashimoto
247638c2da
config: support enum cloning
2023-07-06 18:13:26 -07:00
Mitchell Hashimoto
02d0619f87
change "auto" to "detect" for shell integration
2023-07-06 18:05:01 -07:00
Mitchell Hashimoto
8239f09d9d
allow configuring shell integration injection
2023-07-06 18:04:12 -07:00
Mitchell Hashimoto
9f86c48fd8
keybinding jump_to_prompt for semantic prompts
2023-07-06 10:30:29 -07:00
Mitchell Hashimoto
45ac9b5d4c
font-feature config to enable/disable OpenType Font Features
2023-07-05 13:12:30 -07:00
Mitchell Hashimoto
9a079bb5b9
background-blur-radius for macOS
2023-07-03 20:43:53 -07:00
Mitchell Hashimoto
7896f99f2f
config: clarify reload
2023-07-03 19:45:36 -07:00
Mitchell Hashimoto
017da411f8
metal: start setting up background transparency
2023-07-03 17:59:50 -07:00
Mitchell Hashimoto
8756090266
config: add background-opacity and float parsing for config
2023-07-03 17:50:45 -07:00
Thorsten Ball
8e464db049
Toggle fullscreen on super/ctrl+return, only macOS for now
...
This fixes or at least is the first step towards #171 :
- it adds `cmd/super + return` as the default keybinding to toggle
fullscreen for currently focused window.
- it adds a keybinding handler to the embedded apprt and then changes
the macOS app to handle the keybinding by toggling currently focused
window.
2023-07-02 20:23:49 +02:00
Mitchell Hashimoto
3795cd6c2d
font: turn rasterization options into a struct, add thicken
2023-07-01 09:55:19 -07:00
Mitchell Hashimoto
314f9287b1
Update Zig ( #164 )
...
* update zig
* pkg/fontconfig: clean up @as
* pkg/freetype,harfbuzz: clean up @as
* pkg/imgui: clean up @as
* pkg/macos: clean up @as
* pkg/pixman,utf8proc: clean up @as
* clean up @as
* lots more @as cleanup
* undo flatpak changes
* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
56f8e39e5b
Update zig, mach, fmt
2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
f31d6fb8fe
apprt: clean up how apprt initializes surfaces
2023-05-31 21:08:50 -07:00
Jack Pearkes
5aa3514122
config: add confirm-close-surface
2023-04-05 12:49:03 -07:00
Mitchell Hashimoto
16244d0dab
apprt/gtk: close keybind doesn't leak memory
2023-03-27 10:24:01 -07:00
Mitchell Hashimoto
0cd6e08ca3
if no argv, then don't load CLI args
2023-03-20 15:51:27 -07:00
Mitchell Hashimoto
ce10d875b6
Merge pull request #117 from mitchellh/config-stuff
...
Reloadable Configuration
2023-03-19 12:32:23 -07:00
Mitchell Hashimoto
f28b677417
don't look up default shell from SHELL env if shell is set
2023-03-19 12:13:56 -07:00
Mitchell Hashimoto
b26e51d222
macos: implement config reloading callback
2023-03-19 09:50:54 -07:00
Mitchell Hashimoto
f5c1dfa374
reload_config keybinding (defaults to ctrl+alt+super+space)
2023-03-19 09:50:53 -07:00
Mitchell Hashimoto
3ce7baf30e
config: dedicated load func so we can reload
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
11e4215f9f
config: implement comparison for keybinding change
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
0d93da5f30
config: changed() to test if a specific key has changed
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
16166b6297
config: implement change iterator (one todo)
2023-03-19 09:49:44 -07:00
Mitchell Hashimoto
510f4b4699
config supports clone() operation for a deep copy
2023-03-19 09:49:42 -07:00
Mitchell Hashimoto
8b9a1d8530
linux: proper split shortcuts
2023-03-17 14:27:49 -07:00
Mitchell Hashimoto
b0cb46dab9
linux copy/paste defaults to ctrl+shift+c/v
2023-03-16 23:27:21 -07:00
Mitchell Hashimoto
0744e504e1
Use proper Linux default keybindings
...
These are just different from macOS. I've looked at various Linux
terminals and there seems to be some general consensus around this.
2023-03-16 21:59:17 -07:00
Mitchell Hashimoto
3976da8149
macos: navigate splits directionally
2023-03-11 17:55:31 -08:00
Mitchell Hashimoto
04c38ef3b0
macos: change focus callback to use an enum so we can get other dirs
2023-03-11 17:44:00 -08:00
Mitchell Hashimoto
b582691185
macos: hook up all the bindings so we're ready to handle focus event
2023-03-11 16:22:04 -08:00
Mitchell Hashimoto
0aadd19282
macos: close surface works
2023-03-10 14:44:33 -08:00
Mitchell Hashimoto
6c857877e8
apprt/embedded: close surface callback
2023-03-08 15:05:15 -08:00
Mitchell Hashimoto
8ce6f349f8
input: new_split binding, can parse enums
2023-03-08 08:57:38 -08:00
Mitchell Hashimoto
89d07fcd83
clear_history binding, default Cmd+K
2023-03-03 09:27:47 -08:00
Mitchell Hashimoto
2a40bdabca
macos: load config file default file locations
2023-03-03 09:01:13 -08:00
Mitchell Hashimoto
d8537732dd
config: add functions to load from home and load configured
2023-03-03 08:57:21 -08:00
Mitchell Hashimoto
e28d20a05d
disable the auto balance config by default, add some padding
...
This makes resizing too jittery which I think is a worse out of the box
experience than the padding.
2023-03-02 12:55:46 -08:00
Mitchell Hashimoto
6b23dbb169
flatpak: use host-spawn to find default shell
2023-02-25 21:56:51 -08:00
Mitchell Hashimoto
6c6a3d6a5d
"goto_tab" key binding to jump to a specific tab, defaults to Super+N
...
The apprt surface must implement `gotoTab` to make this work. This is
only implemented in GTK for now.
2023-02-25 10:48:38 -08:00
Mitchell Hashimoto
aa2d3720b6
gtk: previous/next tab bindings
2023-02-25 10:29:58 -08:00
Mitchell Hashimoto
ac1c961c4e
gtk: close tab button
2023-02-24 15:54:36 -08:00