aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authormattn2022-02-09 22:31:13 +0900
committerGitHub2022-02-09 22:31:13 +0900
commitd5b092036bc651912474f64277913be8502f8f09 (patch)
tree1e85458216f483201c37cbc80265c06f98da0d34
parented04d2ec91c78748f0d8ddf69df2f6e5cffa7bb8 (diff)
parenta085452bb6535cd32395f92d5bb6d08a413ee11f (diff)
downloadctrlp.vim-d5b092036bc651912474f64277913be8502f8f09.tar.gz

Merge pull request #571 from edlanglois/master

Add alacritty to terminals with keycode fixes

-rw-r--r--autoload/ctrlp.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim
index 5969793..1b6b8c5 100644
--- a/autoload/ctrlp.vim
+++ b/autoload/ctrlp.vim
@@ -1095,7 +1095,7 @@ fu! s:MapSpecs()
if !( exists('s:smapped') && s:smapped == s:bufnr )
" Correct arrow keys in terminal
if ( has('termresponse') && v:termresponse =~ "\<ESC>" )
- \ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi|tmux|st(-[-a-z0-9]*)?(\:tc)?$'
+ \ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi|tmux|alacritty|st(-[-a-z0-9]*)?(\:tc)?$'
for each in ['\A <up>','\B <down>','\C <right>','\D <left>']
exe s:lcmap.' <esc>['.each
endfo