RE: Mac Questions

2007-01-19 Thread striker
These commands enable an interface to the script interpreter for whatever languages you enable at compile time. This is of course if you have the scripting language installed. See :h python :h perl :h ruby Kevin -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Robert

compile options

2007-01-09 Thread striker
I successfully compiled vim 7 on Mac OS X, but neglected to set options for things like Python, Perl, and digraphs, etc... I did the following to re-compile: make distclean ./configure --enable-perlinterp --enable-pythoninterp --enable- tclinterp --enable-fontset --with-features=huge make

Re: Mac Questions

2007-01-08 Thread striker
I believe both versions of Vim get its initial info from ~/.bashrc. In my ~/.vimrc I have the following entry: make sure Vim uses the bash shell set shell=bash Which verion(s) are you using? I have OS X 10.4.8 and the command line version of Vim is 6.3.82. The GUI version is 7.0. Other

:sort by date

2007-01-05 Thread striker
I have a text file in the format: 01/04/2007,field1,field2,field3 01/03/2007,field1,field2,field3 12/30/2006,field1,field2,field3 etc... I need to sort by date, but the new dates in 2007 are placed first in the sort algorithm. How can I sort by the entire date in the format above? TIA,

i_CTRL-Y on Windows

2006-12-27 Thread striker
I frequently use i_CTRL-Y on my *nix box to insert the character above. How can I make i_CTRL-Y work on Windows? i_CTRL-E does however work. TIA, Kevin

Re: Read output of shell command to a buffer fails

2006-12-22 Thread striker
What specific command are you using as cmd? What version of OS X do you have? The first couple of OS X versions used the tsch shelll. The most current versions use bash. I use the following in my .vimrc: make sure Vim uses the bash shell set shell=bash Kevin On Dec 22, 2006, at 3:18 PM,

:Nread errors

2006-12-05 Thread striker
I am having some trouble with Netrw in Vim 7. I had been using it to ftp to a web server and update files. I recently began receiving the following error(s) when running :Nread ftp://[EMAIL PROTECTED]/public_html/ ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in buffer-- If I

Re: :Nread errors

2006-12-05 Thread striker
, at 10:09 AM, Charles E Campbell Jr wrote: striker wrote: I am having some trouble with Netrw in Vim 7. I had been using it to ftp to a web server and update files. I recently began receiving the following error(s) when running :Nread ftp://[EMAIL PROTECTED]/public_html/ ftp://[EMAIL PROTECTED

Re: Overflow when striking Ctrl-a on a large number

2006-12-03 Thread striker
With the possible support for python and perl, you can perform just about any calculation you would want to do. For example: :py print 31.25 * 3= 93.75 or :!perl -e 'print 14.275 * 2' = 28.55 Obviously you can get a lot more complicated than that. Kevin On Dec 3, 2006, at 11:16 AM, Bram

Re: Calendar ?

2006-11-24 Thread striker
I use version 1.4a. The Calendar.vim file is indeed in the plugin directory. Here are a few usage lines from my Calendar.vim file: Usage: :Calendar show calendar at this year and this month :Calendar 8 show calendar at this year and given month :Calendar 2001 8

Re: Selective line deletion

2006-09-18 Thread striker
:g/foobar/d check :help :g Kevin On Sep 18, 2006, at 10:42 AM, Fabien Meghazi wrote: Hi all, This is a stupid question about a basic feature but I don't have yet enough knowledge with vim. How can I delete all lines of a buffer where at least one instance of foobar is found ? eg the

Re: Running a Set of Commands from a File

2006-08-31 Thread striker
I have a set of quotes that I download as a .html file and then manipulate. I use a file called data.vim to do everything I need. I run the file in Vim with the command :so data.vim Here is an example from the file: :e ~/Desktop/sf.html :v/String('/d :execute norm vf'df'D :%s/|/\r/g

Re: search/replace from a given column

2006-08-29 Thread striker
A script that will do what you want and more is Visual Block Commands by our own Dr. Chip. You can find it at: http://mysite.verizon.net/astronaut/vim/ index.html#VimFuncs . Try it, you'll like it. Kevin On Aug 29, 2006, at 11:24 AM, Walter Cazzola wrote: Dear Vim Experts, I'm looking

Re: The Vim Outliner: \n does not work

2006-08-28 Thread striker
I use tvo on both mac os X and Windows. For both of these the local map leader is ,, . Kevin On Aug 27, 2006, at 10:46 PM, Meino Christian Cramer wrote: Hi, I have downloaded The Vim Outliner (tvo) version 122 (1.22?) and I am using it with vim 7.066 on a Gentoo Linux (2.6.17.11

regex replace with match

2006-08-22 Thread striker
I have a large fixed width database file that I would like to delimit with commas. For example here are 2 lines of the file: 210044012123540759F181012004103C14 29847.3741091 4280 5070 42789 28529 2769 2449 3320 2948 05121

:sort vimoutliner file on header

2006-08-19 Thread striker
I have a Vimoutliner file for a soccer team that contains names in the headers. File example below: [X] 100% Soccer team [X] 100% Sims, Tim [X] 100% physical [X] 100% uniform deposit #31 [ ] 50% Smith, Sam [ ] 0% physical

:Exp using tab

2006-08-11 Thread striker
I recently updated my netrw to v102. Since that upgrade there are two things that I miss. 1) using tab for completion when using :Exp :Exp c:\dotab # used to go to the first completion i.e. C: \Documents and Settings\ 2) the ability to open a directory using :e H:\notes\ # now I

Re: Show/Hide Split Windows

2006-08-10 Thread striker
Yes there is a way in Vim without additional plugins. Take a look at :help :mksession and :help :mkview The way I use it is to set up 3-4 open windows with the files I frequently visit. Then :mksession myview.vim Then when I want to go back to that configeration I use: :so

:e c:\notes\ vs. :Exp

2006-08-04 Thread striker
In Vim 7.0 on Windows XP, if I do the following: :e h:/notes/ I cannot close the buffer via :bd If I :cd h:/notes/ and then open the dir via :Exp , then the :bd command works fine. Any insight as to why this occurs would be helpful. TIA, Kevin

Re: Search and Replace with a Regular Expression

2006-08-04 Thread striker
I agree with Chip and have a recommendation. Since you have been using Vim, Perl will be much easier to learn. A very good beginning book on Perl is located at http:// learn.perl.org/library/beginning_perl/ . It is not as thorough as the 'Camel' book, but has a lot of good info. and the

Re: substituting only in visual block

2006-08-02 Thread striker
What version of Vim are you using? In version 7.0 on both Windows and OS X, highlighting the region and doing :s/x/y/g works fine. Kevin On Aug 2, 2006, at 2:23 AM, Bernd Strohhäcker wrote: Dr. Johannes Zellner schrieb: Hi, having marked a visual block with ctrl-v, I'd like to so a