diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-01 15:37:20 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-01 15:37:20 -0300 |
commit | 536c0ba27e79929eb30850d8e11f2ed026930ab3 (patch) | |
tree | 40873cf933b5ba5cff44d1ea07db2b3f2663020e /src/nvim/keymap.h | |
parent | afe8a32be01d006d6c25f69b4aa1b6e92464ab63 (diff) | |
parent | 5d185c77726dfff20b87d97897d2bb237e95d95a (diff) | |
download | rneovim-536c0ba27e79929eb30850d8e11f2ed026930ab3.tar.gz rneovim-536c0ba27e79929eb30850d8e11f2ed026930ab3.tar.bz2 rneovim-536c0ba27e79929eb30850d8e11f2ed026930ab3.zip |
Merge PR #3360 'More fixes for 0.1'
Diffstat (limited to 'src/nvim/keymap.h')
-rw-r--r-- | src/nvim/keymap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/keymap.h b/src/nvim/keymap.h index 38b96b1b8c..119bff943a 100644 --- a/src/nvim/keymap.h +++ b/src/nvim/keymap.h @@ -247,6 +247,8 @@ enum key_extra { , KE_FOCUSGAINED /* focus gained */ , KE_FOCUSLOST /* focus lost */ , KE_EVENT // event + , KE_PASTE // special key to toggle the 'paste' option. + // sent only by UIs }; /* @@ -437,6 +439,7 @@ enum key_extra { #define K_CURSORHOLD TERMCAP2KEY(KS_EXTRA, KE_CURSORHOLD) #define K_EVENT TERMCAP2KEY(KS_EXTRA, KE_EVENT) +#define K_PASTE TERMCAP2KEY(KS_EXTRA, KE_PASTE) /* Bits for modifier mask */ /* 0x01 cannot be used, because the modifier must be 0x02 or higher */ |