Re: Folding

2011-06-02 Thread sc
On Thursday, June 02, 2011 09:36:07 Gary Johnson wrote: >while i > 0 >let istr = istr . ' ' >let i = i - 1 >endwhile i bet this was written before we had the repeat() function sc -- You received this message from the "vim_

Re: Previewing files in localhost on Mac

2011-05-25 Thread sc
heir own flavor of shell that's disturbingly different from linux bash which is all a long winded way of saying i dunno, sorry sc -- 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

Re: How To Emulate An ISPF Editor Feature in Vim

2011-05-24 Thread sc
ept what's in @/ (your last search item), and oo unfolds everything -- i am finding this eminently useful -- it reminds me of the cms kedit 'all' command kedit blows (blew?) the doors off ISPF sc -- 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

Re: DirDiff Cursor Keys

2011-05-13 Thread sc
isconfigured? Maybe I > don't even need the leader. I can move up and down using k > and j. Maybe that's how it supposed to work. > I would like to be able to issue the command while I'm in one > of the upper file windows but it might not be designed to do > that. T

Re: Standard way to undo plugin mappings?

2011-05-10 Thread sc
it (which you can add back yourself if you use them) :helpgrep no_plugin_maps returns 3 hits, the first in filetype.txt and the other 2 in usr_41.txt describing how to support the option in your newly created plugin sc -- 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

Re: Vim: Warning: Input is not from a terminal

2011-04-24 Thread sc
ysin i can do ls -AlgG * | vhs and i have a listing of the current directory in a vim throw-away buffer -- incredibly useful sc -- 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

Re: how to use alias in vim ?

2011-04-22 Thread sc
nix command has: alias sort " sort i", but not work in vim. in vim we call them abbreviations, and we have several classes of them -- the one you are looking for is the commandline abbreviation, since that is where you will be using it if you put cabbrev sort sort i in your ~/.vimr

Re: yank entire function when on functionname

2011-03-11 Thread sc
m use folds but when i encounter them i make use of a mapping i think i got from Charles -- it's a fold toggle: nnoremap :exe 'silent! normal! '. ((foldclosed('.')>0)? 'zMzx' : 'zc') should be all one line if your mail client wrapped it, and you can use

Re: bp and CTRL-^

2011-02-26 Thread sc
On Saturday 26 February 2011 08:40:08 Andy Wokula wrote: > Am 25.02.2011 21:12, schrieb sc: > > all-- > > > > the help for CTRL-^ says it is the same as e #, but it is > > clearly different when the alternate buffer is a Scratch > > buffer -- if you try to

Re: bp and CTRL-^

2011-02-25 Thread sc
> the stuff after it enforces the problem that the | will be > part of the normal command. > And you probably need a space at the end of normal to delimit > it from its argument. > So try > command! BD exe "normal \" | bd # that's what i was shooting for -- t

bp and CTRL-^

2011-02-25 Thread sc
was i deleted the scratch buffer -- so i put the delete inside the quotes as command! BD exe "normal | bd #" and nothing happened is there a way to do this or should i just type them as two commands every time? with 4 gig of ram i probably should just hit CTRL-^ and leave the visi

Re: Manpage inside Vim

2011-02-03 Thread sc
nyone have a way around that? admittedly, most often the one i want to see is the first one, not the posix one, but sometimes a language specific page is the one i want to see, like maybe the c++ one for printf ok never mind -- i just tried vman 3 printf and it brought it right up cool be

Re: Not VIM but vim_use related

2011-01-18 Thread sc
On Tuesday 18 January 2011 12:20:42 you wrote: > sc wrote: > >> (even though it is a GEcko based almost FireFox clone& > >> from Mozilla). So I am limited to YAHOO > >> classic as far as mail filters ... And even those filters > >> seem to not work.

Re: Not VIM but vim_use related

2011-01-17 Thread sc
ght, notice 'Options', then Mail Options over on the left you'll see mail filters -- if you set up a filter that moves email From vim-use to your vim-use folder i do believe it will stay out of the Spam folder sc -- You received this message from the "vim_use" maillist.

Re: gtk gvim on macosx doesn't handle -geometry completely

2011-01-17 Thread sc
t and it does > try to use it in a call to gtk_window_move() but it doesn't > seem to be working. any idea why that might be? i'd forget gtk options -- source a script that specifies winsize and winpos -- will those work for you on the mac? :h winsize :h winpos sc -- You

Re: question about filling space

2011-01-13 Thread sc
On Thursday 13 January 2011 11:52:49 sc wrote: > On Thursday 13 January 2011 11:04:37 Adrian Johnson wrote: > > I have 2 GB file tab-delim file. I want to fill the empty > > columns spaces with 0. If I use Vim , vim hangs due to > > memory. > > > > Is there a

Re: question about filling space

2011-01-13 Thread sc
ke to do following: > > $ cat myfile | awk ''''do some magic' > my_new_file. the magic will probably turn out to be very similar to what you were attempting in vim -- the substitute command is the same hth, sc -- You received this message from the &quo

Re: How can I columnize my text without using tabs?

2011-01-05 Thread sc
olumnize.awk { print "%-18s %9s %9s %9s", $1, $2, $3, $4 } and call it from a vim session with :%!awk -f columnize.awk i haven't tested this so it may need tweaking to your taste sc -- You received this message from the "vim_use" maillist. Do not top-post! Type y

Re: edit doesn't work properly when remapping "i"

2010-12-22 Thread sc
On Wednesday 22 December 2010 10:52:53 Ben Fritz wrote: > Or, add a file in your $HOME/vimfiles/after/ftplugin directory > called netrw.vim, containing your mapping: > noremap i of course that's the one i meant to say sc -- You received this message from the "vim_use&qu

Re: edit doesn't work properly when remapping "i"

2010-12-21 Thread sc
right about the path the mapping is in a function called BrowserMaps and looks like: nnoremap i :call NetrwListStyle(1) to comment it out just put a double quote at the beginning of the line sc -- 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

Re: Slow vim loading , how to find it out

2010-12-18 Thread sc
ligence in creating a masterful plugin, i was able to create a CSASnapshot of biogoo, re-de-install CSApprox, and now vim starts in 63 milliseconds AND has all the colorful bells and whistles -- the best of both worlds (i can keep cursorline turned on for both gvim and vim) sc -- 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

Re: Slow vim loading , how to find it out

2010-12-18 Thread sc
hemes being updated and such.’ woah! cool beans chris -- i will be checking into this sc -- 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

Re: Take out current line and send to xclip how to ?

2010-12-18 Thread sc
On Saturday 18 December 2010 10:38:57 Matthew Visser wrote: > Personally, though, if I want to yank something to the > clipboard, I use "+y or "*y . which can be accomplished in a script with let @+ = my_accumulated_stuff_for_pasting sc -- You received this message f

Re: Slow vim loading , how to find it out

2010-12-17 Thread sc
x from my autoload, doc, and plugin paths, and my startup time for vim dropped from 194 milliseconds to 60 ms -- the last thing i want is more plugins -- i'm down to just netrw now -- when i need to see pretty colors i'll use gvim sc -- You received this message from the "vim_use&qu

Re: Slow vim loading , how to find it out

2010-12-17 Thread sc
- makes me wonder how much i want to keep using CSApprox -- it's using over half of all startup time -- then again, vim would be a shadow of its former self without it, a conundrum sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below t

Re: Change background colour to specific colour

2010-12-01 Thread sc
sic mechanism: e.g., > :hi Normal ctermbg=blue > You can also use color numbers. > :help cterm-colors > :help xterm-color or, download and install the CSApprox plugin and everything you apply for the gui will apply to vim: http://www.vim.org/scripts/script.php?script_id=2390 sc -- You

Re: coruscating wit

2010-11-19 Thread sc
at help for mkview shows one of the settings it tampers with is current pwd -- the first thing i'd try would be removing these autocommands and seeing if the problem persists also i would check the setting of 'autochdir' and set it explicitly in my .vimrc to the way i wanted it s

reading awk output into a buffer

2010-11-18 Thread sc
wk -f ~/sumlw.awk to read in the sum, but this hangs and i have to ctrl-c it to regain control the awk works fine on the [bash] commandline, but i have to use the appropriate head and tail to get the desired range, then copy the sum back into my buffer any help will be appreciated sc -- You rec

Re: Apply function before pasting

2010-11-15 Thread sc
out nmap :set paste"+gP\|:set nopaste imap :set paste+\|:set nopaste the above two mappings started out as two lines, may be more by the time you see them sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are rep

Re: How to eliminate $-> from php words

2010-11-02 Thread sc
On Tuesday 02 November 2010 19:51:49 Tim Johnson wrote: > * sc [101102 16:20]: > > On Tuesday 02 November 2010 18:48:30 Tim Johnson wrote: > <.> > > first, test my theory by testing iskeyword with > > > > :verbose set iskeyword? > <..&g

Re: How to eliminate $-> from php words

2010-11-02 Thread sc
th iskeyword -- perhaps you have a plugin installed that is setting it -- so tell us what you see when you do the verbose query sc -- 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

Re: Some ideas for c.vim plugins or was it already implemented by someone?

2010-10-16 Thread sc
at way there won't be a space after the first paren sc -- 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

Re: Clipboard functionality on Unix/Windows

2010-10-07 Thread sc
mapping issue. if you still have set paste in your .vimrc, take it out sc -- 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

Re: VIM and TCL

2010-10-06 Thread sc
On Wednesday 06 October 2010 16:10:50 Charles E Campbell Jr wrote: > I admit that I'm guessing that, while in the shell, > tcl somefile > will launch tcl script. actually it's 'tclsh', but tcl folks will know that sc -- You received this message from the "

Re: Buffers in command line?

2010-10-04 Thread sc
or and hit the asterisk -- a real convenience feature -- asterisk searches forward, hash searches backward sc -- 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

Re: How to configure vim to use the mouse, AND to copy and paste

2010-10-01 Thread sc
ke sure and start klipper beforehand sc -- 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

Re: Mappings that never go away

2010-09-21 Thread sc
_vimrc? to trace backwards, you can execute :verbose map u and it will tell you what it's mapped to and where it was set hth, sc -- 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

Re: Clipboard functionality on Unix/Windows

2010-09-16 Thread sc
oductive in the windows shell -- i forget if it was cmd.exe or command.com with the utilities from http://unxutils.sourceforge.net installed in your path, you'll be amazed what you can do sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your r

Re: convenient settings for /etc/motd etc. that has multi-character color codes

2010-09-09 Thread sc
On Thursday 09 September 2010 17:47:38 Rahul wrote: > On Sep 9, 5:17 pm, sc wrote: > > the first thing i'd try is renaming those files so they end > > with .vim -- restart vim and see if you can't use it now > Did that. Renamed files. Restarted vim > > yo

Re: convenient settings for /etc/motd etc. that has multi-character color codes

2010-09-09 Thread sc
On Thursday 09 September 2010 16:47:31 Rahul wrote: > On Sep 9, 3:43 pm, sc wrote: > > On Thursday 09 September 2010 15:06:39 Rahul wrote: > > you need at least a big build to have conceal, normal won't > > include it -- look at the output of > > > > :v

Re: convenient settings for /etc/motd etc. that has multi-character color codes

2010-09-09 Thread sc
lines from the top -- mine says Big version with GTK2 GUI. yours will be similar, but the size of the build has to be at least big for conceal to be included when you run configure, add --with-features=big or --with-features=huge to get a build that will include it hth,

Re: How to make saveas default to original file's directory?

2010-09-09 Thread sc
ith that setting [full disclosure: i use as few plugins as possible so i don't have a wide plugin experience] sc -- 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

Re: produce key information in vimrc

2010-09-07 Thread sc
On Tuesday 07 September 2010 19:44:32 livim wrote: > Hi ! > Can I produce key information in vimrc? > Such as I want to put in a function in vimrc. perhaps :h usr_41 would be a good starting place for you sc -- You received this message from the "vim_use" mailli

Re: OpenSuse snafu resolved - need standard minimum

2010-09-04 Thread sc
bram is the BDFL for vim, but doubt he can dictate anything the distros do -- at most i think he can suggest personally i think your argument should be to remove such an invasive autocommand from the example_vimrc, and you'll have a greater chance of success sc -- You received this message

Re: "examinee" is regarded as an incorrect word in vim

2010-09-04 Thread sc
and it will be added to your local spellfile, never to be flagged as an error again this has the added benefit that now you've fixed a bug you can call yourself a programmer sc -- 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

Re: Show the list of the file in vim just like the catgs list, how to do ?

2010-09-04 Thread sc
dditional plugins: netrw supports the mouse -- in a vim session you can open it with :e . to "edit" the current directory (the period) see :h netrw for more information if you need it sc -- You received this message from the "vim_use" maillist. Do not top-post! T

Re: tab name in MacVim

2010-09-02 Thread sc
On Thursday 02 September 2010 18:14:41 ZyX wrote: > I think that 'tabline' and 'guitablabel' options are more > suitable in this case. oops -- he did say "title of the tab" didn't he -- my bad sc -- You received this message from the "vim_use&quo

Re: tab name in MacVim

2010-09-02 Thread sc
ess but you might have a look at the 'titlestring', see if you can define your own without the path see :h titlestring for an explanation and some examples sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the tex

Re: Controlling the cusor in the file browser

2010-09-01 Thread sc
On Wednesday 01 September 2010 11:55:27 jyk271 wrote: > On Aug 26, 11:27 pm, sc wrote: > > On Thursday 26 August 2010 16:46:34 Charles Campbell wrote: > > > jyk271 wrote: > > > > > From the command line I enter `vim`. > > > > > > > > I a

Re: Fwd: gvim window auto shrinks in openSUSE

2010-08-27 Thread sc
On Friday 27 August 2010 08:35:53 Vivek Bhat wrote: > Hasn't any one else faced this problem... ? i think we've all faced it and realized it really isn't a problem -- there isn't room for gvim to show another line, and he doesn't do partials sc -- You received th

Re: Controlling the cusor in the file browser

2010-08-26 Thread sc
g:netrw_sort_direction = "normal" if &modified Sexplore . else Explore . endif normal gg try silent normal n normal zz catch endtry let @/ = save_locate endfunction nmap :call MyExplore('') imap :call MyE

Re: syntax highlight to html

2010-08-24 Thread sc
#x27;t want to print the whole thing -- see :h 2html.vim for a more complete description sc -- 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

Re: How to get ruby support for gvim73 on a windows XP machine.

2010-08-21 Thread sc
net i see the first search box is labeled "Search the latest documentation (Updated 2009-06-13 for Vim 7.2.197):" i think the site should be updated or whacked... sc -- 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

Re: [SOLVED] Re: Some ideas , possible with vim ?

2010-07-24 Thread sc
cursor pos) > > There are much more. I usually split the window before I start > jumping around. Then all I have to do is quit it and I'm > back. That works best for me and keeps kind of context. BUt > c-w s etc were mentioned already as well. my favorite is sc -- Yo

Re: Recommend simple mappings

2010-07-15 Thread sc
er setlocal nonumber else setlocal number endif endif endfunction which makes it a three-way toggle including the surprisingly useful relative numbers sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below t

Re: File types for new files

2010-07-02 Thread sc
t; au BufWrite * if &ft == '' | filetype detect | fi cool beans gary -- i've always hit the :e to get vim to recognize my buffer -- this will save many keystrokes over the course of the next decade or so interestingly, it works with fi or endif sc -- You received this message from

Re: percentage of vim users running python

2010-06-29 Thread sc
to count myself among those who like a lean build with no extra languages compiled in and as few plugins running as possible whatever your modules do i would not consider them if they require a python enabled vim sc -- You received this message from the "vim_use" maillist. Do not top-post

Re: Why the cursor does not move after I use the autocmd?

2010-06-23 Thread sc
the window, I could not move the cursor using the > movement command such as j, k. If I move it use the mouse, > then it will jump back automatically. The cursor is always at > the first line and first column. > > Could anyone help me to find out why? just a shot in the dar

Re: Please help with iab problem

2010-06-22 Thread sc
t; said. I think I will try using an imap instead of an > abbreviation. without changing the function, feed it a '\n' instead of an '\s' when you call it -- it will do exactly what you want then sc -- You received this message from the "vim_use" maillis

Re: Please help with iab problem

2010-06-22 Thread sc
mple i use in all my iabbrs: func Eatchar(pat) let c = nr2char(getchar(0)) return (c =~ a:pat) ? '' : c endfunc iabbr if if ()=Eatchar('\s') you have to read down a way to see it as coded, it will eat a space and invoke the iabbr, but if you trigger with a it leave

Re: search for output of shell command

2010-06-20 Thread sc
ur buffer, with the additional benefit that you can use the same script from a bash shell if you want to see :h complex-change for a description of the various ways filtering can be performed sc -- You received this message from the "vim_use" maillist. Do not top-post! Type y

Re: Plugins - Accepted practices mapping conflicts

2010-06-14 Thread sc
; the user fixes it. > > I know about the :map and maparg() function. Can > anyone give me suggestions for how to gracefully handle > keymapping conflicts? many ppl will have let g:no_plugin_maps = 1 in their .vimrc to help avoid this very thing see :h filetype-plugins and sc

Re: "gq" text wrapping sentence separator

2010-06-01 Thread sc
ll come to a link to the 'joinspaces' option, which is i believe the one you are looking for sc -- 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

Re: MS-Windows users of the gVim Read only shorcut?

2010-05-25 Thread sc
On Tuesday 25 May 2010 4:16:24 pm Ben Fritz wrote: > but unless I'm missing something, launching vimdiff with no > files by double-clicking on the desktop icon is pretty > worthless. perhaps it's there for drag-n-drop duties sc -- You received this message from the "v

Re: How to avoid use original command while execute !cmd

2010-05-25 Thread sc
oke it as 'bash ...'" implies it, but the quoting is > possibly problematic. > > The solution in the other thread (make a proper script in your > path) is probably preferable to trying to get the quoting > right (which is probably best done by wrapping the bash >

Re: using winpos in modeline

2010-05-19 Thread sc
ll be limited only by your imagination as to the commands you are allowed to invoke your script can open that certain file, and be named as the file itself -- by virtue of its being on your ~/bin path there will be no confusion sc -- You received this message from the "vim_use" ma

Re: New file opened when clicking on a file in netrw column list (v138b)

2010-05-16 Thread sc
ring these symptoms, but really, (and thankfully) their numbers are few please forgive me for trying to thank you, that was my reason for posting, i see i cannot be understood, so i'll try, i promise i will, to stay quiet sc -- You received this message from the "vim_use"

Re: New file opened when clicking on a file in netrw column list (v138b)

2010-05-16 Thread sc
ous at finding new ways of being stupid, and that little tidbit is indeed left out, so yes, cryptic carry on, john, i applaud your efforts sc -- 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

Re: Automatic sessions

2010-05-10 Thread sc
utocmd BufReadPost * \ if line("'\"") > 1 && line("'\"") <= line("$") | \ exe "normal! g`\"" | \ endif you can either source that same file (dangerous in my opinion) or add the above code to your .vimrc hth, sc

Re: switch the line above the cursor and the line below the cursor

2010-05-04 Thread sc
ly -- i had 'ddp' and 'ddkP' mappings i have now modified to use the unamed register freeing ':m+' and ':m-2' commands it's hard to know for sure what Peng meant when he doesn't repost to his own thread -- i thought he meant what tim thought

Re: Yank range ?

2010-04-30 Thread sc
On Friday 30 April 2010 9:57:07 pm stosss wrote: > On Fri, Apr 30, 2010 at 10:46 PM, sc wrote: > > On Friday 30 April 2010 9:17:57 pm stosss wrote: > >> I went to :he y and I see: > >> :[range]y[ank] [x]Yank [range] lines [into register x]. > >> > >

Re: Yank range ?

2010-04-30 Thread sc
27;t get what I yanked. > > What I am doing wrong? > What register is my yanked text in? i think it'll be in the un-named register (") i think what you wanted to do was :'y,'zyc if you want it in register c sc -- You received this message from the "vim_

Re: vim wired usage issue that need help

2010-04-30 Thread sc
x27;t find the tag file any more. the simplest will be to :set autochdir in your _vimrc, although this setting has its detractors, and some plugins misbehave with it set, or did in the past -- i edit files all over the place and have come to rely on the fact that no matter where i am, :pwd i

Re: vim.wikia.com is a poor user experience

2010-04-28 Thread sc
text with the nauseating animated > banner ad pushing the text right. > screen shot: > http://skitch.com/lloydbudd/dbnhh/switching-case-of-character > s-vim-tips-wiki i don't see any ads at all when i go to that site -- of course i'm using firefox + adblock plus sc -- You r

Re: Info command in vim

2010-04-24 Thread sc
:-) > > I am glad I am not the only one. Does any one know how to use > info at the shell prompt? I don't think I have ever seen > positive feedback about info. me either -- if you want to take the time to learn it, info info will get you started sc -- You received

Re: Info command in vim

2010-04-23 Thread sc
e any chance you could upgrade to a newer vim? current is 7.2 with 411 patches and 2) could you be more specific about the nature of the problem you are having with this old plugin? i should probably also ask whether info works properly for you at the (bash?) command prompt sc -- You received

Re: Question about an FAQ answer

2010-04-14 Thread sc
tings is an annoying PITA. stop being annoyed and be sensible instead > I like working in Vim but want to try GVim. Maybe some one can > point out any benefits I could gain by using GVim instead of > Vim. the font is a big reason -- colors are another, but with the advent of CSA

Re: Command aliases?

2010-04-12 Thread sc
fo on how the Leader commands work one of the fun things about vim is there are usually dozens of ways of performing the same task -- you get to pick the one that makes the most sense to you -- sc -- You received this message from the "vim_use" maillist. Do not top-post! Type you

Fwd: Re: Planning Vim 7.3

2010-04-11 Thread sc
y so i can vote (with grumbling), and i plead with any and all to vote for this (it's called relative numbers) patch or maybe relative numbers was mis-labelled "add IDE features" and i have nothing to concern myself with here sc --- End Message ---

Re: common vimrc for users and super user

2010-04-08 Thread sc
he approved way, but the way i do it is to create symbolic links to my user stuff: su - cd ln -s /home//.vimrc ./.vimrc ln -s /home//.vim ./.vim exit or something along those lines should do the trick for you sc -- You received this message from the "vim_use"

Re: switching to window, by buffer nr

2010-04-07 Thread sc
hout changing window layout > > and without changing filenames of any window ? > > exe "bufwinnr(1)" wincmd w > > instead of 1 insert your buffer number. > > See > > :h bufwinnr() > :h bufname() > :h exe > :h wincmd that looks backwards to

Re: Why is "template" highlighted in Java code

2010-03-25 Thread sc
less and until the user puts let java_allow_cpp_keywords = 1 in their .vimrc -- this leads me to think perhaps the help on this subject isn't really clear on this matter sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: Screen line numbers plugin

2010-03-18 Thread sc
s the numbers into your vim instance as an added feature with the relative numbers on, whatever line the cursor is on is line 0, and the numbers increase in both directions away from current line you could probably get a lot of good ideas for your implementation by downloading and examining char

Re: default color scheme

2010-03-15 Thread sc
c > > In retrospect, though, that answer didn't really address what > you were trying to do. If all you want is for vim to use > your colorscheme when it starts up, the normal way to do it > is to put that scheme in ~/.vim/colors/foo.vim, and then to > add > >

Re: highlighting with exe

2010-03-15 Thread sc
tion, after the function call, eg (untested): :call searchcollines()set hls or words to that effect sc -- 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

Re: building console version on unices

2010-03-12 Thread sc
= 1 oh ya i forgot i allow vimball too, which saves keystrokes installing netrw this makes for a lean and mean vim -- you don't need a tiny build to get speed, just go for a sensible build and you'll have something useful and fast sc -- 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

Re: Reopen the tab I just closed

2010-03-10 Thread sc
On Wednesday 10 March 2010 05:32:18 pm corykendall wrote: > I do this all the time in firefox... I close a tab and > immediately realize "Shit! I need that!". So I reopen it > with Control-Shift-t. Is there a way to do this in vim? > CTRL-^ (actually ctrl-6) wor

Re: Netrw: File modified by just changing the listing style

2010-03-06 Thread sc
nge the listing format, and when i do, it's to get dates and sizes with one press of 'i' sc -- 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

Re: Netrw: File modified by just changing the listing style

2010-03-05 Thread sc
trwTreeListing 1"? dialog -- after i select No it shows the next format, from which i am able to quit without errors i am using netrw v137g sc -- 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

Re: Please, suggest a font!

2010-03-04 Thread sc
yet has good differention > betweel 0/O, I/l/1, and other common confusions. Could > someone please recommend a font! i haven't heard my favorite mentioned: set guifont=SUSE\ Sans\ Mono\ 10 of course i doubt it's available to other than openSUSE users, but maybe i can inspir

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread sc
On Thursday 04 March 2010 01:25:44 pm Antony Scriven wrote: > It might be worth mentioning that in google groups and gmail > at least, there is an option to display a message in a fixed > width font. --Antony > kmail too sc -- You received this message from the "vim_use"

Re: Pasting columns with space or tab

2010-03-02 Thread sc
ggested visual block mode for the deletion -- i'm surprised no-one suggested it for the copy/paste of the columns here -- to me that is simplest way sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to

Re: one instance of gvim on windows?

2010-03-01 Thread sc
y, but possibly this knowledge can guide you to the Other Button sc -- 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

Re: Integration with SAP

2010-03-01 Thread sc
ut (B) can be easily handled by assigning ":help" to keywordprg in your .vimrc thusly: set keywordprg=:help then you just hit K in normal mode with your cursor on the keyword and up pops the help for that keyword hth, sc -- You received this message from the "vim_use"

Re: Close all buffers, stay open

2010-02-27 Thread sc
nr("") exe "bdelete" i let dc += 1 endif let i += 1 endwhile echo 'buffers deleted:' dc endfunction in my .vimrc -- you could easily modify it (by removing the "&& i != bufnr("")" ) to

Re: How powerful is language build in vim compare with the language build in emacs?

2010-02-17 Thread sc
r choice if you are a fan of lisp and want to work on your buffer with it, there's no need for a lisp-enabled vim, just send whatever part of your buffer is relevant out to your lisp code and let it send back the modifications you are limited only by your imagination sc -- You receive

Re: Numbering function needed

2010-02-16 Thread sc
On Tuesday 16 February 2010 07:00:43 pm Tim Chase wrote: > sc wrote: > > On Tuesday 16 February 2010 06:33:28 pm Ben Schmidt wrote: > >> :let g:a=0|%s/^\*/\=Inc(g:a).")" > > > > > > don't you need an ending forward slash for the substitute? &

Re: Numbering function needed

2010-02-16 Thread sc
On Tuesday 16 February 2010 06:33:28 pm Ben Schmidt wrote: > Then I can do > > :let g:a=0|%s/^\*/\=Inc(g:a).")" don't you need an ending forward slash for the substitute? sc -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

Re: Text wrapping with "gq" is doing something really weird ...

2010-02-11 Thread sc
ave 'filetype indent on' (i believe 'on' is the default) you can add 'filetype indent off' to your .vimrc, see if that fixes it, and if it does you might also want to determine why vim thinks you are editing code -- check filetype with :set filetype? or the more informational :verbose set filetype? that's my guess anyway, sc -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

Re: Print via vim

2010-02-09 Thread sc
e with the utilities available at http://unxutils.sourceforge.net/ you can turn even cmd.exe into a useable shell this may not be the vim solution you were hoping for, but it will get it done sc -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

<    1   2   3   >