Kovid Goyal
7ae0e8da62
...
2025-08-12 20:50:09 +05:30
Kovid Goyal
be63598355
desktop-ui: Add config to control file chooser popup size
...
Fixes #8894
2025-08-12 20:47:26 +05:30
Kovid Goyal
c0c3a48b4a
Cleanup previous PR
2025-08-04 20:31:31 +05:30
Nathan Monfils
dd7fa6b25a
kitten desktop-ui: Do not create an empty *-portals.conf file
...
In the case where a portals.conf file does not exist in the user
configuration, there is nothing to patch; we should default to defining
the relevant portals for kitty.
2025-08-04 16:44:08 +02:00
Nathan Monfils
ff1c8ab917
kitten desktop-ui portal.go: Compat with XDG spec
...
1. Make sure we coalesce XDG_DATA_HOME as per the spec
On my machine /etc/profile.d/flatpak.sh sets
XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
but XDG_DATA_HOME is unset.
2. Update directory creation logic to find-or-create
`enable_portal`'s current behavior is to first find a writable directory and
write the portal definition to it, then fall back to creating a directory
in the first available configuration directory.
This is incorrect in the case where one of the locations in
XDG_DATA_DIRS already has a directory, we should still prioritize
XDG_DATA_HOME.
2025-08-04 16:41:58 +02:00
Kovid Goyal
0382463bcb
Grab keyboard when running file chooser kitten via portal
2025-07-30 07:52:19 +05:30
Kovid Goyal
0f67ff37df
Allow accepting the currently displayed parent directory by pressing ctrl+enter
2025-07-24 08:20:43 +05:30
Kovid Goyal
fd5876b94e
Use SIMD to replace C0 control codes in Go code
2025-07-21 08:54:22 +05:30
Kovid Goyal
b980eb2726
Fix sort by dates initial application
2025-07-20 21:44:29 +05:30
Kovid Goyal
92988c19c0
...
2025-07-20 19:30:26 +05:30
Kovid Goyal
bd0f55531f
Implement previews for plain text files
2025-07-20 19:24:17 +05:30
Kovid Goyal
28fce006d6
Make highlight code fully re-useable
2025-07-20 15:37:03 +05:30
Kovid Goyal
2bdbbd909c
Handle color scheme changes in choose-files kitten
2025-07-20 13:43:59 +05:30
Kovid Goyal
9068bbaba9
Make code to highlight file re-useable
2025-07-20 10:32:31 +05:30
Kovid Goyal
2e92d610d5
Implement metadata based previews in choose-files
2025-07-20 09:31:17 +05:30
Kovid Goyal
6347ea0210
Add a note to icat --clear that it doesnt work with terminal multiplexers
...
Fixes #8839
2025-07-20 08:26:39 +05:30
Kovid Goyal
fbe982e1aa
choose files: Option to display title at top when OS titlebar is not available
2025-07-16 19:41:30 +05:30
Kovid Goyal
966f2cb700
Basic documentation for the choose files kitten
2025-07-16 13:15:27 +05:30
Kovid Goyal
c8a20dbe58
Start documenting the choose-files kitten
2025-07-16 06:16:38 +05:30
Kovid Goyal
9e7c46b253
clipboard kitten: Allow using a password to avoid repeated confirmation prompts when accessing the clipboard
...
Fixes #8789
2025-07-13 14:12:31 +05:30
Kovid Goyal
02f264af90
Fix #8815
2025-07-13 08:13:00 +05:30
phanium
3c54cb99d9
Fix kitten choose-files panic
...
Error: Panicked: runtime error: invalid memory address or nil pointer
dereference
Panicked with error: runtime error: invalid memory address or nil
pointer dereference
Stacktrace (most recent call first):
github.com/kovidgoyal/kitty/kittens/choose_files.(*FileSystemScanner).worker
kitty/kittens/choose_files/scan.go:351
2025-07-12 22:32:08 +08:00
Kovid Goyal
80ce6946f7
Show a spinner while scanning/scoring is in progress
2025-07-12 08:34:15 +05:30
Kovid Goyal
fef57bd4c2
Format counts using user locale
2025-07-12 08:24:06 +05:30
Kovid Goyal
b01b73a8e5
Add --debug-input for panel and quick access terminals
2025-07-12 07:29:42 +05:30
Kovid Goyal
f34007c65a
Handle multiple save files when entering save file names
2025-07-11 21:47:11 +05:30
Kovid Goyal
8ce7346616
mapping to switch to typing a save file name
2025-07-11 21:09:38 +05:30
Kovid Goyal
2bd8534df9
Implement completion for the save file entry prompt
2025-07-11 20:44:51 +05:30
Kovid Goyal
564195f94f
Show results frame in cyan while scan in progress
2025-07-11 11:05:39 +05:30
Kovid Goyal
ecdeea930b
Implement bindings to move current to first/last
2025-07-11 10:59:29 +05:30
Kovid Goyal
b4e75bf475
Limit the number of selections displayed in the footer
2025-07-11 10:40:43 +05:30
Kovid Goyal
513fd720eb
Implement mouse interaction with result list
2025-07-11 10:36:20 +05:30
Kovid Goyal
6856df4391
DRYer
2025-07-11 07:32:02 +05:30
Kovid Goyal
3134941a84
Add keyboard shortcuts for toggling scan settings
2025-07-11 07:14:07 +05:30
Kovid Goyal
3fb9154f93
...
2025-07-10 20:54:43 +05:30
Kovid Goyal
a836531a99
Show current selected files in footer
2025-07-10 20:52:45 +05:30
Kovid Goyal
35b2553723
Mark selected files
2025-07-10 19:39:18 +05:30
Kovid Goyal
3469e1b044
Make the keyboard shortcuts configurable
2025-07-10 16:20:45 +05:30
Kovid Goyal
27736af979
Add visible controls for scan settings
2025-07-10 15:28:11 +05:30
Kovid Goyal
6f511ae66a
Add a bunch of settings to control filesystem scanning
2025-07-10 10:30:48 +05:30
Kovid Goyal
96ba62f34e
API to toggle the new flags
2025-07-09 21:08:18 +05:30
Kovid Goyal
0f8d1ec5cc
Add flags to control respecting ignores and showing hidden files/folders
2025-07-09 20:46:45 +05:30
Kovid Goyal
932b0ccdc5
Add tests for ignore file processing
2025-07-09 20:21:06 +05:30
Kovid Goyal
f742009c55
Ensure global gitignore file is not loaded in tests
2025-07-09 14:31:46 +05:30
Kovid Goyal
351275cb8c
Work on adding ignorefiles support to choose-files
2025-07-09 11:54:43 +05:30
Kovid Goyal
a341f8b56f
Nicer error message
2025-07-09 11:48:40 +05:30
Kovid Goyal
b6b027802e
Fix service activation file generation
2025-07-06 13:34:29 +05:30
Kovid Goyal
a7fdbcfcd0
...
2025-07-06 13:19:07 +05:30
Kovid Goyal
acfed67d77
DRYer
2025-07-06 13:17:25 +05:30
Kovid Goyal
df7a3943ac
...
2025-07-06 13:13:52 +05:30