Plugin to make easy Fsi inside Vim

343 views
Skip to first unread message

Marcio Lopes de Faria

unread,
Nov 3, 2012, 10:14:46 PM11/3/12
to fsharp-o...@googlegroups.com
Hello, i found a plugin that make easy work with fsi while editing fsharp scripts on vim: https://github.com/vim-scripts/Conque-Shell

I will work in the next week to write a script to integrate fsintellisense tool updated by Thomas with the vim omnicompletion. Any help or tips are welcome!

Best regards.

Tomas Petricek

unread,
Nov 6, 2012, 9:08:36 PM11/6/12
to fsharp-o...@googlegroups.com
Hi Marcio,

>> i found a plugin that make easy work with fsi while editing
>> fsharp scripts on vim: https://github.com/vim-scripts/Conque-Shell

This should make it possible to load fsharpi (F# interactive) inside vim,
which would be very useful.

>> I will work in the next week to write a script to integrate
fsintellisense
>> tool updated by Thomas with the vim omnicompletion.
>> Any help or tips are welcome!

The idea with the fsintellisense tool (now available in
"FSharp.AutoComplete" as part of fsharpbinding:
https://github.com/fsharp/fsharpbinding) is that an editor plugin can load
it in a hidden buffer and communicate with it to get completion information
- so this would not be visible to the user.

If you can feed the content of the current buffer (with F# source code) to
the tool somehow using standard input and then read the results (using
standard output) and present them to the user in some list or another
buffer, that could be great start!

Tomas

Rudi Grinberg

unread,
Nov 6, 2012, 9:40:19 PM11/6/12
to fsharp-o...@googlegroups.com
To integrate vim with fsharpi I would suggest to use vim-slime at: https://github.com/jpalardy/vim-slime.

This plugin binds C-c C-c to send a selection to a running tmux (or screen) session which would presumably run fsharpi.
It works quite well for OCaml so F# should not be much different.



--
--
You received this message because you are subscribed to the Google
Groups "FSharp Open Source Community" group.
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource?hl=en




Reply all
Reply to author
Forward
0 new messages