phanium
3a3e79535b
fix(bufdelete): ctrl-c throw error in fn.confirm
( #750 )
...
`vim.fn.confirm` don't return 3 on ctrl-c, but throw an error.
```
E5108: Error executing lua Keyboard interrupt
```
2025-01-28 12:45:29 +01:00
Folke Lemaitre
6cb7fdfb03
fix(dashboard): better handling of closed dashboard win
2025-01-28 12:19:33 +01:00
Folke Lemaitre
08852ac7f8
fix(bigfile): check if buf still exists when applying syntax. Fixes #737
2025-01-28 09:10:18 +01:00
Folke Lemaitre
e87f0ffcd1
fix(picker.git): show diff for staged files. Fixes #747
2025-01-28 09:08:17 +01:00
Folke Lemaitre
d44b978d7d
fix(dashboard): fix dasdhboard when opening in a new win. Closes #767
2025-01-28 08:50:55 +01:00
Folke Lemaitre
473be039e5
fix(win): don't destroy opts. Fixes #726
2025-01-24 07:00:29 +01:00
Folke Lemaitre
2250c57529
fix(picker): stopinsert again
2025-01-24 06:47:00 +01:00
Folke Lemaitre
2ebe40cb67
fix(picker): weird loading issue sith startinsert. Fixes #724
2025-01-23 23:57:24 +01:00
Folke Lemaitre
024a448e52
fix(picker.frecency): track visit on BufWinEnter instead of BufReadPost and exclude floating windows
2025-01-23 23:25:50 +01:00
Folke Lemaitre
5b3625bcea
perf(picker.frecency): cache all deadlines on load
2025-01-23 23:25:16 +01:00
Folke Lemaitre
c2916cb526
fix(picker.input): better handling of stopinsert
with prompt buffers. Closes #723
2025-01-23 23:02:26 +01:00
Folke Lemaitre
38649556ee
feat(picker.preview): better positioning of preview location
CI / ci (push) Failing after 0s
2025-01-23 21:30:44 +01:00
Folke Lemaitre
d12e454339
feat(picker.preview): fallback highlight of results when no end_pos
. Mostly useful for grep.
2025-01-23 21:16:43 +01:00
Folke Lemaitre
e3455ef4dc
fix(picker.grep): off-by-one for grep results col
2025-01-23 21:16:43 +01:00
Folke Lemaitre
3da0b0ec11
fix(scroll): handle buffer changes while animating
2025-01-23 20:46:29 +01:00
Folke Lemaitre
ee76e9ba67
perf(picker): small optims
2025-01-23 19:52:11 +01:00
Folke Lemaitre
0396bdfc3e
feat(picker.format): filename_only
option
2025-01-23 19:52:01 +01:00
Folke Lemaitre
b86d90e3e9
fix(picker.actions): checktime
after git_checkout
2025-01-23 19:51:10 +01:00
Folke Lemaitre
08d4f14cd8
fix(picker): starting a picker from the picker sometimes didnt start in insert mode. Fixes #718
2025-01-23 19:36:50 +01:00
Folke Lemaitre
e6fb5381a9
feat(picker.git): git_log, git_log_file, git_log_line now do git_checkout as confirm. Closes #722
2025-01-23 19:18:20 +01:00
Folke Lemaitre
14f16ceb5d
fix(picker.util): prevent empty shortened paths if it's the cwd. Fixes #721
2025-01-23 19:06:55 +01:00
Folke Lemaitre
f31467637a
fix(zen): parent buf. Fixes #720
2025-01-23 17:06:52 +01:00
Folke Lemaitre
37f3888dcc
perf(picker): use picker ref in progress updater. Fixes #710
2025-01-23 15:48:10 +01:00
Folke Lemaitre
dc9c6fbd02
fix(picker.files): include symlinks
2025-01-23 14:37:09 +01:00
Folke Lemaitre
431a24e24e
fix(picker): update title on find. Fixes #717
2025-01-23 14:01:52 +01:00
Folke Lemaitre
ada83de952
feat(profiler): added support for Snacks.profiler
and dropped support for fzf-lua / telescope. Closes #695
2025-01-23 13:52:16 +01:00
Folke Lemaitre
84ee7ddf54
fix(win): better way of finding a main window when fixbuf is true
2025-01-23 13:52:16 +01:00
Folke Lemaitre
9e7bfc05d5
fix(picker.icons): opts.icons -> opts.icon_sources. Fixes #715
2025-01-23 13:12:56 +01:00
Folke Lemaitre
ba108e2aa8
fix(picker.icons): bump build for nerd fonts
2025-01-23 13:07:36 +01:00
Axel H.
a4b0a85e3b
fix(picker.icons): fix typo in Nerd Fonts and display the full category name ( #716 )
...
## Description
Thanks for the icons picker 🙇🏼
I had one in my dotfiles I was going to contribute, but you have been
faster.
So there it is, I added some things I had in mine
This PR:
- fix a typo in the Nerd Fonts source name (its plural)
- add The category full names to be consistent with emojis
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots

<!-- Add screenshots of the changes if applicable. -->
> [!NOTE]
> Would you be interested in some extra sources I was working on ? At
least Math and Box drawing ?
> [!NOTE]
> I would also switch the name the source so Source can be capitalize
like the Category and I think having Source > Category after is easier
to read as the glyph and the icons are actuelly what people search. But
this is personal taste, sp I did not submnitted this change
2025-01-23 13:06:33 +01:00
Folke Lemaitre
d03bd00ced
feat(picker): added lazy
source to search for a plugin spec. Closes #680
2025-01-23 13:04:00 +01:00
Folke Lemaitre
9d5d3bdb17
feat(picker): added opts.rtp
(bool) to find/grep over files in the rtp. See #680
2025-01-23 13:03:27 +01:00
Folke Lemaitre
11c0761055
fix(picker): don't try showing the preview when the picker is closed. Fixes #714
2025-01-23 12:46:45 +01:00
Folke Lemaitre
ee6f21bbd6
fix(picker.util): for --
args require a space before
2025-01-23 12:43:52 +01:00
Folke Lemaitre
51adb6792e
fix(picker): don't jump to invalid positions. Fixes #712
2025-01-23 12:43:33 +01:00
Folke Lemaitre
bab8243395
feat(picker.util): smart path truncate. Defaults to 40. Closes #708
2025-01-23 12:00:08 +01:00
Jorge Villalobos
b7c08df2b8
feat(picker.keymaps): add global + buffer toggles ( #705 )
...
## Description
This PR adds 2 actions to the `keymaps` picker, to toggle the `global`
and `local` options.
## Related Issue(s)
None.
## Screenshots
https://github.com/user-attachments/assets/3f4ca80a-b554-47a2-970b-15dc84f357d8
2025-01-23 10:57:16 +01:00
Folke Lemaitre
97898e910d
feat(picker): added new icons
picker for nerd fonts and emoji. Closes #703
2025-01-23 10:51:17 +01:00
Folke Lemaitre
570d2191d5
feat(debug): truncate inspect to 2000 lines max
2025-01-23 10:10:33 +01:00
Folke Lemaitre
2762c37eb0
feat(picker.keymaps): improvements to keymaps picker
2025-01-23 09:14:29 +01:00
acidclouds
bc47e0b1dd
feat(picker): preview window horizontal scrolling ( #686 )
...
## Description
This is an initial commit for trying to add horizontal scrolling for the
picker preview window.
Known issue: when scrolling horizontally with scope indent, the indent
chars persist in the preview window and don't disappear as they
should...
Edit:
I just realized this happens only when we are previewing a buffer that
is already open. Only in that case the indents are being rendered... if
we are previewing a file that is not currently open the indents don't
get rendered and therefore there is no issue. Maybe this is a bug?
Should we prevent rendering of the indent guides in the preview window?
## Related Issue(s)
- Fixes #676
## Screenshots

---------
Co-authored-by: Val Gorokhovsky <valery.gorokhovsky@riverbed.com>
2025-01-23 09:13:54 +01:00
Folke Lemaitre
79a6eabd31
fix(picker.undo): use new API. Closes #707
2025-01-23 07:53:35 +01:00
Folke Lemaitre
9b55a907bd
fix(picker): resume. Closes #709
2025-01-23 07:49:56 +01:00
Folke Lemaitre
8b2c78a3bf
feat(picker.multi): multi now also merges keymaps
2025-01-23 00:29:28 +01:00
Folke Lemaitre
859af8a255
docs: add picker cmd to docs
2025-01-23 00:20:24 +01:00
Folke Lemaitre
b878caaddc
fix(picker.lsp): use async from ctx
2025-01-23 00:13:45 +01:00
Folke Lemaitre
b24886c995
refactor(picker): item.fid => item.source_id
2025-01-23 00:13:45 +01:00
Folke Lemaitre
450d1d4d4c
feat(picker.smart): re-implemented smart as multi-source picker
2025-01-22 23:49:57 +01:00
Folke Lemaitre
9434986ff1
feat(picker): multi source picker. Combine multiple pickers (as opposed to just finders) in one picker
2025-01-22 23:49:56 +01:00
Folke Lemaitre
5e69fb83d5
feat(picker.finder): optional transform function
2025-01-22 23:49:56 +01:00