Re: Function To Search Directory And Display File List

2006-07-14 Thread stri ker
Try :set wildmenu I put the above line in my .vimrc file and now can do the following: :e *s*#then hit tab and any file in the current directory that contains an 's' is displayed in a menu. Good luck, Kevin On Jul 13, 2006, at 1:58 PM, Tom Purl wrote: Hi, I'm a Vim scripting newbie,

Visual Highlight non-contiguous regions

2006-07-07 Thread stri ker
Is there a way to visually highlight multiple non-adjacent lines at the same time? For example, highlight lines 1, 4, 7, but no other lines. Kevin

:sh doesn't open shell window

2006-06-28 Thread stri ker
I am using version 7 on Mac OS X. When I open a shell with :sh, Vim only runs a single command line at the bottom of the screen. In previous versions and on my Windows box the :sh command opens a new shell window. In addition, the 'clear' command doesn't clear and redraw the screen.

Re: How to translate between windows file and linux file ?

2006-06-23 Thread stri ker
From a great vim site that has a ton of really useful info. The second line under #substitution :%s/\r//g# delete dos returns ^M(for a return sub nothing) Kevin On Jun 23, 2006, at 12:16 PM, victor NOAGBODJI wrote: Hello, I usually write on both win and linux. Whenever I

Re: quick math computations

2006-06-04 Thread stri ker
: On 6/4/06, stri ker [EMAIL PROTECTED] wrote: I frequently need to do some basic calculations. I have used the following within Vim for Integer calculations: :echo (4+7)*3-14 19 My question is this: Is there a way to do calculations with doubles instead of integers without piping

quick math computations

2006-06-03 Thread stri ker
I frequently need to do some basic calculations. I have used the following within Vim for Integer calculations: :echo (4+7)*3-14 19 My question is this: Is there a way to do calculations with doubles instead of integers without piping to an external program like bc and then inserting into

Re: How to comment a line in vim?

2006-06-02 Thread stri ker
With about the same amount of keystrokes you could use : a \t ; a - for append to end of line then tab then whatever comment character you want. If you record this to a macro you can use @ [char] to add the comment char to the end of any line no matter where you are in the line. Kevin On