Created
January 7, 2019 10:09
-
-
Save johngrib/547f736d3d7413bc877b4d355aa9cd98 to your computer and use it in GitHub Desktop.
use balloon in gui vim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! SimpleBalloon() | |
return 'Cursor is at line/column: ' . v:beval_lnum . ', ' . v:beval_col . | |
\ ' in file ' . bufname(v:beval_bufnr) . | |
\ '. Word under cursor is: "' . v:beval_text . '"' | |
endfunction | |
set balloonexpr=SimpleBalloon() | |
set ballooneval |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment