I would like to write a special plugin in Vim which open a custom app depending on the positions of the vim cursor.
Is any way to get the positions from the screen ?
Exemple case:
When I call my custom plugin ColorPicker, that’s open a ColorPicker App centered on the cursor.
Screenshot: https://docs.google.com/file/d/0B6tc60GuFE4WbGxuaTV6OVlCSzg/edit
This is a very basic exemple but in I would like to be able to add powerfull gui feature to vim.
If you are serious about creating a Vim plugin you should start by getting a bit closer with the help system.
:help functionswill give you a detailed list of all the available functions.You are looking for
getpos('.'), see:help getpos().