Re: ex editor

2007-06-05 Thread Tobia
se occasions I want it. Can you please expand on what :open does and what it's useful for? :help :open tells me nothing at all :-( Tobia

Re: Selecting font size

2007-06-05 Thread Tobia
geshack.us/ or to another such service and post the link to the picture.) Tobia

Edit output of external command

2007-06-04 Thread Tobia
Is there a better (faster?) way to edit the output of an external prog in a new tab or window, than to filter the new buffer through it? :tabnew|%!svn diff Tobia

Re: Open all folds in the current fold?

2007-06-04 Thread Tobia
it does what you want, you can map it to some zX combination that's currently unused (or redundant) Tobia

Re: collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread Tobia
Howard Glynn wrote: > In essence I would like to collapse huge (single) lines of tags to > something like

Re: OT: Vi in a browser...

2007-06-01 Thread Tobia
if you want to use middle-click to paste (on X11.) Tobia

Re: copying text char-by-char from the line above line..

2007-05-31 Thread Tobia
see an upside-down "Y" into "E" :-). It's easier to remember if you already know what C-Y and C-E do in normal made (they scroll the page) Tobia

Re: Vim over cifs share

2007-05-30 Thread Tobia
write to it (y/n)? I know it's not an answer to what you asked, but I've usually been able to fix this issue by: - ntpdate pool.ntp.org (or equivalent time sync command) on the client - ntpdate pool.ntp.org (or equivalent time sync command) on the server - umount and mount the share Tobia

Re: Why bottom-posting is prefered on Vim Mainling List?

2007-05-29 Thread Tobia
ing the quoted blocks ("gq}" or visual+"gq" as you like best) while you're formatting your email works quite well. Tobia

Re: bullet points and paragraph indenting

2007-05-29 Thread Tobia
f I type more than 2 lines, the third line > starts at beginning of line set autoindent Tobia

Re: Remapping mouse-wheel

2007-05-24 Thread Tobia
o always scroll in all windows simultaneously? Then put this in your .vimrc: set scrollbind HTH Tobia

Tag cloud? (Was: VimWiki - Poll on wiki hosting)

2007-05-24 Thread Tobia
te our own in a few lines of php... Just my 2¢ Tobia

Right click = toggle fold

2007-05-22 Thread Tobia
x- or indent-folding. Scroll, click (expand), read, click (collapse), scroll some more... Tobia

Vim to Vi (Was: weird defaults in Feisty)

2007-05-22 Thread Tobia
e engaged user, and that's a very good thing! The point is: I don't consider my learning path in any way peculiar, and if Vim had suddenly reverted to Vi while I was in phases 1 to 3, I would have looked at my computer with a blank, baffled expression on my face. Tobia

Javascript syntax folding

2007-05-20 Thread Tobia
ipt_fold=1" file.js What am I doing wrong? Tobia -- «A one-time pad isn't a cryptosystem: it's a state of mind.» —Marcus Ranum

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-03 Thread Tobia
at that fourth line probably means "Big > version with GTK2 GUI. Features included (+) or not (-):" That would explain the problem. To the original poster: try adding the following line to /etc/vim/gvimrc.local (create it if needed) source /etc/vim/vimrc Tobia

Re: repeat replace many time on each line

2007-04-02 Thread Tobia
Bob Hiestand wrote: > Tobia wrote: > > Arnaud Bourree wrote: > > > I've Xml document with attribute likes: > > > foo="00 12 AF" > > > I want to replace with: > > > foo="0x00 0x12 0xAF" > > > > this works: > > &

Re: repeat replace many time on each line

2007-04-02 Thread Tobia
^ this works: %s/\%(\%(foo=\"\)\@<=\%([0-9A-F]\{2\}\s\)*\)\@<=\([0-9A-F]\{2\}\)/0x\1/g Tobia

Re: Monospaced font problem

2007-04-01 Thread Tobia
ber to operate on a copy of the font file and to install/uninstall the font through Windows's Control Panel. That is: make a copy of the font file; set the flag on it; uninstall the currently installed font; install the modified version; profit. Tobia [1] http://developer.apple.com/textfon

Re: mapping for jumping to a tag

2007-04-01 Thread Tobia
Dimitar wrote: > * Tobia <[EMAIL PROTECTED]> [070331 20:35]: > > :mapworks here. > > Did you try this in a help file? > :help > then go to a tag and press c-j Yes, I tried it in a help window, both in console Vim and in GVim, before posting. I don't know

Re: mapping for jumping to a tag

2007-03-31 Thread Tobia
Dimitar wrote: > I also tried to map c-j to c-] but it also didn't work. Uh? :mapworks here. Tobia

Re: delete all but first occurence of a pattern

2007-03-31 Thread Tobia
haven't got around to checking it out: xml.vim http://www.vim.org/scripts/script.php?script_id=1397 Tobia

Re: invoking yanked register into colon command

2007-03-31 Thread Tobia
...the last unnamed delete or yank Ctrl-R *...the current selection (X11 only) Ctrl-R +...the clipboard contents Ctrl-R x...the contents of register x Ctrl-R Ctrl-W ...the current word under the cursor See :help c_CTRL-R Tobia

Re: Help on search and replace

2007-03-29 Thread Tobia
covered in this thread, I find zero-width look-ahead/behind assertions to be very powerful: :%s/\v(\[[^]]*)@<=\s//g ( \[ [^]]* )@<= \s I also happen to like \v, but that's just syntactic sugar! Tobia

Re: Another folding question

2007-03-28 Thread Tobia
es are named "myapp-*.log", you can put into your .vimrc: autocmd BufRead myapp-*.log set foldmethod=marker autocmd BufRead myapp-*.log set foldmarker=WARNING,END_WARNING autocmd BufRead myapp-*.log silent %s/WARNING ENDED/END_WARNING/ Tobia

Re: Customizing vim: How to change the char before commands

2007-03-26 Thread Tobia
remap : ; Except that you still have to type : in some places, such as in "Hit ENTER or type command to continue" prompts. Tobia

Re: case-sens in completion on Mac OS X

2007-03-25 Thread Tobia
evelopers explicitly enabled this feature. If you only use console Vim, you might have better luck with the one provided by Darwinports or Fink. Otherwise you might need to recompile Vim following the steps of the macvim.org guys, or ask for their help. Tobia

Re: specific lines S&R question

2007-03-24 Thread Tobia
to 'component;' 0 go back to the start of the line Tune it as needed :-) Tobia

Re: hosting wiki tips

2007-03-24 Thread Tobia
needs and hosting providers already offer. If there's a prominent spam problem, we could always restrict write access to registered mailing list members. Tobia

Re: How to turn a q recording into a map?

2007-03-24 Thread Tobia
q:) - find the map comand you used - yank it (yy) - close the commandline window (C-C C-C) - paste it Tobia

Re: Count characters

2007-03-23 Thread Tobia
Harald Kröll wrote: > a command or script to count the characters without syntax words. For > example for people who write LaTeX documents in vim and have to > control their length... That depends on the definition of a control word. If you only want to exclude \backslash_prefixed \words, and not

Re: Undo Levels Reset

2007-03-23 Thread Tobia
ndo levels are only lost when I close Vim, when I reopen the file with :e, or when Vim alerts me that the file has been changed and reloads it. The latter can be dangerous if you're not careful, and I'd appreciate any tips to work around it. Tobia

Re: Close tab / delete buffer?

2007-03-20 Thread Tobia
Yakov Lerner wrote: > I think you want to >:set nohidden > to avoid this. Does this help? Yes, thank you! Tobia

Re: highlighting "weird" characters...[solved]

2007-03-20 Thread Tobia
…, and the hundred thousand others defined by Unicode :-) At least on my system. [^ -~] on the other hand finds all non-ASCII characters. You can use either one in both :match Error and / Tobia

Close tab / delete buffer?

2007-03-20 Thread Tobia
r files or when I see too many tabs on the screen. Is this usage pattern suboptimal? Tobia PS I find these handy: map gT map gt

Re: highlighting "weird" characters...

2007-03-20 Thread Tobia
your documents. It will show as /[^ -~^I] with a blue ^I. This has the added benefit of hitting n to get to the next one. Tobia