Kaleb Hornsby | 30 Aug 20:24 2014
Picon

set backupdir=~/.vim/backup//

In my vimrc, I have setup backupdir to be `set backupdir=~/.cache/vim/backup//,/var/tmp//,/tmp//`. 
The double slash does not seem to be working for 'backupdir', but it does work for 'undodir' and 'directory'.

Instead of seeing a file like `%home%user%foo%bar.txt~` in my ~/.cache/vim/backup directory, I am
seeing simply bar.txt~.  This can lead to conflicts.

Is this a vim bug or oversight, or have I configured something incorrectly?

-- 
--

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

Bob Hyam | 29 Aug 23:35 2014
Picon

Unable to update Vim past ver 7.4.408

I have been using this script to update Vim for a long time, but noe I cannot upgrade beyond patch 408.

I tried manually from cli but get same result.

cd /usr/src/vim
hg pull
hg update
make distclean
./configure --enable-rubyinterp=yes --enable-pythoninterp=yes
--with-python-config-dir=/usr/lib/python2.6/config --with-features=huge --enable-gui=auto --with-compiledby=Bob_Hyam
##cd src && make first
cd src
make
make install

Any guidance would be greatly appreciated !

Thanks,  Bob H

-- 
--

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

(Continue reading)

Jan Matejka | 29 Aug 21:58 2014
Picon

vim not exiting with closed stdin


Hi

I wonder why vim doesn't just exit when it's stdin is closed.

The problem I have right now is that I have program which runs

.. sourcecode: python

    os.system("${EDITOR} tempfile")

and I'm testing it with nosetests. So obviously I need to fake this
function but it starts the vim if the test for some reason runs the
real function.

So I thought I'd just close the stdin for the whole nosetets but then
the tests instead of just failing the test get stuck on running
dysfunctional vim.

So I wonder if there is an actuall reason for vim not exiting here or
if check_tty(parmp) could be fixed to exit(1) just like it does there
with netbeans.

--
Jan Matějka | QA Engineer for Maintenance
SUSE LINUX s.r.o. | https://www.suse.com/
GPG: A33E F5BC A9F6 DAFD 2021  6FB6 3EBF D45B EEB6 CA8B
Niels Kobschaetzki | 29 Aug 20:30 2014
Picon

Problems with vim-repress and markdown

Hi,

I am trying to use vim-repress. When I am writing posts with the type
HTML everything works fine. But when I use markdown and want to save a
blog post the following error pops up: 

Error detected while processing :
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 41, in __check
  File "<string>", line 47, in <lambda>
  vim.error: Vim(echoerr):something wrong: cannot marshal <class 'markdown2.UnicodeWithAttrs'> objects

I am on vim 7.4.410. Vim is compiled with python-support. Any ideas what
the problem could be?

Niels

-- 
--

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

(Continue reading)

Robert Cressman | 28 Aug 19:05 2014

Downloading Plugins

I have read several pages of articles/explanations/etc. on downloading plugins. Most involve
Github.com. and provide the command to do so.

As a novice, what I don't find, or understand, is where the "Git clone git://github.com/etc./etc." gets
typed to accomplish this task. Is it in Vim, Git Bash, the command line of the system prompt??

Any help would be appreciated. PLEASE remember, your explaining to a Vim novice who is struggling to
comprehend all the "jargon" used by the experienced users!

Bob

-- 
--

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

Matthias Leopold | 27 Aug 21:16 2014
Picon

runtimepath/syntax dir question

hi,

i'm trying to build a portable static vim. compiling statically works 
alright, now i'm looking for a portable place to put the runtime files 
(those installed by "make install" into $PREFIX/share/). when i put 
$PREFIX/share/vim/vim74/ into $HOME/.vim/ and move $PREFIX/share/ out of 
the way  (won't be there on other computers) the following happens:

.) vim correctly finds things in $HOME/.vim/plugin/ (according to strace)
.) when i want to use syntax highlighting vim complains about not 
finding $PREFIX/share/vim/syntax/syntax.vim. that file is not there even 
when i restore $PREFIX/share/! when i restore $PREFIX/share (containing 
"vim/vim74") vim uses $PREFIX/share/vim/vim74/syntax/syntax.vim without 
looking for $PREFIX/share/vim/syntax/syntax.vim. my expected behaviour 
was vim using $HOME/.vim/syntax/

configure command was:

  ./configure --prefix=$PREFIX --disable-nls --without-x --enable-gui=no 
--disable-gpm --with-features=big

system is ubuntu 14.04

no $HOME/.vimrc or system config/runtime files involved

thx for help
matthias

-- 
--

-- 
(Continue reading)

Alexander Shukaev | 27 Aug 19:52 2014
Picon

Vim for Windows (Updated to 7.4.417)

Hey guys,

Vim for Windows [https://bitbucket.org/Haroogan/vim-for-windows] has been updated to 7.4.417.

Supporting both x86 (32-bit) and x64 (64-bit) architectures. Providing "huge" feature set and scripting
interfaces for Python 2.7.X, Python 3.4.X, Ruby 2.0.0, Lua 5.2.X, Perl 5.18.X. Have fun!

Kind regards,
Alexander Shukaev

-- 
--

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

Óscar Pereira | 24 Aug 14:16 2014
Picon

vim: leaders vs. character searches

Hello all,

So, these were my leader mappings:

let g:mapleader = "," 
let g:maplocalleader = ";"

Which work very well, except for the fact that (repeating) character
searches (';' or ',') get slightly slower. Slightly, but noticeably
and very annoyingly slower. I tried other combinations of
leader/localleader, but they all sucked. So finally I thought this
solution up: 

let g:mapleader = "," 
let g:maplocalleader = ";" 
nnoremap - ; 
nnoremap _ ,

Now repeating a previous character search is done with a dash, and
repeating a previous character search in reverse is done with an
underscore. This works really nicely, and I see no drawbacks --
other than the fact that it changes a vim default command...

Does anyone see any problems with this solution, or has any other
better alternatives?

---Óscar Pereira 
John Biederstedt | 22 Aug 19:42 2014
Picon

Conqueterm blanks some lines

Whenever I use conqueterm (on linux) to ssh to a nexus switch, and backspace causes the line to go blank. 
Anyone else experience this?

thanks
john biederstedt

-- 
--

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

Brant Chen | 21 Aug 07:20 2014
Picon

Looking forward to hearing from you - my vim plugin - Session-Viminfo-Management

Hey Guys,

I made a vim plugin named
Session-Viminfo-Management(http://www.vim.org/scripts/script.php?script_id=5005), built
upon Vim's built-in :mksession and :wviminfo commands.
It provide great convinience to save and load your Vim session and viminfo files automatically. 
Will anybody to have a try?

I will be glad to read your feedback if any :)

BTW, actually, I didn’t want to reinvent wheels. So I’ve had done some researches on vim.org before
real development:

    Searched on vim.org by keywords “workspace”, seems no relative plugin found.
    Searched on vim.org by keywords “viminfo”, seems no relative plugin found.
    Searched on vim.org by keywords “session”, found some: session.vim, obsession.vim ,
autosession.vim , session.vim, Vim-Sessions, Vim-simple-session

The conclusion was that I didn’t think there was a plugin can be used to manage Vim’s session and viminfo
files together.
Then I spent some spare time on it.

-- 
--

-- 
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.
(Continue reading)

Matteo Riva | 20 Aug 15:09 2014
Picon

Matchit plugin doesn't match square brackets

When using the matchit plugin I can't get the matching to work on
square brackets, unless I use the :MatchDebug command, then they work
fine.
Everything else is working as far as I can tell, and b:match_words includes [:]

Tested both on vim 7.2 and 7.3 (same config and plugins, two different
debian systems).

What could be causing this?

-- 
--

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


Gmane