Re: Introduce a PDF Viewer, and its behaviour like Vim

2008-11-20 Thread A. S. Budden
2008/11/20 Alf [EMAIL PROTECTED]: has windows version now. Thank you! It looks interesting, I'll certainly have a play around with it. I know this is optimistic, but on the (long-term) plan, are you intending to allow '/' to initiate a regular expression search: this would be fabulous.

Re: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread Thomas Koch
Please see the thread: Improvements for vim.org/scripts http://groups.google.com/group/vim_use/browse_thread/thread/94ba7d11455f6eeb/2852080108a33077?lnk=gstq=improvements#2852080108a33077 and the wiki page: http://vim.wikia.com/wiki/Vim.org_relaunch I just need the time, to summarize the

Re: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread Tom Link
I might reflect the feeling of some of the plugin authors here that it is hard to receive good feedback from the users. IMHO you could announce your plugin here and link from the vim.sf.net page to that thread. (I don't know if the others would like that though. I guess some wouldn't like more

RE: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread John Beckett
Tom Link wrote: IMHO you could announce your plugin here and link from the vim.sf.net page to that thread. (I don't know if the others would like that though. I guess some wouldn't like more traffic on this ML.) Or you could create a wikia page for your plugin I guess (maybe somebody from

Re: Introduce a PDF Viewer, and its behaviour like Vim

2008-11-20 Thread Nicolas Aggelidis
Excellent work! I am looking forward to see this project mature! I will test the reader this sunday. --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php

sorting words

2008-11-20 Thread MZ
suppose I have a few line that goes like this: str_list=foo bar man act how can I sort all the words within the quote “ ... so that it becomes act bar foo man? It is okay to eliminate extra whitespace so that it ends up with only one space behind each word. --MZ

Re: sorting words

2008-11-20 Thread A. S. Budden
How about: :g/str_list/let items = sort(copy(split(matchlist(getline('.'), '\([^]*\)')[1], ' \+'))) | s/\zs[^]*\ze/\=join(items, ' ') The above should be one line :g/str_list/ for all lines containing str_list let items = Assign to variable 'items' sort( Sort the list

Re: sorting words

2008-11-20 Thread Tim Chase
suppose I have a few line that goes like this: str_list=foo bar man act how can I sort all the words within the quote “ ... so that it becomes act bar foo man? It is okay to eliminate extra whitespace so that it ends up with only one space behind each word. This is a common pattern of

Re: How do I open :help in a new tab?

2008-11-20 Thread Pento
Thanks a lot for this tip! On Nov 20, 7:44 am, John Beckett [EMAIL PROTECTED] wrote: sergio acosta wrote: I don't like that the :help command opens always in a split window. I would like to be able to have it open in a new tab. Much to my surprise, I just tried the following and it did

Re: Intesting blog posts of 10 year vim user switching to emacs

2008-11-20 Thread Pento
As I thinks there is no full alternative to vim. I tried a lof of editors. No one of them have such feautres like have vim. May be in the future it will be geany [0], but at this moment geany is lacks vs vim. About emacs. I don't like lisp syntax and emacs keybindings. [0]

multi byte filetype problems

2008-11-20 Thread soundphed
Hi I have kind of a weird problem I just noticed. I compiled vim with the +multi_byte option and was able to edit files just fine, with utf8 as the default encoding, but all of a sudden everysingle file vim opens it automatically thinks its latin1 and all the unicode chars go funky and

Re: gvim - environment/bashrc not loaded

2008-11-20 Thread Aljosa Mohorovic
thanks, it's all working after i moved stuff from bashrc to profile. Aljosa On Nov 19, 5:21 pm, Gary Johnson [EMAIL PROTECTED] wrote: Stuff like PATH and other environment settings that you expect to be seen by applications launched from your window manager should really be defined in your

Dialog font of Vim in different encoding setting

2008-11-20 Thread weasley_wx
hi all. the gvim72 for Windows set encoding to cp936 defaultly, and in this case, the dialog font is pretty (Tahona), but, the encoding of cp936 isn't good for me, so i changed it to utf-8, after set the lang of message to utf-8: set encoding=utf-8 set helplang=cn lang mes zh_CN.UTF-8 run

Re: Intesting blog posts of 10 year [..] - What do we (community) want to do to improve things ?

2008-11-20 Thread Marc Weber
On Thu, Nov 20, 2008 at 04:22:44AM -0800, Pento wrote: As I thinks there is no full alternative to vim. There is also jedit. I've been using that before learning vim and linux.. I guess there are three issues: a) vim is not an ide (such as eclipse). So if you have to do Java programming the

Re: How to wrap up

2008-11-20 Thread Erik Hahn
On Wed, Nov 19, 2008 at 12:15:55PM +0100, Ajay Jain wrote: Hi, When I write a C code, I would like to wrap up after say 80 columns. Can I do this in Vim? If yes, how? What are the related and useful commands to wrap around while coding? Mark the lines you want to wrap (with Shift-V or

Re: Introduce a PDF Viewer, and its behaviour like Vim

2008-11-20 Thread Marc Weber
On Tue, Nov 11, 2008 at 08:02:31PM +0800, Alf wrote: Apvlv is written by me. It's a Vim-like pdf viewer. Like Vim, Apvlv makes people reading their PDF files just like using Vim. So, Apvlv bindings lots of Vim command and its behaviour is like Vim. For example, Ctrl-f

Re: Intesting blog posts of 10 year [..] - What do we (community) want to do to improve things ?

2008-11-20 Thread Luc Hermitte
Hello, d) The *one* way to search - for scripts or libraries - update them - distribute them - customize them - document them - evaluate them (not only +1 / 0 / -1, but you should be able to give feedback easily!) [1] - reusing code this way that thing that vim is

Re: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread nico
Sorry, but there is no way to get user feedback for scripts, except for the very rare user who will express their view using whatever means is available. I think email, to the author or the vim_use mailing list, is the best procedure. However, if a user is not inclined, you won't get

Re: badd and syntax

2008-11-20 Thread Andy Wokula
Michal Kurgan schrieb: Hello! I've found strange behaviour in vim. maybe it's rather caused by your strange setup? When doing autocmd VimEnter * nested badd ... syntax highlight work as expected, means i see colors. I can use bnext and see colors in all badd'ed files. didn't check the

Turning off W11 without autoread?

2008-11-20 Thread Ted Pavlic
Vimmers -- Is there any way to turn off warning W11 without turning on autoread? In my case, I *don't* want a dialog box to pop up every time the file gets changed on the disk, but I also don't want the Vim buffer to automatically get updated. It seems like I could

Re: Turning off W11 without autoread?

2008-11-20 Thread Ben Schmidt
Ted Pavlic wrote: Vimmers -- Is there any way to turn off warning W11 without turning on autoread? In my case, I *don't* want a dialog box to pop up every time the file gets changed on the disk, but I also don't want the Vim buffer to automatically get updated. It

Re: Intesting blog posts of 10 year [..] - What do we (community) want to do to improve things ?

2008-11-20 Thread 703designs
About that Forth snippet: I only program in languages with infix notation, but I think that what you've shown there is very confusing because, like many others, I read left to right, not right to left. Thomas On Nov 20, 11:15 am, Marc Weber [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2008 at

Re: Turning off W11 without autoread?

2008-11-20 Thread Ted Pavlic
Is there any way to turn off warning W11 without turning on autoread? Something similar to http://vim.wikia.com/wiki/File_no_longer_available_-_mark_buffer_modified should work. Thanks, Ben! That's very helpful. For now, I'm going to try: au FileChangedShell * call

Re: badd and syntax

2008-11-20 Thread Michal Kurgan
On Thu, 20 Nov 2008 18:16:17 +0100 Andy Wokula [EMAIL PROTECTED] wrote: Michal Kurgan schrieb: Hello! I've found strange behaviour in vim. maybe it's rather caused by your strange setup? When doing autocmd VimEnter * nested badd ... syntax highlight work as expected, means i

Re: Intesting blog posts of 10 year [..] - What do we (community) want to do to improve things ?

2008-11-20 Thread Marc Weber
On Thu, Nov 20, 2008 at 11:20:48AM -0800, 703designs wrote: About that Forth snippet: I only program in languages with infix notation, but I think that what you've shown there is very confusing because, like many others, I read left to right, not right to left. What does make you think I'm

Re: command to paste into ex

2008-11-20 Thread Mr. Shawn H. Corey
On Thu, 2008-11-20 at 14:34 -0600, fREW Schmidt wrote: Hello All, At some point I knew a command that you could use to paste visually selected text (or something along those lines) into the ex command box. I couldn't find it in the docs but I presume I didn't know where to look. Any

Re: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread Marc Weber
a rather arduous task sometimes. Wonder, if anyone feels the same way? I can think of a one way -- perhaps, create a wiki page for each plugin and let users comment there, but its equally superfluous. I feel the same. See my other posts. Marc Weber

Re: command to paste into ex

2008-11-20 Thread Tim Chase
At some point I knew a command that you could use to paste visually selected text (or something along those lines) into the ex command box. I couldn't find it in the docs but I presume I didn't know where to look. Any tips? as far as I know, there's no command to bring in the visually

Re: command to paste into ex

2008-11-20 Thread fREW Schmidt
On Thu, Nov 20, 2008 at 3:11 PM, Tim Chase [EMAIL PROTECTED] wrote: At some point I knew a command that you could use to paste visually selected text (or something along those lines) into the ex command box. I couldn't find it in the docs but I presume I didn't know where to look. Any

Re: command to paste into ex

2008-11-20 Thread Gary Johnson
On 2008-11-20, fREW Schmidt [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2008 at 3:11 PM, Tim Chase [EMAIL PROTECTED] wrote: At some point I knew a command that you could use to paste visually selected text (or something along those lines) into the ex command box. I couldn't find it in

Re: command to paste into ex

2008-11-20 Thread fREW Schmidt
On 2008-11-20, fREW Schmidt [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2008 at 3:11 PM, Tim Chase [EMAIL PROTECTED] wrote: At some point I knew a command that you could use to paste visually selected text (or something along those lines) into the ex command box. I couldn't

Re: Introduce a PDF Viewer, and its behaviour like Vim

2008-11-20 Thread Alf
Can you split the Evince's window as freely? Can you mark the read position and jump there as freely? On Nov 21, 12:42 am, Marc Weber [EMAIL PROTECTED] wrote: On Tue, Nov 11, 2008 at 08:02:31PM +0800, Alf wrote: Apvlv is written by me. It's a Vim-like pdf viewer. Like Vim,

Assigning the value of a register to a variable

2008-11-20 Thread Tim Johnson
Using vim 7.10 kubunut 7.10 I'd like to be able to assign the contents of a register to a variable example: let arg = contents_of_unamed_register let cmd = !myscript . arg exe cmd Just some examples or references to :help would be sufficient. thanks again. tim

Re: Assigning the value of a register to a variable

2008-11-20 Thread Tim Johnson
On Thursday 20 November 2008, David Fishburn wrote: On Thu, Nov 20, 2008 at 9:25 PM, Tim Johnson [EMAIL PROTECTED] wrote: Using vim 7.10 kubunut 7.10 I'd like to be able to assign the contents of a register to a variable example: let arg = contents_of_unamed_register let cmd =

Re: Better feedback mechanism for Vim plugin scripts?

2008-11-20 Thread Hari
Just went through your other post. Like John B mentions, there are 2400 scripts, I believe a good portion of them might be useful but its very hard to run through each one in the list, install it and see whether it really works -- this is the user perspective (as nico mentions too). That is where

Re: sorting words

2008-11-20 Thread MZ
This is the exact command I used long ago but forgotten about. Specifically I forgot about submatch(), and I thought \= was the correct thing to use, but when I ran :h \= it was about something else and I became unsure. Thanks. --MZ On Nov 20, 12:52 pm, Ulrich Mueller [EMAIL PROTECTED]

vsplit bug?

2008-11-20 Thread Denis Smolyar
i have invisible cursor after vspilt command. in my debian/unstable gvim is already newest version. this is bug? ps. $ gvim --version VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Oct 20 2008 16:23:10) Included patches: 1-25 Compiled by [EMAIL PROTECTED] Huge version with GTK2 GUI. Features

Re: multi byte filetype problems

2008-11-20 Thread Tony Mechelynck
On 20/11/08 16:15, soundphed wrote: Hi I have kind of a weird problem I just noticed. I compiled vim with the +multi_byte option and was able to edit files just fine, with utf8 as the default encoding, but all of a sudden everysingle file vim opens it automatically thinks its latin1 and all