top | item 44368605 (no title) gumbojuice | 8 months ago I don't use aliases, but abbreviations that expand to the actual full command. Helpful to type less and history has the exact. discuss order hn newest Bagged2347|8 months ago I like this. What do you use to accomplish this? phatskat|8 months ago I don’t know exactly what they’re referencing, but Zsh has something like that where you can expand eg filenames and paths from this unique bits.So if you have``` src/components/Button.vue src/components/ButtonGroup.vue ```And you type `nvim s/c/G<Tab>` it’ll expand to the second file’s path.
Bagged2347|8 months ago I like this. What do you use to accomplish this? phatskat|8 months ago I don’t know exactly what they’re referencing, but Zsh has something like that where you can expand eg filenames and paths from this unique bits.So if you have``` src/components/Button.vue src/components/ButtonGroup.vue ```And you type `nvim s/c/G<Tab>` it’ll expand to the second file’s path.
phatskat|8 months ago I don’t know exactly what they’re referencing, but Zsh has something like that where you can expand eg filenames and paths from this unique bits.So if you have``` src/components/Button.vue src/components/ButtonGroup.vue ```And you type `nvim s/c/G<Tab>` it’ll expand to the second file’s path.
Bagged2347|8 months ago
phatskat|8 months ago
So if you have
``` src/components/Button.vue src/components/ButtonGroup.vue ```
And you type `nvim s/c/G<Tab>` it’ll expand to the second file’s path.