diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-09-25 10:30:20 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-01 15:22:48 -0300 |
commit | 1143b416ab7d8bb1707dab2be2cd9e191f9a03e4 (patch) | |
tree | a244c0f5a5b8845b4b8d1dc55ef58420ae720658 /src/nvim/keymap.c | |
parent | c1edd0799000956b8bd23cbc49a4b015e117879e (diff) | |
download | rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.tar.gz rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.tar.bz2 rneovim-1143b416ab7d8bb1707dab2be2cd9e191f9a03e4.zip |
tui: Don't use 'pastetoggle' for automatic pasting
Add a new special key that can be used by UIs to toggle the 'paste' option and
use it in the TUI instead of the user's 'pastetoggle' value.
Close #2843 #2092
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r-- | src/nvim/keymap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 0c5c24184e..bf4f5e8c4d 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -284,6 +284,7 @@ static struct key_name_entry { {K_SNR, (char_u *)"SNR"}, {K_PLUG, (char_u *)"Plug"}, {K_CURSORHOLD, (char_u *)"CursorHold"}, + {K_PASTE, (char_u *)"Paste"}, {0, NULL} }; |