Configure has a lot, but really a lot, of possible arguments. To see
them all, use
src/auto/configure --help |less
For your usecase, I think the following might perhaps be relevant (but
you might want to read it all):
--enable-pythoninterp=OPTS Include Python interpreter. default=no
OPTS=no/yes/dynamic
--enable-python3interp=OPTS Include Python3 interpreter.
default=no OPTS=no/yes/dynamic
--with-plthome=PLTHOME Use PLTHOME.
--with-python-config-dir=PATH Python's config directory
--with-python3-config-dir=PATH Python's config directory
Also, --disable-blablabla is equivalent to --enable-blablabla=no and
--without-blablabla is equivalent to --with-blablabla=no for any value
of blablabla.
In any case, I recommend not to edit the makefile, and not to invoke
configure directly yourself with arguments on the command-line, but
instead to set the configure arguments by means of environments
variables set by sourcing a script, so you can be sure to use the
right arguments every time.
For details, see the last two links above the bottom line of
http://users.skynet.be/antoine.mechelynck/vim/
Best regards,
Tony.
On Sun, Apr 2, 2017 at 8:49 PM, Jacky Liu <bluegene8210@gmail.com> wrote:
> I'm making a custom version of python with some self written C++ extensions, I don't want to mess with the default installation on my Ubuntu so I installed it to .local/ under my own home directory.
>
> Now I also like to make a custom version of vim to embed my own version of python, is there any way to do this? As far as I know there are very limited options to configure's arguments, like --enable-python3interp=yes but I'm not aware of any method to specify which python to use. Thanks.
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, April 2, 2017
Re: Word definition includes period?
Old problem; you need to upgrade your vim.
C Campbell
> On Apr 1, 2017, at 11:34 PM, Saurabh T <saurabh@hotmail.com> wrote:
>
> You're right, for some reason iskeyword has an extra . in it on the Cygwin. I was editing .bashrc at the time. It does not show up on some other file types I tried, so I'll just ignore the problem. Thanks,
>
> saurabh
>
> From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Nikolay Aleksandrovich Pavlov <zyx.vim@gmail.com>
> Sent: Saturday, April 1, 2017 9:19 PM
> To: vim_use@googlegroups.com
> Cc: vim@vim.org
> Subject: Re: Word definition includes period?
>
> 2017-04-02 3:17 GMT+03:00 Saurabh T <saurabh@hotmail.com>:
>> Hi,
>>
>>
>> While using vim 7.4 on cygwin, I noticed that word characters include a
>> period, for example "cw" with cursor on the f of file.html attempts to
>> change the entire file.html rather than just file. I have LANG set to C and
>> "se encoding" shows latin1, and there's not much in vimrc (identical to the
>> one on Linux where this works as expected). What may be the problem here?
>
> $LANG is completely irrelevant, the meaning of word (what is treated
> as a word character) is controlled by `&iskeyword` option. What is
> worse is that there is a number of syntax and ftplugin files which
> think that this is not a user setting, so this option is rather
> filetype-specific.
>
> Note that resetting it may break syntax, need to adjust syntax file to
> use :syn iskeyword. If this is the case it is a bug. Note: :syn
> iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
> get a difference in the behaviour solely because your Vim is very
> outdated (7.4 was released in Aug 2013).
>
> Also feel free to file a bug report to ftplugin maintainer if filetype
> plugin happens to alter this setting.
>
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C Campbell
> On Apr 1, 2017, at 11:34 PM, Saurabh T <saurabh@hotmail.com> wrote:
>
> You're right, for some reason iskeyword has an extra . in it on the Cygwin. I was editing .bashrc at the time. It does not show up on some other file types I tried, so I'll just ignore the problem. Thanks,
>
> saurabh
>
> From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Nikolay Aleksandrovich Pavlov <zyx.vim@gmail.com>
> Sent: Saturday, April 1, 2017 9:19 PM
> To: vim_use@googlegroups.com
> Cc: vim@vim.org
> Subject: Re: Word definition includes period?
>
> 2017-04-02 3:17 GMT+03:00 Saurabh T <saurabh@hotmail.com>:
>> Hi,
>>
>>
>> While using vim 7.4 on cygwin, I noticed that word characters include a
>> period, for example "cw" with cursor on the f of file.html attempts to
>> change the entire file.html rather than just file. I have LANG set to C and
>> "se encoding" shows latin1, and there's not much in vimrc (identical to the
>> one on Linux where this works as expected). What may be the problem here?
>
> $LANG is completely irrelevant, the meaning of word (what is treated
> as a word character) is controlled by `&iskeyword` option. What is
> worse is that there is a number of syntax and ftplugin files which
> think that this is not a user setting, so this option is rather
> filetype-specific.
>
> Note that resetting it may break syntax, need to adjust syntax file to
> use :syn iskeyword. If this is the case it is a bug. Note: :syn
> iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
> get a difference in the behaviour solely because your Vim is very
> outdated (7.4 was released in Aug 2013).
>
> Also feel free to file a bug report to ftplugin maintainer if filetype
> plugin happens to alter this setting.
>
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How to make vim embed my own custom version of python ?
I'm making a custom version of python with some self written C++ extensions, I don't want to mess with the default installation on my Ubuntu so I installed it to .local/ under my own home directory.
Now I also like to make a custom version of vim to embed my own version of python, is there any way to do this? As far as I know there are very limited options to configure's arguments, like --enable-python3interp=yes but I'm not aware of any method to specify which python to use. Thanks.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Now I also like to make a custom version of vim to embed my own version of python, is there any way to do this? As far as I know there are very limited options to configure's arguments, like --enable-python3interp=yes but I'm not aware of any method to specify which python to use. Thanks.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Saturday, April 1, 2017
Re: Word definition includes period?
You're right, for some reason iskeyword has an extra . in it on the Cygwin. I was editing .bashrc at the time. It does not show up on some other file types I tried, so I'll just ignore the problem. Thanks,
saurabh
From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Nikolay Aleksandrovich Pavlov <zyx.vim@gmail.com>
Sent: Saturday, April 1, 2017 9:19 PM
To: vim_use@googlegroups.com
Cc: vim@vim.org
Subject: Re: Word definition includes period?
2017-04-02 3:17 GMT+03:00 Saurabh T <saurabh@hotmail.com>:
> Hi,
>
>
> While using vim 7.4 on cygwin, I noticed that word characters include a
> period, for example "cw" with cursor on the f of file.html attempts to
> change the entire file.html rather than just file. I have LANG set to C and
> "se encoding" shows latin1, and there's not much in vimrc (identical to the
> one on Linux where this works as expected). What may be the problem here?
$LANG is completely irrelevant, the meaning of word (what is treated
as a word character) is controlled by `&iskeyword` option. What is
worse is that there is a number of syntax and ftplugin files which
think that this is not a user setting, so this option is rather
filetype-specific.
Note that resetting it may break syntax, need to adjust syntax file to
use :syn iskeyword. If this is the case it is a bug. Note: :syn
iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
get a difference in the behaviour solely because your Vim is very
outdated (7.4 was released in Aug 2013).
Also feel free to file a bug report to ftplugin maintainer if filetype
plugin happens to alter this setting.
Do not forget to update Vim before filing any bug reports.
> Thanks,
>
>
> saurabh
>
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
saurabh
From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Nikolay Aleksandrovich Pavlov <zyx.vim@gmail.com>
Sent: Saturday, April 1, 2017 9:19 PM
To: vim_use@googlegroups.com
Cc: vim@vim.org
Subject: Re: Word definition includes period?
2017-04-02 3:17 GMT+03:00 Saurabh T <saurabh@hotmail.com>:
> Hi,
>
>
> While using vim 7.4 on cygwin, I noticed that word characters include a
> period, for example "cw" with cursor on the f of file.html attempts to
> change the entire file.html rather than just file. I have LANG set to C and
> "se encoding" shows latin1, and there's not much in vimrc (identical to the
> one on Linux where this works as expected). What may be the problem here?
$LANG is completely irrelevant, the meaning of word (what is treated
as a word character) is controlled by `&iskeyword` option. What is
worse is that there is a number of syntax and ftplugin files which
think that this is not a user setting, so this option is rather
filetype-specific.
Note that resetting it may break syntax, need to adjust syntax file to
use :syn iskeyword. If this is the case it is a bug. Note: :syn
iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
get a difference in the behaviour solely because your Vim is very
outdated (7.4 was released in Aug 2013).
Also feel free to file a bug report to ftplugin maintainer if filetype
plugin happens to alter this setting.
Do not forget to update Vim before filing any bug reports.
> Thanks,
>
>
> saurabh
>
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Re: Word definition includes period?
2017-04-02 3:17 GMT+03:00 Saurabh T <saurabh@hotmail.com>:
> Hi,
>
>
> While using vim 7.4 on cygwin, I noticed that word characters include a
> period, for example "cw" with cursor on the f of file.html attempts to
> change the entire file.html rather than just file. I have LANG set to C and
> "se encoding" shows latin1, and there's not much in vimrc (identical to the
> one on Linux where this works as expected). What may be the problem here?
$LANG is completely irrelevant, the meaning of word (what is treated
as a word character) is controlled by `&iskeyword` option. What is
worse is that there is a number of syntax and ftplugin files which
think that this is not a user setting, so this option is rather
filetype-specific.
Note that resetting it may break syntax, need to adjust syntax file to
use :syn iskeyword. If this is the case it is a bug. Note: :syn
iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
get a difference in the behaviour solely because your Vim is very
outdated (7.4 was released in Aug 2013).
Also feel free to file a bug report to ftplugin maintainer if filetype
plugin happens to alter this setting.
Do not forget to update Vim before filing any bug reports.
> Thanks,
>
>
> saurabh
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> Hi,
>
>
> While using vim 7.4 on cygwin, I noticed that word characters include a
> period, for example "cw" with cursor on the f of file.html attempts to
> change the entire file.html rather than just file. I have LANG set to C and
> "se encoding" shows latin1, and there's not much in vimrc (identical to the
> one on Linux where this works as expected). What may be the problem here?
$LANG is completely irrelevant, the meaning of word (what is treated
as a word character) is controlled by `&iskeyword` option. What is
worse is that there is a number of syntax and ftplugin files which
think that this is not a user setting, so this option is rather
filetype-specific.
Note that resetting it may break syntax, need to adjust syntax file to
use :syn iskeyword. If this is the case it is a bug. Note: :syn
iskeyword is relatively recent addition (7.4.1142, Jan 2016), you may
get a difference in the behaviour solely because your Vim is very
outdated (7.4 was released in Aug 2013).
Also feel free to file a bug report to ftplugin maintainer if filetype
plugin happens to alter this setting.
Do not forget to update Vim before filing any bug reports.
> Thanks,
>
>
> saurabh
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Word definition includes period?
Hi,
While using vim 7.4 on cygwin, I noticed that word characters include a period, for example "cw" with cursor on the f of file.html attempts to change the entire file.html rather than just file. I have LANG set to C and "se encoding" shows latin1, and there's not much in vimrc (identical to the one on Linux where this works as expected). What may be the problem here? Thanks,
saurabh
Re: configuring viewer in latex-suite
I have an update for users using gVim on Windows:
Open "compiler.vim" file found in ~/.vim/ftplugin/latex-suite
Search for all occurrences of start. Add a space between start and opening single quote.
Reason: gVim will not accept parameters when you execute :!start, instead for you to pass an argument, there must be space before start. So, the command will look like :! start <file-name>. We are just adding that space in front of all executable start commands present in the file.
Worked flawlessly for me.
Note: I have also set Tex_defaultTargetFormat and Tex_ViewRule_pdf.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Open "compiler.vim" file found in ~/.vim/ftplugin/latex-suite
Search for all occurrences of start. Add a space between start and opening single quote.
Reason: gVim will not accept parameters when you execute :!start, instead for you to pass an argument, there must be space before start. So, the command will look like :! start <file-name>. We are just adding that space in front of all executable start commands present in the file.
Worked flawlessly for me.
Note: I have also set Tex_defaultTargetFormat and Tex_ViewRule_pdf.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Posts (Atom)