Commit graph

409 commits

Author SHA1 Message Date
gabydd
7dbb5458f5 start porting over helix keybindings
some are completly wrong many have comments about
what the proper helix command looks like,
only touches normal mode
2024-09-02 13:44:48 +02:00
7b877de6d7
feat: use palatte instance specific name and icon 2024-08-31 21:13:55 +02:00
2d67d4a2c6
feat: use current file name as default for save as 2024-08-30 21:03:45 +02:00
3ec4f5d429
feat: add flow mode keybinding for save_as (C-S-s) 2024-08-30 20:25:26 +02:00
a2674c121e
feat: add save_as mini mode 2024-08-30 20:25:26 +02:00
c54896a86c
refactor: split open_file mini mode into file_browser & open_file 2024-08-30 20:15:51 +02:00
062c989e6f
fix(open_file): restore match expression when returning to first completion 2024-08-29 21:46:17 +02:00
d4162e9f64
fix(open_file): fix matching in project root 2024-08-29 21:45:32 +02:00
8beddc5ea2
feat(open_file): complete files per directory with simple prefix matching 2024-08-29 21:36:51 +02:00
9b80687373
fix: sort by length (shortest first) for equal fuzzy matching scores in palette 2024-08-29 19:09:25 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
gensss
c3603443f9 open_file: fix possible underflow in delete_to_previous_path_segment
When opening a file, if one writes only "/" then presses ctrl+backspace the "path" slice will end up [0 .. -1].

This crashes in debug build, and possibly in some rare circumstances in release build.
2024-08-27 21:41:47 +02:00
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +02:00
4700505362
feat: add S-tab keybinding to open_file 2024-08-26 22:42:38 +02:00
0c6f7a50b8
feat: make C-Backspace in open_file delete to previous path segment 2024-08-26 21:58:05 +02:00
f1e3165dc3
feat: add fuzzy search file completion in open_file command
closes #30
2024-08-26 21:49:32 +02:00
da7a2d2330
feat: add beam and underline cursors to helix modes 2024-08-26 20:57:27 +02:00
0b42308321
feat: duplicate vim modes to create helix modes 2024-08-26 20:54:21 +02:00
Tim Culverhouse
d4b7a6ab9b vim: change cursor shape when only one cursor
In vim mode, change the cursor shape depending on the mode. This is only
applicable if `enable_terminal_cursor` is set to true and there is only
one cursor in the editor.
2024-08-26 20:49:54 +02:00
13c80e2c49
feat: add flow mode keybindings for new goto commands 2024-08-25 15:07:33 +02:00
xdBronch
9e59e808ba
add more goto commands 2024-08-25 15:03:23 +02:00
0758838cce
feat(vim): add Shift-i keybind for vim normal mode 2024-08-24 18:57:43 +02:00
08e06bc8dd
refactor: clean-up flow logo rendering 2024-08-21 21:55:35 +02:00
e83d9ea74d refactor: simplify load_entries in command and theme palette 2024-08-19 22:53:38 +02:00
67ffff4caa fix: allocate and free entry.name in open_recent_project palette 2024-08-19 22:52:19 +02:00
e6db0ce970 feat: add repeat keys for all palettes 2024-08-19 20:36:09 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
ea31e414ee refactor: clean-up command naming 2024-08-18 17:59:28 +02:00
f9c029f617 feat: add show_diagnostics command and bind it to C-S-m and diagstate.on_click 2024-08-18 17:29:59 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
78489e31f6 feat: add find all references LSP command 2024-08-16 00:02:42 +02:00
4b6c08154b feat: add theme selection palette
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00
953fc8535c feat: add up/down/enter keybindings to find_in_files mode to browse and select matches 2024-08-12 23:23:17 +02:00
49b701c9af fix(command_palette): let pageup move all the way to the top 2024-08-11 22:41:04 +02:00
221bc5741d feat: improve styling of command palette scrollbar 2024-08-11 21:59:05 +02:00
8abeea6c98 refactor: minor formatting clean-up in open_recent 2024-08-11 21:37:25 +02:00
3cbca45b82 feat: improve layout of filelist view 2024-08-11 21:03:37 +02:00
9d9d9388b9 feat(open_recent): always size open recent file list to longest known file path 2024-08-08 21:37:16 +02:00
6ca9dad1e4 refactor: remove duplicate C-S-i binding on home screen 2024-08-07 18:28:44 +02:00
bbafcf68a5 feat: add goto_next/prev_file_or_diagnostic bindings to home screen 2024-08-05 21:39:49 +02:00
948328bcd0 docs: update readme and help 2024-08-01 18:10:05 +02:00
9a6c5baf8b feat: add keybindings for next/previous file in filelist_view (A-n/p) 2024-07-28 22:41:07 +02:00
5f22ce81bc feat: improve find in files performance 2024-07-28 00:13:18 +02:00
f535fc02bf feat: more work on new find in files results table 2024-07-27 23:57:56 +02:00
a5f27f51a1 feat(open_recent): color open recent pointer 2024-07-27 23:12:40 +02:00
24d07ec8a4 feat(palette): color command palatte pointer 2024-07-27 23:12:12 +02:00
c1d3394246 fix(palette): wrong use of command.ID in set_used_time 2024-07-27 13:41:59 +02:00
2db66a1369 feat: improve rendering of long file names in open recent file list 2024-07-22 23:44:22 +02:00
66df590541 refactor(find): use dynamic input buffer in find mode and improve some edge cases 2024-07-05 19:56:01 +02:00
3e34271059 fix: unbind restart command
It's too dangerous to have on a key bind by default and can be called
via the palette now anyway.
2024-06-30 22:47:07 +02:00