Vim Amsterdam Meetup: September 26th

2013-09-11 Thread Rob Hoelz
Hi fellow Vimmers,

If you're not in the Amsterdam area, please feel free to disregard this.  I 
just wanted to spread the word that I've set up another meetup for Vim 
Amsterdam, this time at the Dutch Game Garden in Utrecht.  If you're interested 
in coming, either just as an attendee or as a speaker, please let me know!

Meetup link:

http://www.meetup.com/Vim-Amsterdam/events/139431692/

-Rob

-- 
-- 
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/groups/opt_out.


vim plugin nvim on linux mint

2013-09-11 Thread Paull Vanhowt
Hey,

I am completely new to linux, python and vim... so I really am hopeless here^^
Just trying to configure vim with plugins etc, all works fine, except:

I have found nvim (https://github.com/cwoac/nvim), which is like notational 
velocity (http://notational.net/) for linux and microsoft. I have used 
notational velocity for a short period of time and lots of people say its 
great, so I thought let's get it.

but it does not work and so I hope one of you could help me out here, because 
google now actually hates me for using it so much in the last few days, trying 
to figure out what's wrong...


Terminal shows this, after typing vim :call NVIM_init()


Code:
Error detected while processing function NVIM_init..SNR36_SetupResults:
line2:
Traceback (most recent call last):
  File string, line 1, in module
NameError: name 'vim' is not defined
line3:
Traceback (most recent call last):
  File string, line 1, in module
NameError: name 'vim' is not defined
line4:
Traceback (most recent call last):
  File string, line 1, in module
NameError: name 'vim' is not defined
Error detected while processing function NVIM_init..SNR36_DefPython:
line  282:
Traceback (most recent call last):
  File string, line 280, in module
  File string, line 117, in populate_initial_buffer
NameError: global name 'buf_results' is not defined


then nvim is starting, but nothing is working. Every command results in an 
error message (not defined)



About my software and system:

Linux Mint 15 (Ubuntu)
vim from Ubuntu/Mint package
All plugins work BUT nvim

Python should be active:

:python print Hello

Hello appears in the vim command line


python and vim version:


fabian@fabian-Aspire-7730G ~ $ python --version
Python 2.7.4
fabian@fabian-Aspire-7730G ~ $ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Apr  2 2013 09:18:16)
Included patches: 1-547
Modified by pkg-vim-maintain...@lists.alioth.debian.org
Compiled by buildd@
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +float +folding -footer +fork() +gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall
+linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname
+mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm
-mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme
+netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile
+python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
   system vimrc file: $VIM/vimrc
 user vimrc file: $HOME/.vimrc
  user exrc file: $HOME/.exrc
  system gvimrc file: $VIM/gvimrc
user gvimrc file: $HOME/.gvimrc
system menu file: $VIMRUNTIME/menu.vim
  fall-back for $VIM: /usr/share/vim
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread 
-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz   
-pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/libgnomeui-2.0 
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 
-I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/include -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/orbit-2.0 
-I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/atk-1.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/cairo 
-I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
-I/usr/include/tcl8.5  -D_REENTRANT=1  -D_THREAD_SAFE=1  
-D_LARGEFILE64_SOURCE=1 

Re: Which version of Ruby should I use with Vim 7.4?

2013-09-11 Thread Oskar Kvist
I read about the issue here http://hynek.me/articles/vim-7-3-on-win32/ and 
downloaded a version that was compiled for Ruby 2 from http://wyw.dcweb.cn/. 
Works great.

However, this should probably be reported as an issue. I read that bugs should 
be reported on vim_dev but I don't know if this qualifies. I read somewhere 
that if one is not sure that it's a bug, use vim_use instead.

On Wednesday, September 11, 2013 2:21:20 AM UTC+2, Tony Mechelynck wrote:
 On 11/09/13 00:14, Oskar Kvist wrote:
 
  Hi!
 
 
 
  I'm having trouble getting Ruby to work (need it for the LustyJuggler 
  plugin) with Vim 7.4. If I look in the gvim.exe file, it references 
  msvcrt-ruby192.dll, but even the latest ruby 1.9.3 has msvcrt-ruby191.dll 
  in it. I tried renaming that to msvcrt-ruby192.dll but it didn't work 
  (results in a LoadError: Incompatible library version), not renaming the 
  dll does not work either, has('ruby') == 0 then.
 
 
 
  I'm searched for answers to this question, but to my surprise I could not 
  find anything.
 
 
 
  I'm on Windows by the way, maybe that has something to do with it.
 
 
 
 
 
 Vim without Cream has, alas, not yet got beyond 7.3.829; it hasn't 
 
 changed since 20 February. If you want to use it anyway, you need Ruby 
 
 1.9.1.
 
 
 
 I'm surprised that your Ruby 1.9.3 has a ruby191.dll with it. If your 
 
 gvim version needs a msvcrt-ruby192.dll, I would expect it to have been 
 
 compiled for Ruby 1.9.2. You can check that by starting it and checking 
 
 the bottom half of the output of the :version command: you'll probably 
 
 see there a number of Ruby-related compiler and linker defines.
 
 
 
 If you compile Vim yourself (on any OS), you can compile it for (almost) 
 
 any Ruby version, but you need to make sure that there is no mismatch 
 
 between your Ruby version and what Vim expects. On Linux this would be 
 
 simply a matter of having the right development packages installed 
 
 (and configure would mostly do the right thing), but on Windows you have 
 
 to tell the make program which Ruby version you have installed; how to 
 
 do that may vary according to which compiler (and makefile) you are 
 
 using. Check the text of your src/make_{something}.mak (where 
 
 {something} varies according to your compiler): you ought to be able to 
 
 find there which make command-line switch (or environment variable) you 
 
 need to set, and to what, as a function of your installed Ruby package. 
 
 Usually there is a default value, which may or may not be the version 
 
 installed on your system.
 
 
 
 
 
 Best regards,
 
 Tony.
 
 -- 
 
 Gentlemen of the jury, said the defense attorney, now beginning
 
 to warm to his summation, the real question here before you is, shall this
 
 beautiful young woman be forced to languish away her loveliest years in a
 
 dark prison cell?  Or shall she be set free to return to her cozy little
 
 apartment at 4134 Mountain Ave. -- there to spend her lonely, loveless hours
 
 in her boudoir, lying beside her little Princess phone, 962-7873?

-- 
-- 
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/groups/opt_out.


Re: Vim Amsterdam Meetup: September 26th

2013-09-11 Thread Marc Weber
I'd appreciate someone taking some notes and posting a summary here.

Marc Weber

-- 
-- 
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/groups/opt_out.


netrw absolute and relative path handling

2013-09-11 Thread selyana baldo
Hi,

I'm currently using vim 7.4.5 in linux (Mint 15 olivia) and I noticed a strange 
behaviour concerning netrw.

if I do:
cd /some/directory
vim .

= it's working (vi runs the netrw plugin and displays the /some/directory 
directory content) even though I have a warning message complaining about . 
being a directory

if I do:
vim /some/directory

= I only get a blank screen (vi opens a new and empty buffer) and I get a 
/some/directory is a directory warning. the behaviour is the same with vim 
/some/directory/ (except that I get an invalid file name warning)

moreover, if I run vi and then do a :e /some/directory it's working.

I tried the same with vim 7.3 (same netrw version) : it's working wether the 
path for the directory is relative or absolute.

my .vimrc only contains set nocp

so it seems opening a directory with its absolute path doesn't work (at least 
on my computer). I tried to run vim with the -V option but found no significant 
difference between the vim -V . and the vim -V /some/directory

any ideas ? am I the only one with this strange netrw or vim 7.4 behaviour ?

-- 
Selyana

-- 
-- 
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/groups/opt_out.


Re: Advanced vimrc? question

2013-09-11 Thread Gabor Urban
2013. szeptember 10., kedd 14:35:09 UTC+2 időpontban David Fishburn a 
következőt írta:
 ...In my case, I didn't like the indent settings for PHP and XML, so I 
 created:
 
 
 
 
 
 
 
 after/indent/php.vim
 
 
 after/indent/xml.vim
 
 
 Oops, I meant:
 
 
 after/ftplugin/php.vim
 
 after/ftplugin/xml.vim

Hi guys,

Thanks for the info. I should have been more patient googling about.. :-)

You were very nice.

-- 
-- 
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/groups/opt_out.


CtrlP - use the same root-folder after opened a file ...

2013-09-11 Thread Petar Kadakevliev
Hello,

I can use CtrlP to set the root folder for a project, and after that - to 
perform a quick find for a file. So, I do this:

:CtrlP /path/to/project/root/folder - Enter

and it scans the folder for the files in it. After that - C-d - and start 
typing the name of the file - and a list of files appear. Then I open the file 
and start to edit it.

And my question is: what should I do in this moment, if I want to start new 
search, but from the root folder again? ... without having to type 

:CtrlP /path/to/project/root/folder - Enter

again :) ... 

Thanks in advance ;) ... 

-- 
-- 
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/groups/opt_out.


Re: Advanced vimrc? question

2013-09-11 Thread Tony Mechelynck

On 11/09/13 21:55, Gabor Urban wrote:

2013. szeptember 10., kedd 14:35:09 UTC+2 időpontban David Fishburn a 
következőt írta:

...In my case, I didn't like the indent settings for PHP and XML, so I created:







after/indent/php.vim


after/indent/xml.vim


Oops, I meant:


after/ftplugin/php.vim

after/ftplugin/xml.vim


Hi guys,

Thanks for the info. I should have been more patient googling about.. :-)

You were very nice.



Don't use Google to get help about Vim. Use the built-in help system 
instead. AFAIK Vim is the _only_ piece of software which comes with a 
decent help system. It even has help about how to use help, in

:help help.txt  (or F1)
:help helphelp.txt


Best regards,
Tony.
--
I learned to play guitar just to get the girls, and anyone who says they
didn't is just lyin'!
-- Willie Nelson

--
--
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/groups/opt_out.


Re: CtrlP - use the same root-folder after opened a file ...

2013-09-11 Thread Damien Guyot
2013/9/11 Petar Kadakevliev petar.kadakevl...@mentormate.com

 Hello,

 I can use CtrlP to set the root folder for a project, and after that - to
 perform a quick find for a file. So, I do this:

 :CtrlP /path/to/project/root/folder - Enter

 and it scans the folder for the files in it. After that - C-d - and
 start typing the name of the file - and a list of files appear. Then I open
 the file and start to edit it.

 And my question is: what should I do in this moment, if I want to start
 new search, but from the root folder again? ... without having to type

 :CtrlP /path/to/project/root/folder - Enter

 again :) ...

 Thanks in advance ;) ...

 --
 --
 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/groups/opt_out.


If you have a known file in your root folder you can set :
  let g:ctrlp_root_markers = [your_file.name]

This option is a liste of filenames, so [ and ] are mendatory.

CtrlP will search your path backward until he finds the given root file and
set the root folder for your search.

-- 
-- 
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/groups/opt_out.


Re: Vim Amsterdam Meetup: September 26th

2013-09-11 Thread Tony Mechelynck

On 11/09/13 21:38, Rob Hoelz wrote:

Hi fellow Vimmers,

If you're not in the Amsterdam area, please feel free to disregard this.  I 
just wanted to spread the word that I've set up another meetup for Vim 
Amsterdam, this time at the Dutch Game Garden in Utrecht.  If you're interested 
in coming, either just as an attendee or as a speaker, please let me know!

Meetup link:

http://www.meetup.com/Vim-Amsterdam/events/139431692/

-Rob



Any idea yet what will happen or be told about? Too early for that maybe?

I might have liked to go but my last train _back_ from Utrecht on the 
same day is at 20:47, and since the meeting starts at 20:00 (and is on a 
Thursday, so much earlier wouldn't be feasible)... YSWIM.


No problem though. I have something totally different (and not 
computer-related) tentatively booked in Brussels (where I live) on 
that day  time (so there's no risk of me getting bored). :-)



Best regards,
Tony.
--
Look!  Before our very eyes, the future is becoming the past.

--
--
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/groups/opt_out.


Re: Which version of Ruby should I use with Vim 7.4?

2013-09-11 Thread Tony Mechelynck

On 11/09/13 22:25, Oskar Kvist wrote:

I read about the issue here http://hynek.me/articles/vim-7-3-on-win32/ and 
downloaded a version that was compiled for Ruby 2 from http://wyw.dcweb.cn/. 
Works great.

However, this should probably be reported as an issue. I read that bugs should 
be reported on vim_dev but I don't know if this qualifies. I read somewhere 
that if one is not sure that it's a bug, use vim_use instead.


It might be a bug, or it might be a bug but not in Vim, or…

I'd say though, that most people seriously interested in the 
technical stuff talked about on vim_dev, are also subscribed to 
vim_use. (The converse is of course not true).


Happy to know you got your problem fixed. Someone interested in 
compiling Vim on Windows with Ruby for the largest audience possible 
might take an interest in this; and even if they don't answer (or not 
immediately), it doesn't mean they didn't take notice.



Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
18. Your wife drapes a blond wig over your monitor to remind you of what she
looks like.

--
--
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/groups/opt_out.