iago-lito / intim Goto Github PK
View Code? Open in Web Editor NEWInteractively interface Vim with interpreters
License: GNU General Public License v3.0
Interactively interface Vim with interpreters
License: GNU General Public License v3.0
Hi Iago,
your plugin is well handle by Vundle but struggle when generating the helptags of the plugin:
The log file indicates:
[2018-01-29 11:30:28] > Error running :helptags /home/alain/.vim/bundle/intim/doc
Hi,
When I try to set the language syntax, e.g. by typing:
call IntimSetLanguage('myLanguage')
I get:
E117: Fonction inconnue : IntimSetLanguage
Since some time the intim plugin doesn't work anymore. autocmd entry (below) and calling directly using ":call Intim_invokeCommand ('python', 'python3')" give the same error: "E117: Unknown function: Intim_invokeCommand". The same for other commands like ":call Intim_setLanguage('python')". I already cloned the newest version. Any ideas? Could it be a vim issue?
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 21 2019 04:10:35)
Included patches: 1-197, 322, 377-378, 550, 649, 651, 703, 706-707
Extra patches: 8.1.1401, 8.1.1382, 8.1.1368, 8.1.1367, 8.1.1366, 8.1.1365, 8.1.1046, 8.1.0613, 8.1.0547, 8.1.0546, 8.1.0544, 8.1.0540, 8.1.0539, 8.1.0538, 8.1.0506, 8.1.0208, 8.1.0206, 8.1.0205, 8.1.0189, 8.1.0177, 8.1.0067, 8.1.0066
Problem forked from #3. Any .vimrc
call to an Intim_<option>
seems to fail.
@alaindanet I cannot reproduce your problem yet. Let's try digging this out :)
Can you post the output of $ vim --version
?
Is your image of Intim up-to-date? I.e. what's the output of
$ cd ~/.vim/bundle/intim
$ git rev-parse HEAD
Does a call to :call Intim_invokeCommand('python', 'sage')
from Vim command mode also throws an E117
, or is it just when you start vim?
Does slacking other functions in your .vimrc
, like call IntimSetLanguage('python')
or call call Intim_hotkeys('python', 'ii', '* += 1')
for instance, also produces E117
errors?
Thank you for your patience.
Ok I get quickly stopped while trying to start the plugin:
Erreur détectée en traitant function <SNR>26_LaunchSession[9]..<SNR>26_System :
ligne 2 :
E484: Cannot open file /tmp/viUWgfu/2
I tried to fix it without success but while doing that I realize: you say you where inspired from vim-r-plugin, but looking at the sources they seem really different from the vim-r-plugin one. Thus I tried just to change R
by python
and source
by the exec
equivalent python function and it's working :D
( I wanted to use python3 so what I didn exactly was just do in the file common_global.vim
:
:%s/\<R\>/python3/g
:%s/base::source(/exec(open(/g
)
Honestly I think I will follow this path as I am really use to vim-r-plugin shortcuts, with lot of tmux custom stuff too, it seems very straight forward like this (for exemple \rc vs your F10, or the fact that by default I think you remap the vim ctrl+D comand to something else...)
you can try what I did here : https://github.com/simoncarrignon/Vim-R-plugin
I have been using intim for quite some time with R and Python. Really a great plugin. Works (almost) perfectly for me. The only thing I miss is Julia support. That would be my data scientist's dream ;-) Would it be possible to add it? I am afraid I am not experienced enough to contribute to this in a useful way.
Great tool. Installed successfully. Opened a Python-script and started an intim-session (,oi as suggested). But no terminal opens (tmux installed, added "let g:intim_terminal = "xterm"" to .vimrc). Message: ":call 16_LunchSession()". Disappears after some seconds.
This simple script causes the error in the subject (like every loop I try to execute) (python3, xterm):
for t in range(10):
print(str(t))
^
There are no hidden tabs etc. in the script and the script runs without problems when directly processed with python. Any ideas?
Hi,
I have succeeded so far to use intim with sage.
The coding syntax is the same than python
.
When I send my lines one by one to the terminal, all is going fine.
But when I send a function definition with <Plug>IntimSendSelection
, the indentation fails and I get an error. This problem was not occuring when using intim with python
Here an example:
# Suite
def U(a,f,n):
if n == 0: return a
un_1 = a
for k in range(n):
un = f(un_1)
un_1 = un
return(un)
Thank you so much for your help!
Cheers,
Alain.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.