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...
89998
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 9:32 am
... See ":help debug-scripts" Best regards, Tony. -- Never let your schooling interfere with your education. ...
89999
epanda
callingelvis@...
May 1, 2008 9:39 am
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\)92;{8}/d Thanks Epanda ...
90000
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 9:55 am
... 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...
90001
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 10:38 am
... 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...
90002
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 10:51 am
... 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...
90003
A. S. Budden
abudden@...
May 1, 2008 11:00 am
Many thanks to both Thomas & Luc! Al ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more...
90004
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 11:09 am
... 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...
90005
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 11:24 am
... 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...
90006
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 11:31 am
On 01/05/08 13:24, Tony Mechelynck wrote: [...] ... Oops! :%s/^\%(\s*92;n\)\{8}// ... -- George Orwell was an optimist. ...
90007
Andy Wokula
anwoku@...
May 1, 2008 11:40 am
... " map <f3> :call ToggleSelection(line('.'))<cr> ... Vimscript #2223 can add a little more fun: set timeoutlen=3000 com! -bar ToggleSelect call...
90008
John Beckett
johnb.beckett@...
May 1, 2008 11:45 am
... I've never seen 'count39; before either! Now that I have, I think a slightly more accurate statement is that ... will execute the substitute on the 8 lines...
90009
Andreas Müller
andrmuel@...
May 1, 2008 11:47 am
... 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...
90010
Ben Schmidt
mail_ben_schmidt@...
May 1, 2008 11:47 am
... Perhaps you can fix this by changing the function so that it does bufdo if &buftype =~ '^quickfix$\|^help$' | what it did before | endif Ben. ...
90011
John Beckett
johnb.beckett@...
May 1, 2008 11:56 am
... 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...
90012
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 12:00 pm
... 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...
90013
David Fishburn
dfishburn.vim@...
May 1, 2008 1:42 pm
... 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...
90014
jorges
jorgesmbox-ml@...
May 1, 2008 2:15 pm
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...
90015
hack
winxp@...
May 1, 2008 2:24 pm
Hi, I have a following code: Authenticator.java ... import javax.swing.*; public class Authenticator extends javax.swing.JFrame { JTextField username=new...
90016
Dennis Wicks
vim@...
May 1, 2008 2:25 pm
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? ...
90017
Benjamin Fritz
fritzophrenic@...
May 1, 2008 2:30 pm
... or ... possibly combined with :help after-directory --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use"...
90018
Erik Falor
ewfalor@...
May 1, 2008 2:51 pm
... 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...
90019
Gene Kwiecinski
gkwiecinski@...
May 1, 2008 2:53 pm
... 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'...
90020
sc
toothpik@...
May 1, 2008 3:08 pm
... 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...
90023
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 3:29 pm
... if exists("did_load_filetypes") finish endif augroup filetypedetect au BufRead,BufNewFile *.txt setf txt augroup END ... setlocal tw=60 ... On Windows use...
90024
Tony Mechelynck
antoine.mechelynck@...
May 1, 2008 3:50 pm
... 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...
90025
binxter
lcordingley@...
May 1, 2008 4:47 pm
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 ...
90026
Benjamin Fritz
fritzophrenic@...
May 1, 2008 5:06 pm
... Even better (IMHO), see :help skeleton --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For...