Skip to content

Commit d5b0920

Browse files
authored
Merge pull request #571 from edlanglois/master
Add alacritty to terminals with keycode fixes
2 parents ed04d2e + a085452 commit d5b0920

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ fu! s:MapSpecs()
10951095
if !( exists('s:smapped') && s:smapped == s:bufnr )
10961096
" Correct arrow keys in terminal
10971097
if ( has('termresponse') && v:termresponse =~ "\<ESC>" )
1098-
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi|tmux|st(-[-a-z0-9]*)?(\:tc)?$'
1098+
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi|tmux|alacritty|st(-[-a-z0-9]*)?(\:tc)?$'
10991099
for each in ['\A <up>','\B <down>','\C <right>','\D <left>']
11001100
exe s:lcmap.' <esc>['.each
11011101
endfo

0 commit comments

Comments
 (0)