[SOLVED] Re: gundo not working

2016-09-19 Thread Steve

Hi,




(Post writing: I noticed the command in the nnoremap was not written the same
as in the error, so I adjusted that. After that, the error was not the same,
but was:

Gundo requires Vim to be compiled with Python 2.4+

I'll try that tomorrow)


That was it. Building with:

./configure --enable-pythoninterp 
--with-python-config-dir=$(/usr/bin/python2.7-config --configdir)

did the trick.

Thanks Ben for your help!

Have a nice day,
Steve

--
--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gundo not working

2016-09-18 Thread Steve

Le 18-09-2016, à 12:36:24 -0700, Ben Fritz a écrit :



By default Vim does NOT load plugins from the ~/.vim/bundle directory.
Do you have a plugin such as Pathogen installed and configured to do
that for you?


No.


If you're using a recent version of vim (8.0 or one of the earlier
patches leading up to it) you can move it to


Currently using vim 8.0, patch 1-3


~/.vim/pack/whatever-name-you-want/start/gundo instead of
~/.vim/bundle/gundo, and it should "just work". In earlier Vims you
need a plugin to enable this sort of plugin loading.


I did:

mv ~/.vim/bundle/gundo ~/.vim/pack/plugins/start/gundo

then reloaded vim and when tried to execute ',u' (which is u), I get

E492: Commande inconnue: gUndoToggle

though this command exist in the gundo package:

grep -irn  gundotoggle *
autoload/gundo.py:522:  vim.command('GundoToggle')
autoload/gundo.vim:18:  command! -nargs=0 GundoToggle call 
s:GundoDidNotLoad()
autoload/gundo.vim:70:  command! -nargs=0 GundoToggle call 
s:GundoDidNotLoad()
autoload/gundo.vim:297:  command! -nargs=0 GundoToggle call s:GundoDidNotLoad()
autoload/gundo.vim:320:function! s:GundoToggle()"{{{
autoload/gundo.vim:453:function! gundo#GundoToggle()"{{{
autoload/gundo.vim:454:call s:GundoToggle()
doc/gundo.txt:56:nnoremap  :GundoToggle
doc/gundo.txt:290:* Make GundoToggle close the Gundo windows if they're 
visible but not the
plugin/gundo.vim:20:command! -nargs=0 GundoToggle call gundo#GundoToggle()
site/index.html:133:nnoremap  
:GundoToggle
site/index.html:145:nnoremap  
:GundoToggle
site/index.html:510:Make 
GundoToggle close the Gundo windows if they're


what did I miss?


Thanks for your answer.
Steve

PS: no need to Cc me, I'm subscribed to the list.



(Post writing: I noticed the command in the nnoremap was not written the same
as in the error, so I adjusted that. After that, the error was not the same,
but was:

Gundo requires Vim to be compiled with Python 2.4+

I'll try that tomorrow)

--
--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gundo not working

2016-09-18 Thread Ben Fritz
On Sunday, September 18, 2016 at 6:42:55 AM UTC-5, Steve wrote:
> Hi there !
> 
> I installed gundo with:
> 
> git clone http://github.com/sjl/gundo.vim.git ~/.vim/bundle/gundo
> 
> Then insereted
> 
> nnoremap u :gUndoToggle
> 
> saved, closed the file and edited a new one. After a while, I tried to
> use gundo by issuing ,u, but nothing happened.
> 
> I'm working on a Debian Jessie box but with a self-compiled vim 8.
> 
> How can I debug this?
> 

By default Vim does NOT load plugins from the ~/.vim/bundle directory. Do you 
have a plugin such as Pathogen installed and configured to do that for you?

If you're using a recent version of vim (8.0 or one of the earlier patches 
leading up to it) you can move it to 
~/.vim/pack/whatever-name-you-want/start/gundo instead of ~/.vim/bundle/gundo, 
and it should "just work". In earlier Vims you need a plugin to enable this 
sort of plugin loading.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gundo not working

2016-09-18 Thread Steve

Hi there !

I installed gundo with:

git clone http://github.com/sjl/gundo.vim.git ~/.vim/bundle/gundo

Then insereted

nnoremap u :gUndoToggle

saved, closed the file and edited a new one. After a while, I tried to
use gundo by issuing ,u, but nothing happened.

I'm working on a Debian Jessie box but with a self-compiled vim 8.

How can I debug this?

Thanks,
Steve

--
--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.