Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "tooltip" in terminal vim. #15

Closed
jomifo opened this issue May 5, 2015 · 2 comments
Closed

Support "tooltip" in terminal vim. #15

jomifo opened this issue May 5, 2015 · 2 comments

Comments

@jomifo
Copy link

jomifo commented May 5, 2015

It would be very nice if the "tooltip" functional worked in terminal vim (which doesn't support balloon functionality).

Would it be possible to have the option to show the "tooltip" in something like the preview window?

Quramy added a commit that referenced this issue May 6, 2015
@Quramy
Copy link
Owner

Quramy commented May 6, 2015

Hi, jomifo.

Considering your opinions, I add a function for "tooltip", which is tsuquyomi#hint().

For example of .vimrc:

autocmd FileType typescript nmap <buffer> <Space>t : <C-u>echo tsuquyomi#hint()<CR>

The above example does not use preview window, but it works on terminal Vim.

@jomifo
Copy link
Author

jomifo commented May 6, 2015

Hi Quramy-
Much thanks. It works very good. I like your echo mapping better than my preview window suggestion.

@jomifo jomifo closed this as completed May 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants