Elijah Griffin | 29 Jul 19:57 2014
Picon

quirk of ":set paste"

From ":help paste":

	Put Vim in Paste mode.  This is useful if you want to cut or copy
	some text from one window and paste it in Vim.  This will avoid
	unexpected effects.
[...]
	When the 'paste' option is switched on (also when it was already on):
		- mapping in Insert mode and Command-line mode is disabled
		- abbreviations are disabled
		- 'textwidth' is set to 0
		- 'wrapmargin' is set to 0
		- 'autoindent' is reset
		- 'smartindent' is reset
		- 'softtabstop' is set to 0
		- 'revins' is reset
		- 'ruler' is reset
		- 'showmatch' is reset
		- 'formatoptions' is used like it is empty

I can see the usefulness of most of those options, but one that I don't
understand, and one that bugs me, is "'ruler' is reset". How does an
out-of-band information display about the current cursor position
"avoid unexpected effects"?

I use autocommands to set textwidth and autoindent settings on posts to
Usenet (and private newsgroups). This is very helpful for reformatting
text-on-the-fly when pasted from a webpage to (a) maintain a fixed
indent to help identify the block quote and (b) keep lines from
exceeding 72 columns. 

(Continue reading)

Yavuz Yetim | 29 Jul 02:55 2014
Picon

netrw reopening existing file through explorer shows temp file

I reproduced this in different ports of VIM and seems to be a netrw vimscript issue rather than an issue in a
specific port. In case it's relevant, I'm using latest MacVim "VIM - Vi IMproved 7.4 (2013 Aug 10, compiled
Apr 21 2014 14:54:22)"

To reproduce:
- Open a remote file (e.g., :e scp://remoteserver/.vimrc)
- Split the window
- Open the explorer (:E)
- Now find the same file (i.e., .vimrc) and press enter to open it

Result: Now one window shows correct name and file (i.e., scp://remote/.vimrc) and the other one the temp
file (i.e., /tmp/somelongrandomname)

Expected: Both windows should show the same file.

Note: This same issue happens as long as the existing file is loaded in some way. For example, when it's
loaded with "set hidden" or in another tab.

Is there a way to fix this?

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

tom arnall | 29 Jul 00:32 2014
Picon

Word completion seems to have problem

Word completion seems to have problem:

In this line:

	wordTom,wordDick, wordD

When I try to complete 'wordD' with <c-p> or <c-n> I get:

	"Keyword completion: pattern not found"

But, when I put instead this in the file (i.e., move 'wordD' to the next line):

	wordTom,wordDick
	
	wordD

'wordD' completes successfully.

':set complete' gets:

	complete=i

-- 
--

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

zhouhuakang459@gmail.com | 27 Jul 11:55 2014
Picon

Re: Re: vimerl problem

Thanks a lot.The new plugin has soloved my problem! :)
zhouhuakang459 <at> gmail.com
 
发件人: Adam Rutkowski 
发送时间: 2014-07-27 16:41
主题: Re:转发: 转发: vimerl problem
Which Erlang version do you use?
I'm on r16b02 still. I can't reproduce your problem.
Vimerl is deprecated, try repos at
http://vim-erlang.github.io/projects/2014/03/18/project-status.html
 
Best,
 
Adam
 
On 27/07/14 06:47, zhouhuakang459 <at> gmail.com wrote:
> ------------------------------------------------------------------------
> zhouhuakang459 <at> gmail.com
> *发件人:* zhouhuakang459 <at> gmail.com <mailto:zhouhuakang459 <at> gmail.com>
> *发送时间:* 2014-07-27 12:43
> *收件人:* jimenezrick <mailto:jimenezrick <at> gmail.com>
> *主题:* 转发: vimerl problem
> ------------------------------------------------------------------------
> zhouhuakang459 <at> gmail.com
> *发件人:* zhouhuakang459 <at> gmail.com <mailto:zhouhuakang459 <at> gmail.com>
> *发送时间:* 2014-07-27 12:25
> *收件人:* vim <mailto:vim <at> vim.org>
> *主题:* vimerl problem
> 1.I install the vimerl to help develop the erlang program,but i can
> not use the code-complete function,when i enter the c+x c+o,i meet an
> problem
> "/home/zhk1/.vim/bundle/vimerl/autoload/erlang_complete.erl:3:can't
> escript:There were comilation errors."
>   anyone can help,thanks in advance
> 2.
> ------------------------------------------------------------------------
> zhouhuakang459 <at> gmail.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.

rameo | 27 Jul 11:51 2014
Picon

Inputdialog - Aligning

I noted that Vim uses the proportional windows default font for his inputdialog text. (The same font as the
gvim menu font)

If I create an inputdialog like this:

Let question = "Which formatting?
      \ \n
      \ \n1) %.2f --> Floating point number, 2 decimals
      \ \n2) %10d --> Integer Right aligned (width 10)
      \ \n3) %02d --> Integer with 1 leading zero
      \ \n4) %g   --> Floating point number, as %f or %e depending on value
      \ \n5) etc
      \"
let a = inputdialog(question)

The output is not aligned at all. I want to align the field starting with %, the '-->' field and the field after
the '-->'.
How can I do this?

I also tried to use tabs but the result is the same.

-- 
--

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

zhouhuakang459@gmail.com | 27 Jul 06:25 2014
Picon

vimerl problem

 
1.I install the vimerl to help develop the erlang program,but i can not use the code-complete function,when i enter the c+x c+o,i meet an problem
"/home/zhk1/.vim/bundle/vimerl/autoload/erlang_complete.erl:3:can't escript:There were comilation errors."
  anyone can help,thanks in advance
2.
zhouhuakang459 <at> gmail.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.

Attachment (error1.jpg): application/octet-stream, 32 KiB
zhouhuakang459 | 27 Jul 06:18 2014
Picon

vimerl include problem

1.I install the vimerl to help develop the erlang program,but i can not use the code-complete
function,when i enter the c+x c+o,i meet an problem
"/home/zhk1/.vim/bundle/vimerl/autoload/erlang_complete.erl:3:can't escript:There were
comilation errors."
  anyone can help,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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

zhouhuakang459 | 27 Jul 06:20 2014
Picon

vimerl include problem

1.I install the vimerl to help develop the erlang program,but i can not use the code-complete
function,when i enter the c+x c+o,i meet an problem
"/home/zhk1/.vim/bundle/vimerl/autoload/erlang_complete.erl:3:can't escript:There were
comilation errors."
  anyone can help,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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

zhouhuakang459 | 27 Jul 06:10 2014
Picon

vimerl question

1.I used the Vundle to manage the vim plugin
2.and i install the vimerl plugin for vim to develop the erlang
3.but when i enter the shotcur c+x c+o,i encounter an problem
error is "/home/zhk1/.vim/bundle/vimerl/autoload/erlang_complete.erl:
can't escript:There were compilation errors".
4and the i login in the #erlang channel for help,someone advices that i should install the erlang-dev,the i
install it,but it does not help
   Could someone help me,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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

google | 26 Jul 13:45 2014
Picon

how to ban the default shortcuts of iterm2, when use vim in iterm2

I use CMD key heavenly in vim。

in other words, how to ban the default shortcus in OS X。

-- 
--

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

Thomas Hobohm | 25 Jul 04:10 2014
Picon

A New Vim T-Shirt

I've personally designed a new Vim T-Shirt which is designed to be No-Nonsense, affordable, and
great-looking. I created it because I was frustrated with how expensive available T-Shirts were. It
needs to sell fifty units on Teespring to be printed. Here's the link: http://teespring.com/vimshirt.

-- 
--

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