sponsor Vim development Vim logo Vim Book Ad

htip : quick haskell hints at the status line

 script karma  Rating 0/2, Downloaded by 482  Comments, bugs, improvements  Vim wiki

created by
Itay Donenhirsch
 
script type
utility
 
description
with default key binding enabled, move the cursor over a word, for example "map" and press <leader>ht
this will put the following line in the status line:


1/1: map :: (a->b) -> [a] -> [b]
(1/1 - first line of, well, a single line)

pressing <leader>hh will show the next line, if any.

<leader>hH show the previous one, the list is cyclic

there are also <leader>hi for info, <leader>hb for browse, <leader>hk for kind.

see code for more details
 
install details
just put under ~/.vim/plugin
to enable default key bindings put
let g:htip_bindkeys=1
in your ~/.vimrc
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
htip.vim 0.1 2010-08-16 6.0 Itay Donenhirsch Initial upload
ip used for rating: 3.141.100.120

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github