Skip to content
Snippets Groups Projects
  1. Jan 04, 2013
  2. Jan 02, 2013
  3. Dec 30, 2012
  4. Dec 18, 2012
  5. Dec 17, 2012
  6. Dec 10, 2012
  7. Dec 07, 2012
  8. Dec 04, 2012
  9. Dec 03, 2012
  10. Nov 30, 2012
  11. Nov 29, 2012
  12. Nov 28, 2012
  13. Nov 26, 2012
    • Paul Ivanov's avatar
      [vim] Ctrl-[ leaves insert mode, same as <Esc> · 95520892
      Paul Ivanov authored
      As a die-hard vim addict, long ago, I retrained myself to type Ctrl-[ to
      leave insert mode. This sends the same control sequence as escape in
      many other places, actually, and this patch brings this functionality to
      CodeMirror.
      
      From vim's :help ctrl-[
      
                                              *i_CTRL-[* *i_<Esc>*
      <Esc> or CTRL-[
          End insert or Replace mode, go back to Normal mode.
          Finish abbreviation.
          Note: If your <Esc> key is hard to hit on your keyboard, train
          yourself to use CTRL-[.
      
      Typing CTRL-[ is particularly easy when caps-lock is remapped
      to being another CTRL key, since now neither hand needs to move away
      form the homerow, and both little fingers just slide a little, the left
      little finger slides to the right to where caps lock used to be, and the
      right little finger slides a little bit up to the '[' key
      95520892
  14. Nov 22, 2012
Loading