Improve <D-w> behaviour
commita6b2b24991761a013dfba5356e5b49f683305337
authorBjorn Winckler <bjorn.winckler@gmail.com>
Wed, 19 Mar 2008 18:56:19 +0000 (19 19:56 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Wed, 19 Mar 2008 18:56:19 +0000 (19 19:56 +0100)
tree76fe6940290952450ba51eee4be6bbb47d751065
parente0c7ce4fe49079600e6c0987fafd25e9df7a5d20
Improve <D-w> behaviour

With this patch <D-w> works as follows:
- if in Ex-mode, exit by sending "^U:vi<CR>"
- if the command-line window is open, close it using CTRL-\_CTRL-N
- otherwise go to normal mode and add ":q<CR>" to the input buffer
src/MacVim/MMBackend.m
src/MacVim/MMWindowController.m
src/MacVim/MacVim.h
src/MacVim/MacVim.m