Commit graph

66 commits

Author SHA1 Message Date
Alexis Opolka
d62f8c7e04
Update navi.plugin.fish 2025-06-10 11:09:20 +02:00
Lam Chau
a7efad2740 docs: add references to fish 2025-06-07 14:36:02 -07:00
Lam Chau
fcbd6c3350 style: use long options for self-documentation 2025-06-06 19:49:35 -07:00
Lam Chau
0076018ada fix: add version check for fish v4+ 2025-06-06 13:24:02 -07:00
Lam Chau
023e52d1fb fix: prevent prompt corruption in fish v4
fish v4 introduced new multiline prompt rendering behavior that breaks
when interactive commands like `navi` are injected via keybindings. this
resulted in partial prefix symbols (e.g. from a prompt's newline
component) being left on screen and improperly rendering the expanded
command (e.g. `gzgzip` instead of `gzip`).

this forces a full redraw so it's cosmetically identical to running
`navi` (as a command without insertion)
2025-06-06 02:21:54 -07:00
KITAGAWA Yasutaka
63548f5cf3
Fix widget powershell
Clear current input before inserting navi's output.
2025-03-18 07:27:18 +09:00
alexis-opolka
211795f8d5 Fixes the issue with unauthorized I/O redirection
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-16 11:28:26 +01:00
alexis-opolka
259114daa0 Fixes powershell export
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-16 10:39:35 +01:00
alexis-opolka
838527dbbb Update Module exports
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-16 10:04:46 +01:00
alexis-opolka
fbc94b0a3e Update powershell plugin definition and exports
Co-authored-by: KITAGAWA Yasutaka <kit494way@gmail.com>
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-16 07:44:49 +01:00
alexis-opolka
0531554816 Integrates the shortcut key in the module definition
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-14 23:59:12 +01:00
alexis-opolka
89e71794c6 Update navi pwsh plugin
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-03-14 23:41:47 +01:00
Alexis Opolka
7a2108cb20
Create navi.plugin.psm1
Moves the file to the base folder, removed cmdlets handlers and related options. Still needs modifications.
2025-03-07 19:44:12 +01:00
Alexis Opolka
54b707c201 Revert "Moves Navi plugin to its own repository"
This reverts commit 2bb57a23b8.
2025-03-07 18:37:15 +00:00
alexis-opolka
6f82c186a7 Adds a check to create the profile file if it doesn't exist
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-02-28 01:02:32 +01:00
alexis-opolka
2bb57a23b8 Moves Navi plugin to its own repository
https://github.com/alexis-opolka/navi.plugin.pwsh
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-02-28 00:56:05 +01:00
alexis-opolka
4300b7a6d6 Tries to implement the call to
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-02-28 00:53:25 +01:00
alexis-opolka
7d19bbeb85 Update powershell plugins metadata
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-02-28 00:49:43 +01:00
Denis Isidoro
10ddffbe72
Merge branch 'master' into master 2025-01-18 07:34:18 -03:00
Kid
2f78beaf90
Rewrote fish plugin 2025-01-09 14:31:36 +08:00
alexis-opolka
7b32a0d45d Removed wrong HelpInfoURI
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2024-12-08 18:57:34 +01:00
alexis-opolka
9128f453d2 Update powershell plugin
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2024-12-07 17:24:00 +01:00
alexis-opolka
66d05ef9a5 Removed orphan parameter
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2024-12-07 14:02:06 +01:00
alexis-opolka
a89116c8f2 Moved Powershell navi plugin to its own subfolder
Moved the plugin as a module in order to have the Invoke-NaviWidget function defined in every session

Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2024-12-07 14:00:36 +01:00
alexis-opolka
4a8b4b707c Add initial powershell plugin by @lurebat
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2024-12-06 17:46:13 +01:00
Ben Yang
071969ada0 mvp. 2024-06-24 18:50:29 +08:00
Kid
462a55358c
Quote more 2022-01-17 07:54:29 +08:00
Kid
9f35e3ef69 Quotes 2022-01-16 19:17:28 +08:00
Kid
ad49f43157 Run fish_indent 2022-01-16 19:06:57 +08:00
Kid
53c1ddf42f Only bind insert mode when not using default keybindings 2022-01-16 19:06:09 +08:00
Kid
0160a44b3e Insert when not doing smart replace 2022-01-16 19:02:36 +08:00
Kid
9186d7bb7c
Trim current process 2022-01-16 18:37:46 +08:00
Kid
2bf4165e56
Update function name 2022-01-16 18:25:16 +08:00
Kid
84d4cad405
Improve fish widget code 2022-01-16 18:22:32 +08:00
cherryblossom000
c082c09935
Update legacy syntax from Elvish widget
This commit updates the legacy assignment and lambda syntax from the Elvish widget so it works on v0.17 without deprecation errors. This commit also refactors some of the code so it's cleaner.
2022-01-13 21:34:55 +11:00
DevAtDawn
e7dea3ed68
FINAL v1
the error handling here made me cry (making esc/ctrl+c/ctrl+g exiting work without issues)
2021-12-16 11:45:57 -07:00
DevAtDawn
5e3215466d
Update navi.plugin.fish 2021-12-16 10:43:52 -07:00
DevAtDawn
38f807c1f6
finished/working with extra comments 2021-12-16 06:54:09 -07:00
DevAtDawn
b756573be8
Update navi.plugin.fish 2021-12-16 05:35:15 -07:00
DevAtDawn
d0b8b09f94
keybindings
\cg smart_replace
2021-12-16 05:27:13 -07:00
DevAtDawn
44d8dfc01d
Update navi.plugin.fish 2021-12-16 05:21:07 -07:00
DevAtDawn
487417574d
Notes
Notes
2021-12-16 04:24:21 -07:00
DevAtDawn
a5d295f828
Fish smart replace
Add “smart replace” functionality to the fish shell widget
2021-12-16 03:54:41 -07:00
Daniel Fitzpatrick
715d3d59e4 Add elvish widget 2021-09-08 16:51:44 -05:00
Denis Isidoro
9396fd539c
Widget: fix replacements in case of multiple occurrences 2021-08-09 10:47:03 -03:00
Denis Isidoro
a36c26f922
Close widget on single ESC (#597)
Fixes #546 and #553
2021-08-07 15:57:22 -03:00
Denis Isidoro
63068d2446
Respect fzf-overrides in shell widget (#568) 2021-06-15 10:12:22 -03:00
Denis Isidoro
307f0c11b2
Improve bash and zsh widgets (#486) 2021-04-09 11:55:44 -03:00
Denis Isidoro
cc579470d0
Make zsh widget smarter (#479)
Related: #463, from @enisozgen 

Before releasing a new version, this will be refactored
2021-04-05 10:11:31 -03:00
Dzmitry Rusak
7a8df3da45 Do not use deprecated args, commands. 2020-09-14 11:30:25 -07:00