5 ms·
Not this, but I do fairly often think assume I'm in vim when I'm not. `alias :q="echo NOT IN VIM!!!"`
by splaty 9y ago
Not this, but I do fairly often think assume I'm in vim when I'm not.
`alias :q="echo NOT IN VIM!!!"`
- Sir_Cmpwn 9y agoNot just `alias :q exit`?
- emodendroket 9y agoMy 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.
- steinuil 9y agoI use vimperator, so the only program I use a lot which still doesn't recognize ctrl+w is Hexchat. My friends have gotten used to see me part the channel and rejoin shortly after, cursing my fingers.
- wlkr 9y agoHexchat closing on C-w is such a pain! It can't be scripted away either because it's hardcoded in the source. I haven't looked into this for some time but there does seem to have been some updates. https://github.com/hexchat/hexchat/issues/397 https://github.com/hexchat/hexchat/issues/397
- kqr 9y agoThat sounds like the kind of thing that would be really easy to maintain your own fork for...
- auscompgeek 9y agoHexChat parting on Ctrl+w is probably one of the main reasons that drove me to use a TUI IRC client like weechat.
- andreareina 9y agoOne 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.
- jasonm23 9y agoNow try C-k and then C-y Then regular old Cmd + v. You're welcome.
- kqr 9y agoWell, cutting is called killing in Emacs...
- pvorb 9y agoSo why is emodendroket referring to ctrl-w then?
- emodendroket 9y agoIn 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."
- polymeris 9y agoHeh, for me ctrl-w means "extend selection to enclosing expression", which leads to the same issue in browsers.
- oAlbe 9y agoYou can try Lazarus form recovery[1] to mitigate your pain. It locally saves the content of forms and allows you to pull it back. [1] https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-recovery/ https://addons.mozilla.org/en-US/firefox/addon/lazarus-form-...
- kronos29296 9y agoI really do that a lot so I aliased 'q' to exit in shell.
- z1mm32m4n 9y agoI actually aliased :q to clear: https://github.com/jez/dotfiles/blob/master/util/aliases.sh#L32 https://github.com/jez/dotfiles/blob/master/util/aliases.sh#... I also have clera, lcear, and lcera -> clear, and :tabe -> vim.
- AdamGibbins 9y agoAre you aware Ctrl-l also clears? I can't recall the last time I typed clear.
- jasonm23 9y agoI have to admit, I wince when I see someone type clear.