moll / vim-node

Tools and environment to make Vim superb for developing with Node.js. Like Rails.vim for Node.
http://www.vim.org/scripts/script.php?script_id=4674
Other
807 stars 59 forks source link

Open path in new tab #40

Closed izdesenko closed 7 years ago

izdesenko commented 7 years ago

Hello! Thank you for great work! Is this possible to open modules by "gf" or "[I" in new tab? That would be very handy.

feix760 commented 7 years ago

Use ^w + gf See: http://vi.stackexchange.com/questions/3364/open-filename-under-cursor-like-gf-but-in-a-new-tab-or-split

moll commented 7 years ago

Did @feix760's suggestion solve your problem, @izdesenko? Thanks for it, @feix760, by the way!

izdesenko commented 7 years ago

@moll actually, didn't. I inspect code all the time and it is not convinient for me to use this long shortcut. But right now i don't write node.js code so i don't need this feature.

moll commented 7 years ago

You're welcome to always map a shorter shortcut for that with :nmap. :) I'll close this as there's nothing for us to do here. We can however continue chatting. ;)