Skip to content

Commit f1fd1a2

Browse files
committed
Fix arrow key for tmux
1 parent fc1ae24 commit f1fd1a2

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
@@ -910,7 +910,7 @@ fu! s:MapSpecs()
910910
if !( exists('s:smapped') && s:smapped == s:bufnr )
911911
" Correct arrow keys in terminal
912912
if ( has('termresponse') && v:termresponse =~ "\<ESC>" )
913-
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi'
913+
\ || &term =~? '\vxterm|<k?vt|gnome|screen|linux|ansi|tmux'
914914
for each in ['\A <up>','\B <down>','\C <right>','\D <left>']
915915
exe s:lcmap.' <esc>['.each
916916
endfo

0 commit comments

Comments
 (0)