Permalink
Browse files

escape / on forward searches

  • Loading branch information...
1 parent de2a171 commit c59e6aba87afa2218afe2913470fe3b9cd23c178 @chrisbra committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/ftimproved.vim
@@ -305,7 +305,7 @@ fun! ftimproved#FTCommand(f, fwd, mode) "{{{1
"endif
let cmd = op_off[0].cmd
let off .= op_off[1]
- let pat1 = (a:fwd ? pat : escape(pat, '?'))
+ let pat1 = (a:fwd ? escape(pat, '/') : escape(pat, '?'))
let res = cmd.pat1.off."\<cr>"
else
" Searching using 't' command

0 comments on commit c59e6ab

Please sign in to comment.