tooth pik | 2 Sep 05:22 2014
Picon

starting position of cursor

group:

when I start vim on an existing text module I kind of expect it to have
the cursor in the 1st column of the first line, but some setting is
causing it to start with the cursor on the first non-blank column of the
first line

I don't have any cute tricks imported from vimrc_example.vim, it does
this when I start vim with -u NONE, and I don't know what setting is
causing this

any help getting it to start with the cursor in column 1 line 1 will be
appreciated

to demonstrate, open a module that has "2014" on line 1, starting in
column 47 (with 46 blanks in front of it, and lots of text below it) --
for me, that's where the cursor is (column 47), and when I scroll down
(using j) I expect to see the cursor on the left, but it's over in
column 47 where it started, contrary to my expectations

am I suffering a brain flatulation?  if so, please be kind...

-- 
_|_ _  __|_|_ ._ o|  
 |_(_)(_)|_| ||_)||< 
              |      

-- 
--

-- 
You received this message from the "vim_use" maillist.
(Continue reading)

Braun Brelin | 31 Aug 17:34 2014
Picon

Can't get vim-go bundle to work

Hi all, 

I've installed the vim-go bundle on my Ubuntu 14.04 system.  I'm using pathogen
to manage my plugins.  

I ran a git clone to pull the program into my .vim/bundle directory. 

Unfortunately, for some reason, the vim-go environment doesn't seem to
work.  For example, when I run :help godocs it comes back with "Sorry, no help
for godocs".  Or, for example, when I put the cursor under a go keyword and type :godocs, I get: E492:  Not an
editor command godocs

my ~/.vim/bundle directory looks like this:

mysystem:~/.vim/bundle> ls
nerdtree  vim-go

When I first ran .vim, it started downloading a number of things that were necessary for it to work.  However,
at this point, none of the listed vim-go commands actually does anything, only giving "Not an editor
command: godoc"
(to pick a specific example).  

Running :scriptnames shows the following vim-go objects

37: ~/.vim/bundle/vim-go/plugin/goinstall.vim
...
50: ~/.vim/bundle/vim-go/ftplugin/go.vim
 51: ~/.vim/bundle/vim-go/compiler/go.vim
 52: ~/.vim/bundle/vim-go/ftplugin/go/fmt.vim
 53: ~/.vim/bundle/vim-go/ftplugin/go/godef.vim
(Continue reading)

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.


Gmane