Re:Some Excel users pop F1 off their keyboards (2012)
by tremendo on Friday September 22, 2017 @03:49PM
(#15315190)
Control when held in combination with other keys, ESC when tapped by itself.
Re:Some Excel users pop F1 off their keyboards (2012)
by ovatsug25 on Friday September 22, 2017 @04:25PM
(#15315482)
How can you do that???
Re:Some Excel users pop F1 off their keyboards (2012)
by feifan on Friday September 22, 2017 @04:28PM
(#15315512)
Use Karabiner and the first one here: https://pqrs.org/osx/karabiner/complex_modifications/
Re:Some Excel users pop F1 off their keyboards (2012)
by jimmcslim on Friday September 22, 2017 @05:34PM
(#15316048)
Isn't the hardcore move to map Caps Lock to Hyper?
http://brettterpstra.com/2017/06/15/a-hyper-key-with-karabin...
Re:Some Excel users pop F1 off their keyboards (2012)
by tremendo on Monday September 25, 2017 @01:15AM
(#15328230)
on Linux (Ubuntu) the same can be achieved with xcape
Re:Some Excel users pop F1 off their keyboards (2012)
by grayrest on Friday September 22, 2017 @03:57PM
(#15315252)
> Caps lock gets remapped to ESC
15 year vimmer here. Caps -> Ctrl and use C-[ for going to normal mode.
Re:Some Excel users pop F1 off their keyboards (2012)
by keeganpoppen on Friday September 22, 2017 @04:48PM
(#15315656)
i also remap caps -> ctrl, but have bindings for `fj` & `jf` in insert mode to exit back to normal mode, on the theory that you basically never have to type either of those letter combos (it has come up maybe twice in the five years i've had it set up). and even if you do have to type one of those letter combos, all you have to do is wait for ~half second between keystrokes and it works fine.
Re:Some Excel users pop F1 off their keyboards (2012)
by eridius on Friday September 22, 2017 @04:49PM
(#15315672)
Same, but I use `jk`, which only requires one hand.
Re:Some Excel users pop F1 off their keyboards (2012)
by dogecoinbase on Friday September 22, 2017 @05:16PM
(#15315877)
A similar binding once nearly drove me insane trying to copy/paste an api key.
Re:Some Excel users pop F1 off their keyboards (2012)
by eridius on Friday September 22, 2017 @05:20PM
(#15315907)
Vim should disable all mappings during a paste. And if it's not, you should be able to hit F8 (or `:set paste`) to toggle paste mode.
Re:Some Excel users pop F1 off their keyboards (2012)
by dogecoinbase on Friday September 22, 2017 @05:28PM
(#15315982)
Ideally, yes. I don't recall all the details -- I typically run fairly lightweight in terms of vim customizations as I'm often multiple SSH sessions deep, sometimes on systems with vi but no vim (they exist!), so automatic pastetoggle is usually off the table regardless.
Re:Some Excel users pop F1 off their keyboards (2012)
by kps on Friday September 22, 2017 @09:53PM
(#15317577)
Edsger Dijkstra does not approve.
Re:Some Excel users pop F1 off their keyboards (2012)
by zem on Saturday September 23, 2017 @02:10AM
(#15318419)
another long-time vimmer here, and i'm perfectly happy to reach up and hit esc. caps lock is a lot more useful as ctrl.
Re:Some Excel users pop F1 off their keyboards (2012)
by petepete on Friday September 22, 2017 @06:10PM
(#15316331)
I use the one true keyboard and CTRL is already correctly-positioned. Once you ascend there's no going back.
You must be an emacs heathen.
Caps lock gets remapped to ESC.