ping song | 16 Sep 23:40 2014
Picon

vim: netrw: how to preview vertically but on the right?

current behavior after I set "let g:netrw_preview=1" is to open a narrow vertical window from the left.
but I would prefer more to have a larger vertical window opened on the right...
how to change this behavior ?

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 <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
huangyingw | 15 Sep 19:02 2014
Picon

Select Copy Not Work On Mac

	Hi,
		 After set clipboard=unnamedplus, this works on Ubuntu, but does not work
in Mac OS X.
        If I want the select copy works perfectly both on Ubuntu and OS X,
what should I do?
        I notice that the default vim in OS X is  -xterm_clipboard

mac:MacOS huangyingw$ vi --version|grep clipboard
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
 -xterm_clipboard -xterm_save

        And the Vim in MacVim is +clipboard, but also -xterm_clipboard

mac:MacOS huangyingw$ ./Vim --version|grep clipboard
+clipboard       +iconv           +path_extra      +transparency
+eval            +mouse_dec       +startuptime     -xterm_clipboard

        What's the quickest way to change from  -xterm_clipboard to 
+xterm_clipboard.
        Or, I really doubt that, is OS X, there is no  xterm_clipboard, for
it is used in X11 environment, not available in OS X? 

--
View this message in context: http://vim.1045645.n5.nabble.com/Select-Copy-Not-Work-On-Mac-tp5722680.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
--

-- 
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.

RedX2501 | 15 Sep 15:43 2014
Picon

Optimizing syntax file for Lauterbach T32 Practice script.

Hello,

I have written a syntax file for the Lauterbach T32 Practice script language.

Unfortunately it is very slow. I was wondering if you could give me a few hints on how to optimize it.

The main thing with this language is that it has MANY keywords and fixed word combinations.

What is the best way to match that?

I have attached my current version so you get an idea of what i'm talking about.

Thank you.
RedX

-- 
--

-- 
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.
Attachment (cmm.vim): application/octet-stream, 72 KiB
Benjamin Fritz | 15 Sep 14:12 2014
Picon

Editing files on Google Drive

I recently started using Google Drive more extensively at work, and was happy to be able to edit some text files at home, hoping to see them at work later.

But when my work computer synced, it actually got a new copy of the file for every time I saved in Vim, probably due to 'backupcopy' creating a new file and renaming it rather than overwriting the old file: https://productforums.google.com/d/msg/drive/Yjmkd4nbhw4/WOhRazY3gc8J

I THOUGHT I could set 'backupcopy' in a BufRead/BufNewFile autocmd based on the location of the file I'm editing; but actually it looks like it's a global option. I want to get the benefits of "auto"/"no" documented in :help 'backupcopy' but I want to make sure my Google Drive docs get overwritten instead of copied to work around Google being careless with sync. Is there an easy way to do this? Maybe using BufEnter or BufWritePre? Will I risk bad side effects if I do that?

--
--
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.
huangyingw | 14 Sep 18:13 2014
Picon

Select Copy Not Work

	Hi,
		I am trying to enable the select copy to system clipboard.
		My intention is to use ā€œvā€ to select part to copy, and press ā€œYā€ to copy
to system clipboard.
		Bellowing is my part of my vim script:
[code]
		nnoremap Y "+yy
		clipboard=unnamedplus
[/code]
		Bellowing is my vim version information:
[code]
		huangyingw <at> mini14:~$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan  2 2014 19:39:59)
Included patches: 1-52
		huangyingw <at> mini14:~$ vim --version|grep clipboard
+clipboard       +iconv           +path_extra      +toolbar
+eval            +mouse_dec       +startuptime     +xterm_clipboard
huangyingw <at> mini14:~$ 
[/code]

--
View this message in context: http://vim.1045645.n5.nabble.com/Select-Copy-Not-Work-tp5722669.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
--

-- 
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.

Ory Band | 14 Sep 11:42 2014
Picon

zsh, solarized: Random typed keys shown on screen with wierd colors.

Hey.

Randomly, Vim prints keys I type on the keyboard where my cursor is located, in all modes (normal, insert,
visual). For example, in normal mode I press 'j', then an oddly colored 'j' char appears where my cursor was
before the cursor moved when char below. This happens in random and inconsistently.

The problem started when I moved from Bash to Zsh with oh-my-zsh, solarized-dark colorscheme. This
happened on my Mac OSX and also on Xubuntu, so I guess this is not OS related. This also happens inside and
outside tmux.

I have my $TERM set correctly I presume: 'xterm-256-color' outside TMUX, and 'screen-256-color' inside
TMUX. In Vim 'term' is set according to outside environment $TERM, and also 't_Co=256'.

Problem occurs with and without 'ttyfast', 'lazyredraw'.

I'm really lost about how to fix this. No hints on the intertubes besides the above. Can anybody help?

Thanks for your time.

-- 
--

-- 
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.

Dylan Doolittle | 14 Sep 03:01 2014
Picon

helptags

I want to create text files that are tagged and linked to each other just like vim help files (see
http://vim.wikia.com/wiki/Browsing_programs_with_tags). I am not the first who wants to do this, see
http://vim.wikia.com/wiki/Add_your_note_files_to_Vim_help or
http://vim.1045645.n5.nabble.com/making-your-own-tagfile-td1191896.html or
http://ctags.sourceforge.net/EXTENDING.html or
http://pnotepad.org/docs/howto/tag_custom_languages/ but the two commonly accepted solutions
don't work for me: (1) Learn how to define a new language in ctags, which is beyond my skill; and (2) just
write your text files as part of vim help and compile using the :helptags command.

I know enough ctags that I can run a command like this in a directory with all my text files:

ctags -R --langdef=mynotes --langmap=mynotes:.mnt --regex-salsa=/\\*\(.+\)\\*/\1/ .

but --regex-salsa=/\\*\(.+\)\\*/\1/ is my concoction and doesn't really work. What does :helptags use?
In emacs, it's really easy to find out what a command does. I don't know how to do this in vi. Under the hood, it
must use a ctags command, but I can't find the source so that I can emulate 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.
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.

huangyingw | 13 Sep 18:50 2014
Picon

How to launch kdiff3 to compare 2 neighbouring windows in VIM

Hi
	I am trying to launch kdiff3 to compare  two neighbouring windows in vim,
could some one suggest me a solution?
	Currently my idea is trying to use " register to save the file name of the
first window, and use %:p to get current file name, and then call kdiff3 to
compare these two windows. 
	But somehow, it does not work. Could someone help me with this issue?
	As shown bellow
	
	[code]nnoremap <leader>1 :let  <at> "=expand("%:p")<CR> 

function! CompareTwoFiles()
  !kdiff3 "" expand("%:p")
endfunc

nnoremap <leader>2 :call CompareTwoFiles()<cr>   [/code]
	

--
View this message in context: http://vim.1045645.n5.nabble.com/How-to-launch-kdiff3-to-compare-2-neighbouring-windows-in-VIM-tp5722657.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
--

-- 
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.

Bee | 12 Sep 20:54 2014

ruler vs statusline

Why use ruler vs statusline?

-- 
--

-- 
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.

russurquhart1 | 11 Sep 22:53 2014
Picon
Picon

Installing 7.4 windows over 7.2 windows


 Hi,

I have been very happy using vim 7.2 under windows, but was wondering if i download and install vim 7.4, will
that undo all my plugins, customizations, etc. that i have set up currently under 7.2?

I'd like to try the new one, but don't want to loose the customizations i have?

Thanks,

Russ

-- 
--

-- 
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.

russurquhart1 | 11 Sep 22:57 2014
Picon
Picon

Fwd: Installing 7.4 windows over 7.2 windows


 Hi,

I have been very happy using vim 7.2 under windows, but was wondering if i download and install vim 7.4, will
that undo all my plugins, customizations, etc. that i have set up currently under 7.2?

I'd like to try the new one, but don't want to loose the customizations i have?

Thanks,

Russ

-- 
--

-- 
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