diff options
| author | Stephen Blott | 2015-01-24 07:16:37 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2015-01-24 14:28:11 +0000 | 
| commit | d9462e5d1e3ebb8f2fedc400b05c4c545fada142 (patch) | |
| tree | 702840b0033d2fe2c30e50e61ac9910080337c9c /lib | |
| parent | 0f96b6bf07c02704272a90a017ee14661dca8ce0 (diff) | |
| download | vimium-d9462e5d1e3ebb8f2fedc400b05c4c545fada142.tar.bz2 | |
Visual/edit modes: more edit-mode commands.
- "dw", "3dw", "d3w"
- "dc", "3dc", "d3c"
- "D"
- "C"
Also refactor enterInsertMode.
Also major refactor of interface between edit and visual modes.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/clipboard.coffee | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/lib/clipboard.coffee b/lib/clipboard.coffee index 836b57e4..2b28df70 100644 --- a/lib/clipboard.coffee +++ b/lib/clipboard.coffee @@ -15,15 +15,13 @@ Clipboard =      document.execCommand("Copy")      document.body.removeChild(textArea) -  paste: (refocusElement = null) -> +  paste: ->      textArea = @._createTextArea()      document.body.appendChild(textArea)      textArea.focus()      document.execCommand("Paste")      value = textArea.value      document.body.removeChild(textArea) -    # The caller wants this element refocused. -    refocusElement.focus() if refocusElement      value | 
