Commit graph

1661 commits

Author SHA1 Message Date
80002e4d6b
feat: add set_buffer_tab_width and set_session_tab_width commands
Also, fold the tab_width and set_tab_width commands into one. The default
command (set_tab_width) now stores the tab_width in the persistent config.
2025-08-12 12:54:34 +02:00
4037d67fe9
feat: add support for session local tab_width setting 2025-08-12 12:53:45 +02:00
63a527726a
feat: add support for arguments to mini/numeric_input modes 2025-08-12 12:04:36 +02:00
1fcec1bab5
feat: add support for numeric arguments in cli exec calls 2025-08-12 12:02:41 +02:00
fb99aebfa9
feat: minor improvements to flow SELECT mode keybindings 2025-08-11 17:46:49 +02:00
3e0e75c9c8
feat: add interactive and non-interactive commands to set the current buffer's tab_width 2025-08-11 14:29:23 +02:00
1632061144
refactor: goto minimode into a reusable numeric input minimode 2025-08-11 14:07:11 +02:00
e886b7064a
fix: check that the second click in a double click is in the same cell 2025-08-10 21:53:36 +02:00
ab0a8f3c2c
feat: show file type icon in open_file completion 2025-08-09 22:20:17 +02:00
b913b8ad87
feat: write early log output to stderr/stdout until TUI is initialized 2025-08-09 19:15:01 +02:00
8789e8b89c
fix: use proper platform path separators for config files 2025-08-09 19:12:19 +02:00
de6ca62f6d
fix: allocate file_type_name in file_type_config cache 2025-08-09 18:17:15 +02:00
72d97f61f5
feat: display file icons in open_recent palette 2025-08-09 18:09:30 +02:00
ca33259ba4
feat: return file type and icon along with file names from the project manager 2025-08-09 18:06:49 +02:00
680c6f770e
refactor: use openFileAbsolute in mainview.read_restore_info 2025-08-09 18:06:12 +02:00
aee7c30c65
feat: display indent mode in status bar 2025-08-08 21:30:42 +02:00
009972309c
feat: send LSP did_open messages when restoring workspace state 2025-08-08 21:02:51 +02:00
68a5de5aa7
refactor: move lsp_version field to Buffer 2025-08-08 21:02:16 +02:00
1ebdae310e
feat: save and restore tabbar state 2025-08-08 20:40:00 +02:00
a98d4e02a7
fix: restart with no open file should return to home screen 2025-08-08 13:32:57 +02:00
dd2601b627
feat: store/restore buffer dirty state 2025-08-08 13:16:17 +02:00
f2a3075d58
fix: correct restore of buffer meta data 2025-08-08 13:11:36 +02:00
68afe42161
feat: add command to add new task to task list 2025-08-08 13:07:34 +02:00
e7e3aaecfd
feat: update thespian for cbor null optionals support 2025-08-08 12:52:06 +02:00
991c47f3b3
feat: restore buffer manager state on restart 2025-08-07 18:02:55 +02:00
1babf86ce4
fix: crash in Buffer.set_file_path 2025-08-06 19:46:38 +02:00
c88e2dd975
fix: don't leak Buffer.file_path 2025-08-05 15:24:18 +02:00
886a2582a3
fix: re-write save_as to work properly with multiple buffers 2025-08-05 15:07:08 +02:00
3cace58049
feat: add Buffer.reset_from_string_and_update function 2025-08-05 15:07:08 +02:00
652db7d9b9
refactor: add Buffer.mark_dirty() function 2025-08-05 13:41:48 +02:00
e13295100b
fix: set outer mode from delayed init if there is already an overlay mode active
This fixes starting flow with a command to initally open an overlay and then
cancelling or exiting the overlay without loading a new mode.
2025-08-05 12:38:12 +02:00
67fc1581d3
feat: refresh open_recent palette when the project is done loading the file list 2025-08-05 10:23:53 +02:00
4ca455cbba
fix: ensure palettes are never smaller than their input hint 2025-08-05 10:01:06 +02:00
8ea3356b57
fix: use line buffer for stdout and stderr by default in shell module 2025-08-05 10:01:06 +02:00
1f74ef2559
feat(file_browser): complete into subdirs when there is only one match 2025-08-05 08:28:33 +02:00
261acbc681
feat: use case insenstive matching for file_browser completion 2025-08-05 08:18:49 +02:00
ac9517365d
refactor: clean-up open_file.select 2025-08-04 21:06:54 +02:00
a9380e0395
feat: make change_project call open_recent instead of jumping to last file 2025-08-04 20:53:35 +02:00
4ee3dd4bba
feat: allow open_file to open directories too
Also, add the full project path to the path entry box.
2025-08-04 20:44:19 +02:00
f0b079b43b
fix: regression in emacs mode fallback handling 2025-08-04 20:34:20 +02:00
dc69e8a456
feat: make hover_time configurable 2025-08-04 10:55:33 +02:00
032eb30c45
fix: bump hover time to 500ms 2025-08-04 10:53:46 +02:00
d2c9c558f0
fix: don't call hover_at_abs unless we have a mouse event 2025-08-04 10:40:00 +02:00
410a6aadce
fix: branch widget: don't call git status if there is no git workspace 2025-08-04 09:47:24 +02:00
5724739b51
fix: don't log blank lines output by git to stderr 2025-08-04 09:37:00 +02:00
Ingo Lohmar
28da270834 harmonize selection display 2025-08-03 18:07:58 +02:00
a5af34e13f feat: select mode widget style "fancy" or "plain" with descriptor arg
"fancy" mode is the previous behaviour and the default. "plain" mode makes the
mode widget use the same styling as other status bar widgets.

Select "plain" mode with a descriptor arg in the config. e.g:

`
bottom_bar "mode:plain file log selection diagnostics keybind branch linenumber clock spacer"
`
2025-08-03 17:53:34 +02:00
Ingo Lohmar
d011294c69 use statusbar.hover style for actual hovering
The style was used for regular display of the style_label instead, which
gives the current keymap/mode weird prominence, and which means that
actual (mouse) hovering needed to use the unrelated "selection" style.

This commit uses the hover style for just hovering, or if a mini mode is
used (which, to me, sounds at least plausible).

For modal-workflow users, it may be more helpful to actually highlight
the mode (sometimes?), but I have no experience with that.
2025-08-03 17:53:34 +02:00
0c98460ca8
refactor: remove duplicate style definition in modestate widget 2025-08-03 17:28:37 +02:00
b97b8e8fb7
feat: auto hide tabs widget if there are less than {n} tabs
This can be configured via an integer argument in the bar widget descriptor, or
via the tab styles configuration file. A value of 0 will effectively disable
auto hide.
2025-08-03 17:08:53 +02:00