Skip to content

Commit 49dd8ee

Browse files
authored
leave ctrlp entries searchable despite presence of unprintable characters
See also sgur/ctrlp-extensions.vim#10
1 parent ac3ea87 commit 49dd8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ctrlp/commandline.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ call add(g:ctrlp_ext_vars, {
6262
"
6363
function! ctrlp#{s:n}#init()
6464
let num = histnr('cmd')
65-
let line = histget('cmd', num)
65+
let line = strtrans(histget('cmd', num))
6666
let lines = []
6767
while num >= 1
6868
if line != ''

0 commit comments

Comments
 (0)