Hello Vim-users,

I search a way to get the currently selected word of the auto-complete 
suggestion list after hitting <C-N> in the insert mode.
I tried to copy the current word under the cursor, but this approach quits the 
automatic completion mode. 
This was my last approach:
:inoremap <C-N> <C-N><C-O>:call CompleteWordHandler('<C-R><C-W>')<CR>

But this closes the list and moreover I'm not sure if my handler was called.
Did somebody know how to get the selected word? I'm planning to pipe this word 
to an external program (espeak).


Regards,
Yggdrasil

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to