News for hackers. Stuff that matters.
Re:Marker: A terminal command palette by Dangeranger on Thursday February 07, 2019 @12:18PM (#19106623)
CTRL-K for bookmarking seems like a possible mistake. That is a very common key combination for killing text forward from a cursor, and one which I use often every day.

It would also be wonderful to see this work with shells beyond Bash and Zsh, such as Fish or Csh for example.

Re:Marker: A terminal command palette by dmix on Thursday February 07, 2019 @01:05PM (#19106997)
Agreed, why use such a simple and commonly used command shortcut? This will most certainly conflict with my current ZSH. Probably one of the worst possible choices in terms of likelihood of clashing.

Question: when using `marker mark` does it bookmark the previously used command?

Re:Marker: A terminal command palette by chrisshroba on Thursday February 07, 2019 @01:25PM (#19107166)
This seems like a non-issue since it supports changing the key combinations with environmental variables. Anyone who uses Ctrl-K regularly (which I imagine is not the majority of shell users) can override the combo in their shell's rc file.
Re:Marker: A terminal command palette by Dangeranger on Thursday February 07, 2019 @02:57PM (#19107975)
Yes I saw that.

Generally I don’t want to have to resort to ENV config variables in order to get back to the default shell navigation key combinations which have worked on POSIX shells for thirty years.

It’s nice they allow for overriding, but I’d prefer if people were more cognizant of built-in shell navigation.

Re:Marker: A terminal command palette by banku_brougham on Thursday February 07, 2019 @01:45PM (#19107342)
environment variables allow assignment of different keybindings, according to the readme.
Re:Marker: A terminal command palette by tazard on Thursday February 07, 2019 @12:16PM (#19106614)
Looks nice! By command pallet, I understood as color pallet, as in color scheme. But this looks pretty handy!
Re:Marker: A terminal command palette by dominotw on Thursday February 07, 2019 @01:21PM (#19107125)
Thats what my brain read it as well.
Re:Marker: A terminal command palette by theshrike79 on Thursday February 07, 2019 @12:47PM (#19106847)
fzf does the same thing, but with more integrations: https://github.com/junegunn/fzf
Re:Marker: A terminal command palette by dmix on Thursday February 07, 2019 @12:58PM (#19106936)
`fzf` is more of a broad interface for fuzzy matching lists with any number of possible uses.

Marker uses a similar interface but is built entirely for a particular use case (bookmarking, recalling, and autofilling commands with their options and placeholder parameters). Something that could have been built on top of fzf but it's not the same thing.

Re:Marker: A terminal command palette by tambourine_man on Thursday February 07, 2019 @02:01PM (#19107496)
Re:Marker: A terminal command palette by xbryanx on Thursday February 07, 2019 @12:44PM (#19106834)
I've been searching for this for years! Never could figure out what people would call it, but I knew it must exist. Goodbye Ctrl+R x 100.
Re:Marker: A terminal command palette by infinisil on Thursday February 07, 2019 @12:21PM (#19106642)
I'm personally achieving something like this with a combination of binding Ctrl-R to fzf's history search and using zsh's vim command edit mode: https://asciinema.org/a/fELHDWUytNGMBEFBGEjo5jJO7
Re:Marker: A terminal command palette by jclay on Thursday February 07, 2019 @01:43PM (#19107329)
Are your dotfiles available anywhere? I'd be interested in trying out this setup.
Re:Marker: A terminal command palette by infinisil on Thursday February 07, 2019 @05:22PM (#19109197)
It's a bit messy, but everything related to zsh should be in here [1]. Apparently the vim command editor thing comes at least partly from prezto [2]

[1]: https://github.com/Infinisil/system/blob/master/config/new-m...

[2]: https://github.com/sorin-ionescu/prezto

Re:Marker: A terminal command palette by mrsuprawsm on Thursday February 07, 2019 @12:16PM (#19106608)
This seems very cool! A nice cross between tl;dr-pages and zsh autocompletion. Installed.
Re:Marker: A terminal command palette by hzhou321 on Thursday February 07, 2019 @12:13PM (#19106590)
I have been wanting to do something like this and been procrastinating hoping someone will do it for me.
Re:Marker: A terminal command palette by phuangcn on Thursday February 07, 2019 @12:09PM (#19106554)
Looks cool. I will try it today