-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention !...
history shortcuts in "coming from..." pages
#1072
Comments
Good idea. They should be mentioned. |
One major difference is that by default, |
ya, that would be cool to have space expand it. i really wish we could combine this stuff with an fish abbrev-like functionality. they're very similar, one gets that last commands and one just expands aliases. |
Is it possible to map !$ to some other key combination? Unfortunately on my keyboard layout to execute |
Worth checking the https://github.com/nushell/reedline/issues and adding a feature request there, maybe someone is interested in figuring this out :) |
@orr721 I believe this works
|
yes! I'm on a mac though, so I had to change the modifier to control and keycode to other key. but finally it works, thank you!👍 |
been there. done that. i use a mac too during the evenings and weekends. keybindings are sometimes hard to get recognized. it's why i wrote |
The
!!
,!$
,!<number>
,!-<number>
, and possibly other history shortcuts work in Reedline roughly the way they do in Bash (though Bash's behavior is complicated and it seems some features are not supported, such as substitutions withs^...^...
). This is probably worth mentioning in the "coming from ... " pages for different shells.PowerShell's equivalent for
!$
is$$
; I'm not sure if it has an equivalent for the others. I don't think cmd.exe supports this feature at all.The text was updated successfully, but these errors were encountered: