Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

Bookmarked file doesn't open in new tab #459

Closed Praful closed 10 years ago

Praful commented 10 years ago

I am using Windows 7 64-bit and gvim 32-bit v7.4.3.

I have the following in my vimrc file to open files in a new tab:

call unite#custom_default_action('file', 'tabopen')

When I open files using, for example, these commands:

nnoremap [unite]f :<C-u>Unite -no-split -start-insert -buffer-name=files file<cr>
nnoremap [unite]m :<C-u>Unite -no-split -quick-match  -buffer-name=mru file_mru<cr>

the file opens in a new tab.

However, when I open bookmarked files using

nnoremap [unite]k :<C-u>Unite -quick-match  -buffer-name=bookmark  bookmark<cr>

the file opens in the current tab. How do I make it open in a new tab?! I have looked at help (which is very comprehensive) but couldn't find anything.

Thank you for providing an amazingly feature-rich plugin!

Praful

Shougo commented 10 years ago

The bookmarks candidates kinds are "jump_list". So you must change the settings.

call unite#custom_default_action('file,jump_list', 'tabopen')
Praful commented 10 years ago

Thanks!