Skip to content

Commit

Permalink
Remove :botright
Browse files Browse the repository at this point in the history
Remove :botright from default opening commands. Let user decides how to move the newly created window, if needed.
Close kien#24
  • Loading branch information
kien committed Nov 4, 2011
1 parent d24ed9c commit 9dcef3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/ctrlp.vim
Expand Up @@ -674,7 +674,7 @@ fu! ctrlp#acceptfile(mode, matchstr)
en
en
" Open new window/buffer
cal s:openfile('bo '.cmd.tail.' '.filpath)
cal s:openfile(cmd.tail.' '.filpath)
en
if !empty('tail')
sil! norm! zOzz
Expand Down Expand Up @@ -728,7 +728,7 @@ fu! s:CreateNewFile() "{{{
cal s:insertcache(str)
cal s:PrtExit()
if s:newfop == 1 | tabnew | en
let opcmd = 'bo '.cmd.' '.escape(getcwd().s:lash.optyp, '%#')
let opcmd = cmd.' '.escape(getcwd().s:lash.optyp, '%#')
cal s:openfile(opcmd)
en
endf "}}}
Expand Down

0 comments on commit 9dcef3d

Please sign in to comment.