rstacruz / vim-fastunite

Search for files fast
48 stars 6 forks source link

[Question] How to open a file in split view on demand? #1

Open zack9433 opened 9 years ago

zack9433 commented 9 years ago

I add split control settings, following is my settings:

inoremap <silent><buffer><expr> <C-s> unite#do_action('split')
nnoremap <silent><buffer><expr> <C-s> unite#do_action('split')
inoremap <silent><buffer><expr> <C-v> unite#do_action('vsplit')
nnoremap <silent><buffer><expr> <C-v> unite#do_action('vsplit')

but when i <C-p> and navigate to file and <C-s>, nothing happened.

rstacruz commented 9 years ago

hm, let me get back to you on that but this doesn't seem like the most ideal way to make bindings for Unite windows.