Commit graph

664 commits

Author SHA1 Message Date
f63b8863d1
fix: add pretty error if clipboard request is denied by terminal
closes #97
2025-01-03 14:32:20 +01:00
dd042e2fdd
feat: position cursor at closest glyph boundary on click when beam cursor is enabled
closes #99
2025-01-03 13:52:47 +01:00
18b0c217fc
feat: use smaller NL symbol 2025-01-02 22:54:07 +01:00
e3d93da9e6
fix: whitespace rendering on scroll left
This also simplifies the renderer a little.
2025-01-02 22:51:36 +01:00
919d5ee9bb
feat(whitespace): add leading, eol, tabs modes and highlight leading/trailing errors
This changes whitespace rendering to use a map of the visible viewport.
The view map makes it easy and fast to implement various whitespace
highlighting and rendering features.
2025-01-02 18:27:27 +01:00
233e881f95 feat: add support for pasting from the native windows clipboard
This give us OSC52 equivalent support on windows.

closes #95
2024-12-24 14:44:12 +01:00
afca8a86bc
feat: add configuration option default_cursor 2024-12-20 21:44:35 +01:00
deaafbefa0
feat: upgrade cursors to block cursors when multi-cursor editing
This is to match the secondary cursors which are always block cursors.
It also give some visual feedback that we are multi-cursor.
2024-12-20 21:14:17 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
1aa64b8ea4
fix: hover should convert column to byte position in LSP request
closes: #85
2024-12-20 17:56:04 +01:00
030b3cb139
refactor: show modifiers of modifiers in input view 2024-12-20 17:51:49 +01:00
f02fc60e1b
feat: add resulting key event detail to input view 2024-12-20 17:26:32 +01:00
1c087203e0
fix: escape file list contents to avoid rendering garbage 2024-12-20 15:34:29 +01:00
ca784d1712
feat: allow cursor shape configuration for mini and overlay modes 2024-12-20 13:59:08 +01:00
a0d9dede18
feat: hide line highlight when selecting if theme requires it 2024-12-18 16:22:56 +01:00
c0a9be21f5
feat: sanitize non utf-8 and display a status bar warning 2024-12-18 15:52:57 +01:00
e865a89ede
feat: render secondary/unfocused cursors with secondary cursor theme style 2024-12-17 21:22:49 +01:00
32d67a3972
feat: use terminal cursors for mini mode and overlay input boxes
closes: #80
2024-12-17 19:15:20 +01:00
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
e17345eff7
fix: disable fast scroll and/or jump mode when changing to mini/overlay modes
closes: #82
2024-12-17 17:15:41 +01:00
3be04c0303
fix: overflow in find_in_files on large input 2024-12-17 17:04:33 +01:00
cbc8df69d3
feat: improve filter executable not found errors 2024-12-16 23:16:44 +01:00
af68c397bc
fix: rendering of minimode separator 2024-12-12 20:12:11 +01:00
beef23703d
fix: style of home menu items when clicked 2024-12-12 19:35:46 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +01:00
fa25d250c6
fix: improve alpha rendering on gutter 2024-12-12 19:11:54 +01:00
62a4ec1400
fix: alpha rendering of status bar 2024-12-12 18:46:57 +01:00
87e1ac1eef
fix: make helix mode save file commands easier to find
closes #76
2024-12-12 17:38:50 +01:00
6d1648a761
feat: add helix-mode save_selection command
closes #76
2024-12-12 17:38:06 +01:00
69dda065c8
fix: don't leak loggers in mainview 2024-12-12 17:25:47 +01:00
4e03fc99d4
feat: add keybind status bar widget
This widget will show the state of the leader key sequence being
processed.
2024-12-12 17:04:01 +01:00
a5849a7dab
refactor: eliminate generic InvalidArgument errors
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
8dea591341
feat: add simple add_split command (wip) 2024-12-11 21:24:00 +01:00
d6ea615283
refactor: store mainview views in a WidgetList 2024-12-11 21:19:22 +01:00
038ed4da2b
refactor: simplify getting the active editor and selection 2024-12-11 20:54:53 +01:00
4b3904d5f2
feat: add find_in_files_query command 2024-12-11 20:50:05 +01:00
ad43cd4395
fix: tie the position of home screen menu based to view plane 2024-12-11 20:44:39 +01:00
72e88ba6a3
refactor: no need to force const on allocated return values 2024-12-11 20:44:11 +01:00
3cb1fc2bba
refactor: add WidgetList.delete function 2024-12-11 20:43:32 +01:00
d08737c0fe
refactor: run zig fmt 2024-12-11 12:56:32 +01:00
9fba9eba3c
feat: add palette for changing the current file type 2024-12-10 20:10:36 +01:00
b3bd6d19b5
refactor: move hints out of generic palette 2024-12-10 20:08:43 +01:00
132518d1ba
fix: add '!' to non word chars 2024-12-10 09:49:05 +01:00
03490a7f00
fix: missing mouse events in row/column 0 2024-12-09 18:30:12 +01:00
cc14934aa5
fix: improve movement behaviour of cursors on unindent 2024-12-09 18:12:21 +01:00
5e35824a22
fix: restore cursors if unindent fails 2024-12-06 23:21:45 +01:00
dbc4707001
fix: if selection starts at BOL when indenting keep it there after indenting 2024-12-06 21:26:10 +01:00
d26d830246
fix: move a cursor at the beginning of a line that is being indented 2024-12-06 21:20:04 +01:00
c282398d6e
feat: add - < > to non word chars list 2024-12-06 21:07:56 +01:00
cd2fec9be3
feat: pre-select current theme when opening theme panel 2024-12-05 22:12:13 +01:00