Earlier quoted context omitted.
That is an interesting perspective. May I ask you what is you professional use of a computer and if it is programming - what kind of programming? I’m asking because I’m curious if environment drives habits/preferences.
I'm a Windows programmer, and I'm old enough to remember when UX was something people took seriously.
Command palettes: how typing commands became the norm again
261–270 of 279 posts
Re: Command palettes: how typing commands became the norm again
#262Emacs always has an embryonic version of that with M-x, but with a simple autocomplete. That’s is, until Helm arrived in 2011: it made everything that is a list something to be dynamically filtered (commands, shortcuts, buffers, files, etc). IntelliJ has a command palette too (Ctrl-Shift-a), but it’s horribly slow and has many items with the same name doing different things (try looking for “settings” for example). B…
Is Helm an emacs thing I should look into if I want autocomplete? Trying to stay pretty vanilla but I'm already wishing for that feature.
He’s got a bunch of other really nice lightweight packages that leverage built-in completion mechanisms. See also https://github.com/minad/vertico#complementary-packages
Re: Command palettes: how typing commands became the norm again
#263Earlier quoted context omitted.
Is Helm an emacs thing I should look into if I want autocomplete? Trying to stay pretty vanilla but I'm already wishing for that feature.
You might be interested in company-mode [1]. [1] https://company-mode.github.io/
Re: Command palettes: how typing commands became the norm again
#264Earlier quoted context omitted.
Serious apps should come with event logs and command lines, period.
I feel like from a design and architecture point of view, building an application with the command line as a first class citizen will ensure that the application is well designed.
Re: Command palettes: how typing commands became the norm again
#265Earlier quoted context omitted.
I’d guess that most people don’t use keyboard shortcuts at all, and only very few use anything besides copy, paste, and maybe save. People are shocked when I “command+l, c, t, v, enter” to duplicate the current tab.
No need for copy-pasting, just doing "Command+L, Command+Return" will duplicate your current tab. Works on Chrome and Safari.
Re: Command palettes: how typing commands became the norm again
#266Earlier quoted context omitted.
I agree. I've been learning MS Word for many years at the level of creating my own templates and styles, using macros, assigning my own shortcut keys to building blocks, and using snippets in conjunction with AHK. My documents look exactly like Latex files with SVG images and nice look, but with __so much__ less trouble. Anyone who thinks Word is not capable of typesetting excellent documents has not given it a shot.…
The problem with word is that it doesn't guide the user to use it well, and few users are trained properly. I wish there was some kind of strict mode where only styles can be used (and maybe even locked), and nobody could tweak formatting manually all over the place. Templates also aren't widely used well, so most company documents end up containing all kids of styles and formatting built up from years of copy-pastin…
Re: Command palettes: how typing commands became the norm again
#267Earlier quoted context omitted.
I was just thinking that someone should really implement this via extension. Then I thought "...assuming it isn't already built in somewhere." Looks like it's `apropos-documentation`: https://www.gnu.org/software/emacs/manual/html_node/emacs/Ap... Can't be too hard to hook that up to one of the auto-complete M-x replacements. Someday I'll read that while manual. Someday.
Right? I've been emacsing for a couple of years now but I haven't reached the critical mass yet; where I can sit down and just code something up like this. Anyway, M-x-helm is pretty critical to my workflow; half forgotten (or guessed) commands work pretty dang well when you can complete them.
Re: Command palettes: how typing commands became the norm again
#268Re: Command palettes: how typing commands became the norm again
#269Earlier quoted context omitted.
I can do that with Emacs. What other tools make it easy to branch in history?
For small values of easy: vim. (It is really easy to do I think, doing it correctly instead of just being clumsy and hitting some key that starts it, that is the challenge ;-) I only learned now that emacs could do it.
For anyone else who didn't know, try ":help undo-branches" or take a look at https://vim.fandom.com/wiki/Using_undo_branches , which has a simple example of use.
Re: Command palettes: how typing commands became the norm again
#270Earlier quoted context omitted.
> Surprisingly, git seems quite humane, even when you screw things up it gives you a lot of safety mechanisms to recover. You have to earn it. I admit that when I started using git sometimes I made a copy of the repo just in case I ended in a state that made it easier to nuke it and start again
A copy of the repo really? I just check in everything in a new commit then write the SHA1 somewhere.
There's also a psychological element to it. If you can verify for yourself that the repo can't possibly contain anything that would mess you up after an earlier mistake, it's much easier to do things than if you have to worry about using the wrong branch name when you don't know how to delete branches, for example.