Earlier quoted context omitted.
OpenBSD comes standard with vi. Vim is a package.
It ships nvi, as do the other BSDs. I think it's reasonable, BSDs have a stronger divide between the base system and third party packages, I'm not sure it would make a lot of sense to maintain vim as part of the former. Besides on my FreeBSD system /usr/bin/vi is around 400kB while on my Debian machine /usr/bin/vim.basic is 2.4MB. It's not much these days but on embedded platform it could still make a significant dif…
Git git git git git
221–230 of 244 posts
Re: Git git git git git
#222Earlier quoted context omitted.
My favorite one of these is typing ctrl-w (cut in emacs) in a browser tab as I am editing a bunch of text in a text box.
One of the things I appreciate about macOS is that it implements some of the emacs behavior (C-a, C-e, C-k). Unfortunately not C-y, and non of the M- ones work since that's for special characters. I understand they originally come from the readline library.
Then regular old Cmd + v.
You're welcome.
Re: Git git git git git
#223Earlier quoted context omitted.
So why is emodendroket referring to ctrl-w then?
In other words ctrl-w is "kill," which is what most people would think of as "cut," and ctrl-y is "yank," which is what most people would think of as "paste."
Re: Git git git git git
#224I take a minute, clear out distractions and then come back to what I'm working on.
Re: Git git git git git
#225Earlier quoted context omitted.
I actually aliased :q to clear: https://github.com/jez/dotfiles/blob/master/util/aliases.sh#... I also have clera, lcear, and lcera -> clear, and :tabe -> vim.
Are you aware Ctrl-l also clears? I can't recall the last time I typed clear.
Re: Git git git git git
#226>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
I do. And I also write "vim vim thefile.txt" and stuff like that. Finally I've written a small shell function that corrects "gi tpull" to "git pull", because that happens at least once a day.
This process should happen behind the scenes. And then train a RNN for translating it to the following command, which returns a success code. Perhaps, we need to add a few checks that successful command has the same intent as the one which returned 127 error code to the shell.
Re: Git git git git git
#227Earlier quoted context omitted.
I always typed rebnoot, so I patched Netbsd to allow rebnoot. Then I patched it still so it would say, "Rebnooting". Fun times.
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less. My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.
Re: Git git git git git
#228Earlier quoted context omitted.
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less. My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.
There's defintitely room for an advanced spell checker that can say "This is valid, but probably wrong".
EDIT: as mentioned below, it is called 'sl'
Re: Git git git git git
#229>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.
I do. And I also write "vim vim thefile.txt" and stuff like that. Finally I've written a small shell function that corrects "gi tpull" to "git pull", because that happens at least once a day.
Re: Git git git git git
#230Earlier quoted context omitted.
Knowing software developers, probably entirely serious.
The seasoned sysadmins are a little more careful before smacking the enter key...
Keyword: Backups.