Mitchell Hashimoto
46ba3189f6
config: image-storage-limit to set maximum image memory per terminal
2023-08-23 16:58:16 -07:00
Mitchell Hashimoto
7ccf86b175
remove imgui and devmode
...
imgui has been a source of compilation challenges (our fault not theirs)
and devmode hasn't worked in awhile, so drop it.
2023-08-20 08:50:24 -07:00
Mitchell Hashimoto
e92021e0c9
config: repeatablestring must copy values it parses into arena
2023-08-18 18:13:19 -07:00
Mitchell Hashimoto
cbd6a325e9
config: macos-option-as-alt now accepts "left", "right"
2023-08-14 12:50:21 -07:00
Mitchell Hashimoto
2ed6e6a40a
config: remove pc style function keys, handled separately now
2023-08-13 14:55:32 -07:00
Mitchell Hashimoto
5e2fa50d0b
macos-option-as-alt config, handle alt-prefix for charCallback
2023-08-13 14:55:31 -07:00
Mitchell Hashimoto
5d6086a1b1
"copy-on-select" configuation to disable
2023-08-09 14:44:24 -07:00
Mitchell Hashimoto
2fb8ad8196
linux default keybindings for scroll top, bot, page up, down
2023-08-09 07:40:55 -07:00
Mitchell Hashimoto
a8380e937d
scroll top, bot, page up, page down binding actions
2023-08-09 07:24:11 -07:00
Mitchell Hashimoto
7ac61469c9
bind sequences for PC style function keys from xterm
...
Fixes #256
This makes a whole lot more sequences work, such as `ctrl+left`,
`ctrl+shift+f1`, etc. We were just missing these completely.
This also found an issue where if you split a sequence across two
`write()` syscalls, then `/bin/sh` (I didn't test other shells)
treats it as two literals rather than parsing as a single sequence.
Great.
2023-08-08 16:43:27 -07:00
Kevin Hovsäter
22b8173164
Fix typos
2023-08-08 14:27:34 +02:00
Mitchell Hashimoto
22296b377a
Revert "Merge pull request #244 from mitchellh/alt-as-esc"
...
This reverts commit c139279d479682c17f63d9b57c2d56608d09d16a, reversing
changes made to 4ed21047a734d7c586debe0026e3b6ea90ed1622.
We do want to do this but this broke bindings.
2023-08-07 17:06:40 -07:00
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