character in statusline

2012-09-26 Thread Bee
character in statusline I have added both decimal and hex representations of the char under the cursor to my statusline as follows: set statusline+=%b\ " decimal byte '98' set statusline+=x%02B " hex byte 'x62' I do NOT need this, but was curious how to show the

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Eric Weir
> On Sep 26, 2012, at 10:13 AM, Steve Litt wrote: > >> On Wed, 26 Sep 2012 11:47:30 +0200, Deepak adhikari said: >> >>> I am trying to use this editor, searched stackoverflow.com (didn't ask >>> though) went to vim.org but very complex operations are explained and >>> found difficult to grasp. >

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Marc Weber
> After you've mastered the basics, browsing > http://vim.wikia.com/wiki/Category:Getting_started is probably a good idea, > too. added it to my file so that I never ever forgett about it :) > > > https://github.com/MarcWeber/vim-addon-manager/blob/master/autoload/sample_vimrc_for_new_users.vim

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Ben Fritz
On Wednesday, September 26, 2012 5:04:51 AM UTC-5, MarcWeber wrote: > First try > > > > vimtutor > > > > (run it within your shell) > > > > Its a command opening a special file containing some initial training > > such as how to delete, insert, edit text and the like > > I will secon

RE: Plugin gnupg.vim: Symmetric keys with gnupg (gpg)

2012-09-26 Thread Suresh Govindachar
Ben Fritz wrote: >On Wednesday, September 26, 2012 9:10:15 AM UTC-5, Suresh Govindachar wrote: >> >> I have since found these two tips (which are hard to read on IE >> since they show up as green font on green background): >> >>http://vim.wikia.com/wiki/Edit_gnupg-encrypted_fil

Re: spam scripts on vim.org

2012-09-26 Thread Marc Weber
Excerpts from Bill Hudacek's message of Wed Sep 26 16:15:20 +0200 2012: > With all due respect, Dr., I'd suggest that at least a check of 'ctimes' > (to catch replaced files within the DocRoot or config areas of the HTTP > server) on or (soon) after the placement of the suspect images might be >

Re: Plugin gnupg.vim: Symmetric keys with gnupg (gpg)

2012-09-26 Thread Ben Fritz
On Wednesday, September 26, 2012 9:10:15 AM UTC-5, Suresh Govindachar wrote: > > I have since found these two tips (which are hard to read on IE > since they show up as green font on green background): > >http://vim.wikia.com/wiki/Edit_gnupg-encrypted_files >http://vim.wikia.c

Re: Plugin gnupg.vim: Symmetric keys with gnupg (gpg)

2012-09-26 Thread Ben Fritz
On Wednesday, September 26, 2012 9:10:15 AM UTC-5, Suresh Govindachar wrote: > Earlier, I asked: > > > On Windows 7, I use the following command lines to encrypt and > > > decrypt using a symmetric key: > > > > > > 1) gpg -o foo.gpg -c --force-mdc foo.txt > > > 2) del

Re: How to expand this plugin?

2012-09-26 Thread Ben Fritz
On Wednesday, September 26, 2012 9:29:35 AM UTC-5, Suresh Govindachar wrote: > Hello, > > > > The tgpg plugin http://www.vim.org/scripts/script.php?script_id=1751 is > > provided as a .vba.gz file -- I can expand the .gz to get the .vba file -- > > but what to do with the .vba file? > Open i

Re: help with rexpr please

2012-09-26 Thread Ben Fritz
On Tuesday, September 25, 2012 11:27:23 PM UTC-5, Patrick wrote: > Hi > > This is my first post here. > > I am new to vim but making good progress through self study. I don't know how > to represent a word though. I know there is a /w word character but it does > not seem to do what I am trying

Re: VIM and Fortran Syntax Highlighting Error when Creating New File

2012-09-26 Thread Ben Fritz
On Tuesday, September 25, 2012 7:12:41 PM UTC-5, Paul Lou wrote: > Hello all, > > First I'd like to thank the VIM team for creating one of the best and most > flexible editors in the world. > > I just started learning VIM with Fortran, and I realized a syntax coloring > problem when creating a

How to expand this plugin?

2012-09-26 Thread Suresh Govindachar
Hello, The tgpg plugin http://www.vim.org/scripts/script.php?script_id=1751 is provided as a .vba.gz file -- I can expand the .gz to get the .vba file -- but what to do with the .vba file? Thanks, --Suresh -- You received this message from the "vim_use" maillist. Do not top-post! Type your r

help with rexpr please

2012-09-26 Thread Patrick
Hi This is my first post here. I am new to vim but making good progress through self study. I don't know how to represent a word though. I know there is a /w word character but it does not seem to do what I am trying to do. Lets say i have four words and I want to delete 1, 3 and 4. delete_me

Re: spam scripts on vim.org

2012-09-26 Thread Bill Hudacek
Charles Campbell held forth: on 09/26/2012 09:52 AM: doak wrote: Hi, On 25.09.2012 23:00, John Beckett wrote: But in reality, there is not enough spam to warrant any messing around. In my oponion this is not related to spam. As Marc Weber has already stated, I think it l

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Steve Litt
On Wed, 26 Sep 2012 11:47:30 +0200, Deepak adhikari said: > I am trying to use this editor, searched stackoverflow.com (didn't ask > though) went to vim.org but very complex operations are explained and > found difficult to grasp. > > just trying to know some basic commands like how to start, exit

RE: Plugin gnupg.vim: Symmetric keys with gnupg (gpg)

2012-09-26 Thread Suresh Govindachar
Earlier, I asked: > On Windows 7, I use the following command lines to encrypt and > decrypt using a symmetric key: > > 1) gpg -o foo.gpg -c --force-mdc foo.txt > 2) delfoo.txt > 3) gpg -o foo.txt -d foo.gpg > > The first command would be done once per fi

RE: Switch vim window with command line option

2012-09-26 Thread Roy Fulbright
> Date: Wed, 26 Sep 2012 15:36:35 +0200 > Subject: Re: Switch vim window with command line option > From: cbli...@256bit.org > To: vim_use@googlegroups.com > > On Wed, September 26, 2012 15:31, Roy Fulbright wrote: > > > > > > > > > > I have the following in a batch file on Windows 7. My goal i

Re: spam scripts on vim.org

2012-09-26 Thread Charles Campbell
doak wrote: Hi, On 25.09.2012 23:00, John Beckett wrote: But in reality, there is not enough spam to warrant any messing around. In my oponion this is not related to spam. As Marc Weber has already stated, I think it looks like an attack on the web server. As far as I understand the

Re: Switch vim window with command line option

2012-09-26 Thread Christian Brabandt
On Wed, September 26, 2012 15:31, Roy Fulbright wrote: > > > > > I have the following in a batch file on Windows 7. My goal is to start > gvim with the help window for dbext open, open a new window with a > vertical split, switch to the new window, and open an SQL file. gvim -c > ":help dbext" -c "

Switch vim window with command line option

2012-09-26 Thread Roy Fulbright
I have the following in a batch file on Windows 7. My goal is to start gvim with the help window for dbext open, open a new window with a vertical split, switch to the new window, and open an SQL file. gvim -c ":help dbext" -c ":vsplit" -c "normal " -c ":e tutorial.sql" Everything works exce

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Gerald Klein
HI Vim is a powerful tool and anytime you use a powerful tool that has a great deal of control you have a learning curve. I would suggest using one of the many Cheat Sheets offered on the web such as below. Some are simple to use and http://www.tuxfiles.org/linuxhelp/vimcheat.html http://www.world

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Marc Weber
First try vimtutor (run it within your shell) Its a command opening a special file containing some initial training such as how to delete, insert, edit text and the like Then next have a look at additional minimal information. The one I consider most important is here: https://github.com/Marc

Re: why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Karthick Gururaj
On Wed, Sep 26, 2012 at 3:17 PM, Deepak adhikari wrote: > I am trying to use this editor, searched stackoverflow.com (didn't ask > though) went to vim.org but very complex operations are explained and found > difficult to grasp. > > just trying to know some basic commands like how to start, exit,

why is it so difficult to start using vim (may be just for me).

2012-09-26 Thread Deepak adhikari
I am trying to use this editor, searched stackoverflow.com (didn't ask though) went to vim.org but very complex operations are explained and found difficult to grasp. just trying to know some basic commands like how to start, exit, save/writeout , delete some specific lines. Remove BOM form the ut