Skip to content

Commit b70d4b0

Browse files
committed
Merge pull request #38 from DeadDork/master
Exit Insert mode with less physical strain.
2 parents d03563a + 48bd05c commit b70d4b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.vimrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ let $PATH = $PATH . ':' . expand("~/.haskell-vim-now/bin")
3333
" Kill the damned Ex mode.
3434
nnoremap Q <nop>
3535
36+
" Exit Insert mode without getting Carpal Tunnel Syndrome.
37+
inoremap jk <esc>
38+
3639
" }}}
3740

3841
" Vundle {{{

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ selections to it. This works well for evaluating things in GHCI.
282282
<tr>
283283
<td>C-l</td><td>Move cursor to rightward pane (redraw is `,r` instead)</td>
284284
</tr>
285+
<tr>
286+
<td>jk</td><td>Exit Insert mode without straining your hand</td>
287+
</tr>
285288
</tbody>
286289
</table>
287290

0 commit comments

Comments
 (0)