8 ms·
Back in my Engineer days, where I'd spend much of my time writing technical reports, I'd always remove the Insert key from my keyboard. It's sitting there in t
by jasonkester 9y ago
Back in my Engineer days, where I'd spend much of my time writing technical reports, I'd always remove the Insert key from my keyboard.
It's sitting there in that block of six keys that you use all the time when editing text (home, end, page up/down, delete), and it's a little timebomb. You would invariably hit it by accident at some point and change your editor into "overwrite all my stuff" mode.
It would usually take a minute or two of ruining your document before you realized what was happening and spent the next several minutes repairing the damage.
I would go years at a time without ever hitting that key on purpose, so I just kept it in a drawer, in case it ever needed using.
Now, as a developer, there's an Insert in tons of useful keyboard combos, so it needs to stay there. And laptops have ruined that old useful six-key block so it's a lot rarer to hit it by accident.
But it had no business being there. Fifteen years later, I'm still not a friend of that key.
- emodendroket 9y agoI can't think of one time I've ever intentionally used the overwrite functionality either.
- deong 9y agoI vaguely recall using it a few times back in the day to edit things like fixed-format columnar text files. Now that sort of thing is easier with years worth of accumulated knowledge of tools, but I wasn't born with that knowledge.
- rrobukef 9y agoUntil you hit backspace to correct something...
- raldi 9y agoYou've never made ASCII art?
- randylahey 9y agoReally? I use it frequently while programming in Vim. Definitely one of my top ten operations.
- emodendroket 9y agoUh, yeah, why would you? You can easily delete a word at a time and then type in what you wanted instead.
- dunham 9y agocw is shorter than dwi?
- emodendroket 9y agoWell, like anyone with their head screwed on straight, I use emacs and don't know all the vim shortcuts.
- dunham 9y agoHeh, as you can see from the other comments, I don't know all the vi commands either. Just a few essentials. I'd assumed from the comment you were a vi person and probably knew more vi than me. I don't use vi for coding, just quick file edits on the console. I was xemacs for a very long time in college and thereafter - to the point of writing elisp to manipulate xml files, but eventually my Java day job pushed me towards a full IDE. Java is kinda unbearable without it. I still occasionally turn to emacs for a few things I can't get elsewhere (editing binaries, large files, and doing search and replace in a narrowed buffer), but it's no longer my primary editor or mail reader. I may pick it up again for clojure coding, though.
- emodendroket 9y agoYeah, I'm a full IDE guy too but if I'm editing something that where that wouldn't make sense it's back to emacs with me. IntelliJ also supports emacs bindings. :)
- alejohausner 9y agoSometimes I put some ascii art in a block of comments, to visually describe something. I create a chunk of spaces, and use overwrite to draw on them.
- LambdaComplex 9y ago>laptops have ruined that old useful six-key block For what it's worth, my Thinkpad definitely isn't ruined--it has a five key block containing the other keys you mentioned. Insert is over to the right in a four-key row (along with PrtSc, ScrLk, and Pause) that's above F9-F12
- zeveb 9y agoAgreed — overwrite mode is something I basically never want and am always unhappily surprised to find it's switched on. That's one of the things I like about using C-a, C-e, M-v & C-v, C-d instead of home, end, pgup, pgdn & Del — much less likely to accidentally hit the wrong key. And my hands don't have to fly so far from my keyboard!
- jandrese 9y agoOverwrite mode is basically a relic from the old fixed-width record days. We just need to think up a better use for the Insert key so people don't fall back on making it the overwrite toggle. Maybe in a word processor it could bring up the "put a picture/graph/whatever" right here in this document?
- an_account 9y agoBut do you really need a dedicated key for that? Might as well just get rid of insert.
- lzybkr 9y agoI wrote PSReadline (readline for PowerShell) and never bothered implementing overwrite mode. It took about 3 years before anyone complained, and I think there is still just the one complaint.
- hexadecimated 9y agoBefore Ctrl+C and Ctrl+V to copy and paste, the usual method was Ctrl+Ins and Shift+Ins (and Shift+Del for cut), so this key did have a lot of use back in the day. These key combinations still work in most Windows software.
- taco_emoji 9y agoI use those combos when mousing left-handed (I'm right-handed, but ambidextrous with the mouse due to RSI issues).
- int_19h 9y agoIn DOS, these combos were used by Borland's Turbo Vision GUI toolkit (and they didn't offer Ctrl+C/V/X as alternatives). So everything written using that - and there was quite a bit, especially once you count LOB apps - had those shortcuts. In particular, all of Borland's own IDEs did, so those of us who learned to code C or Pascal on DOS in that era still got those shortcuts memorized.