On 01/05/08 10:32, A.Politz wrote: [...] ... [...] Gvim will of course never survive an X server shutdown, but have you tried compiling with Gnome2? (i.e.,...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 7:29 am
89997
I was wondering if there's any debugger written specifically for Vim code? I've got a thorny problem on a vim plugin on Solaris (I can't share the code) and...
Ovid
publiustemp-vim@...
May 1, 2008 8:37 am
89998
... See ":help debug-scripts" Best regards, Tony. -- Never let your schooling interfere with your education. ...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 9:32 am
89999
HI, I would like to knon how to delete N blanked lines I have tried this with 8 lines but it deletes only the first blank line g/\(^\n\)\{8}/d Thanks Epanda ...
epanda
callingelvis@...
May 1, 2008 9:39 am
90000
... Try (untested) ... or, to also delete lines containing only zero or more spaces or tabs, ... The above assumes that you want to start searching at the line...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 9:55 am
90001
... Yeah. The :g command runs for the first line only of multiline matches. Just ... I'm baffled as to how you expect that to work, Tony. Can you explain the...
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 10:38 am
90002
... This is at lines 543-546 of *change.txt* For Vim version 7.1. Last change: 2008 Jan 16 Best regards, Tony. -- What is the difference between a Turing...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 10:51 am
90003
Many thanks to both Thomas & Luc! Al ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more...
A. S. Budden
abudden@...
May 1, 2008 11:00 am
90004
... I did! But I was blind to the count; I only saw the flags, followed the link to ... Knowing the syntax now, though, I think that solution is slightly...
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 11:09 am
90005
... Then I misunderstood. I thought he wanted to remove the next eight possibly noncontiguous blank lines. To remove all blocks of 8 blank lines, try...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 11:24 am
90006
On 01/05/08 13:24, Tony Mechelynck wrote: [...] ... Oops! :%s/^\%(\s*\n\)\{8}// ... -- George Orwell was an optimist. ...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 11:31 am
90007
... " map <f3> :call ToggleSelection(line('.'))<cr> ... Vimscript #2223 can add a little more fun: set timeoutlen=3000 com! -bar ToggleSelect call...
Andy Wokula
anwoku@...
May 1, 2008 11:40 am
90008
... I've never seen 'count' before either! Now that I have, I think a slightly more accurate statement is that ... will execute the substitute on the 8 lines...
John Beckett
johnb.beckett@...
May 1, 2008 11:45 am
90009
... Sooner or later yes ... but probably rather later than sooner, given my current lack of time, and the fact that the current solution with dcop works quite...
Andreas Müller
andrmuel@...
May 1, 2008 11:47 am
90010
... Perhaps you can fix this by changing the function so that it does bufdo if &buftype =~ '^quickfix$\|^help$' | what it did before | endif Ben. ...
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 11:47 am
90011
... I've just done a test, using count 3 (not 8). ... 111 222 333 444 555 ... Cursor at beginning of '111'. ... 111 222 333 444 555 ... Conclusion: The command...
John Beckett
johnb.beckett@...
May 1, 2008 11:56 am
90012
... Substitute on n lines starting with the next would be :.+1,.+7s/ etc. or even 8:s/ etc. (since 8: gets automagically converted to :.,.+7). Since when both...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 12:00 pm
90013
... As I am sure you found out from Tony's post Vim has a built in debugger for Vim scripts. What I would suggest to you is to download and use this plugin by...
David Fishburn
dfishburn.vim@...
May 1, 2008 1:42 pm
90014
On May 1, 9:29 am, Tony Mechelynck <antoine.mechely...@...> ... I actually use console vim inside an xterm terminal. That's why I thought my sessions...
jorges
jorgesmbox-ml@...
May 1, 2008 2:15 pm
90015
Hi, I have a following code: Authenticator.java ... import javax.swing.*; public class Authenticator extends javax.swing.JFrame { JTextField username=new...
hack
winxp@...
May 1, 2008 2:24 pm
90016
Greetings, I have searched and seached and can't find how to do it. In my vimrc how do I test the file suffix and then set specific options for this session? ...
Dennis Wicks
vim@...
May 1, 2008 2:25 pm
90017
... or ... possibly combined with :help after-directory --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use"...
Benjamin Fritz
fritzophrenic@...
May 1, 2008 2:30 pm
90018
... Tried that, but it didn't work out so well. The "what it did before" part is a :global// command; it doesn't seem to play nice with bars. You get a bunch...
Erik Falor
ewfalor@...
May 1, 2008 2:51 pm
90019
... Yeah, I had similar issues with deleting multiline patterns. Skip the 'd' and use 's///' instead. Seems the 'g' just hits on the address, and the 'd'...
Gene Kwiecinski
gkwiecinski@...
May 1, 2008 2:53 pm
90020
... Following are some extracts from my .vimrc that may give you some ideas autocmd FileType text setlocal textwidth=70 autocmd FileType mail setlocal tw=60 ...
I want to map ,xhtml to output: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html...
703designs
thomasmallen@...
May 1, 2008 3:23 pm
90023
... if exists("did_load_filetypes") finish endif augroup filetypedetect au BufRead,BufNewFile *.txt setf txt augroup END ... setlocal tw=60 ... On Windows use...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 3:29 pm
90024
... For such a simple thing you don't need a function. Just create a file ~/null.xhtml with the contents: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 3:50 pm
90025
I have recently been using the vcscommand against subversion repositories with gvim. However, in the morning I first have to use TortoiseSVN to check-in at ...