Skip to content

Commit

Permalink
Merge pull request #1041 from machellerogden/master
Browse files Browse the repository at this point in the history
make ZZ work in vim mode
  • Loading branch information
kazup01 authored Nov 15, 2017
2 parents c238e1b + fde2a80 commit 8884db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/components/CodeEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default class CodeEditor extends React.Component {
CodeMirror.Vim.defineEx('q!', 'q!', this.quitEditor)
CodeMirror.Vim.defineEx('wq', 'wq', this.quitEditor)
CodeMirror.Vim.defineEx('qw', 'qw', this.quitEditor)
CodeMirror.Vim.map('ZZ',':q','normal')
}

quitEditor () {
Expand Down

0 comments on commit 8884db8

Please sign in to comment.