I've configured my VIM to find and open a file by fzf:
nmap <c-x><c-f> :Files<cr>
It works fine, but I wanna open the file in a new tab instead of the current tab with the same shortcut keys.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
The Vim fzf plug-in has a native feature to open the selected item in a new tab.
If you type Ctrl+T inside the fzf selection window, it will tell Vim to open the item in a new tab (when applicable.)
See here, below the table it says:
Most commands support
CTRL-Vkey bindings to open in a new tab, a new split, or in a new vertical split.
If this is acceptable for you, you don't need a new mapping to open files in a new tab, just to use the appropriate Ctrl+key sequence when selecting an entry, to have that entry opened in a new tab (or a split too, since that's also supported.)