Re: Is it a matter of Unix ABC, B-A-BA', basics, school stuff, RTFM ?

2018-06-21 Thread Anthony Campbell
ous kinds. I wrote all of these initially in (g)vim and then prepared them for publication using LyX, which I find much better for this than any ordinary word processor. Vim is ideal for cutting, pasting, spell-checking etc and all this is best done separately from the fancy stuff. Anthony

Re: List not working for me any more

2017-04-23 Thread Anthony Campbell
On 23 Apr 2017, acampbell wrote: I've now resubscribed to the list and have also added my normal domain name address as an alternative in gmail, so let's see if I can now post again to the list. -- Anthony Campbellhttp://www.acampbell.uk -- -- You received this message

Use of wildcards in abbreviations?

2013-04-16 Thread Anthony Campbell
. It's no big deal but given that one can do practically anything in vim, I thought I'd ask. -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com

Re: Forcing myself to learn vim properly

2013-04-10 Thread Anthony Campbell
to the conclusion that there is no really satisfactory way to avoid the problem apart from vigilance. -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com

Re: hi CursorLine

2013-03-25 Thread Anthony Campbell
. For more options, visit https://groups.google.com/groups/opt_out. Perhaps make a test vimrc file with just the one line to see if that works? If it does,k there must be something the regular file that is precenting it working. -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk

Re: Gurus - does/can Vim have a functionality resembling Info?

2013-02-17 Thread Anthony Campbell
and pasting it? Anthony -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell https://itunes.apple.com/ca/artist/anthony-campbell

Re: Gurus - does/can Vim have a functionality resembling Info?

2013-02-17 Thread Anthony Campbell
Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell https://itunes.apple.com/ca/artist/anthony-campbell/id73235412 -- -- You received

Re: Prevent list emails going to gmail?

2013-02-13 Thread Anthony Campbell
heard of Alpine - I'll look into it. Anthony -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell https://itunes.apple.com/ca

Prevent list emails going to gmail?

2013-02-12 Thread Anthony Campbell
I normally read emails from this list via mutt, but I've just found that they also go into Inbox in my gmail account. I don't want this to happen. Is there any way to prevent it? AC -- Anthony Campbell - a...@acampbell.org.uk http://www.acampbell.org.uk http://www.reviewbooks.org.uk http

Re: Prevent list emails going to gmail?

2013-02-12 Thread Anthony Campbell
On 12 Feb 2013, Marcin Szamotulski wrote: On 14:27 Tue 12 Feb , Anthony Campbell wrote: I normally read emails from this list via mutt, but I've just found that they also go into Inbox in my gmail account. I don't want this to happen. Is there any way to prevent it? AC

Re: Prevent list emails going to gmail?

2013-02-12 Thread Anthony Campbell
On 12 Feb 2013, Aaron Webster wrote: On Tue, Feb 12, 2013 at 3:40 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 12/02/13 15:27, Anthony Campbell wrote: I normally read emails from this list via mutt, but I've just found that they also go

Re: Commands from insert mode

2012-11-12 Thread Anthony Campbell
On 11 Nov 2012, Chris Lott wrote: On Sun, Nov 11, 2012 at 12:52 AM, Anthony Campbell a...@acampbell.org.uk wrote: Sorry if it is uncharitable, but I still find it difficult to understand how it is possible to write extended prose from scratch without making numerous corrections

Re: Commands from insert mode

2012-11-11 Thread Anthony Campbell
in principle, which is probably why I stayed with Vim. -- Anthony Campbell - a...@acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell -- You received this message from the vim_use

Re: Commands from insert mode

2012-11-10 Thread Anthony Campbell
them and then to paste the result into Lyx if I want to print it as a book or something similar. Anthony -- Anthony Campbell - a...@acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http://www.smashwords.com/profile.view/acampbell

Using Latex commands in Greek text (partly OT)

2012-07-27 Thread Anthony Campbell
the latex code in English, but it still gets converted to Greek when I run Latex on the result. Obviously I have selectlanguage{greek} in the preamble. I realize that this as much a Latex as a Vim question, but does anyone on this knowledgeable list know of a solution? AC -- Anthony Campbell

Re: Using Latex commands in Greek text (partly OT) - SOLVED

2012-07-27 Thread Anthony Campbell
On 27 Jul 2012, Anthony Campbell wrote: I occasionally need to write a Greek text in Latex. This works with enc=greek and keymap=greek. But I cannot put in any latex codes, such as /pagebreak, because they appear in Greek script and Latex doesn't recognize them. I tried reloading the file

Re: esc and cursor position

2012-07-21 Thread Anthony Campbell
was that it is a feature, not a bug. But I find it annoying so I have this in my vimrc: prevents cursor moving backwards from insert inoremap ESC ESCl AC -- Anthony Campbell - a...@acampbell.org.uk http://www.reviewbooks.org.uk http://www.skepticviews.org.uk http://www.acupuncturecourse.org.uk http

Re: deleting characters in multiple files?

2012-01-18 Thread Anthony Campbell
On 17 Jan 2012, Charles Campbell wrote: Anthony Campbell wrote: I want to modify a large number of files (400+). I can semi-automate this as follows by recording the keystrokes: (1)find a particular word, (2)delete a character that follows that world, (3)repeat for a second instance

deleting characters in multiple files?

2012-01-17 Thread Anthony Campbell
. This is pretty quick for half a dozen files but not for over 400. I feel sure there must be some way to fully automate this (perhaps with argdo?) but I can't figure out how. Is it possible? Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - using Linux http

Re: password generator

2011-12-21 Thread Anthony Campbell
that fits. If you don't use a US keyboard it's best to avoid characters that differ on your keyboard. I've been caught out a couple of times like that, when an upgrade changed my default keyboard and I found my password no longer worked. I now avoid using, for example, # and @. -- Anthony Campbell

Re: What does ^S work?

2011-12-05 Thread Anthony Campbell
or ^D.) Can you please, fix it? or let me know how to escape from that state if you know that. Thank you. Nothing to do with vim. It's a linux feature. Just do Ctrl-q to get back to normal. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian

Re: Gvim crashing in xmonad - Workround

2011-09-22 Thread Anthony Campbell
On 21 Sep 2011, Anthony Campbell wrote: On 21 Sep 2011, Taylor Hedberg wrote: I use xmonad as well, but I cannot reproduce this error. What version of Vim are you using? Can you try the same procedure in a different window manager and see if you get the same result? -- Version

Re: Gvim crashing in xmonad - Workround

2011-09-22 Thread Anthony Campbell
On 22 Sep 2011, Taylor Hedberg wrote: Anthony Campbell, Thu 2011-09-22 @ 09:13:10+0100: I am using a simple workround, which is to alias gvim to gvim -f to prevent it forking. Not ideal but at least it doesn't crash. Sorry I can't be much more help. I'm simply not able to recreate

Gvim crashing in xmonad

2011-09-21 Thread Anthony Campbell
. - If I use vim instead of gvim, everything is normal. If I use gvim or start gvim from a menu (dmenu), everything works correctly. Any clues to what is happening here? -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http

Re: Gvim crashing in xmonad

2011-09-21 Thread Anthony Campbell
computers. It does not happen with Icewm. I tried using both xterm and rxvt-unicode - same problem. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell -- You

Re: Caps Lock indication

2011-07-08 Thread Anthony Campbell
for me so I put it in .xinitrc, along with various other key remappings. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell -- You received

Re: Eliminating EOL in text files

2011-04-15 Thread Anthony Campbell
On 10 Apr 2011, Ben Schmidt wrote: On 9/04/11 6:51 PM, Andy Wokula wrote: Am 16.12.2010 17:21, schrieb Tim Chase: On 12/16/2010 10:05 AM, Anthony Campbell wrote: That joins ALL the lines. What I need to do is to have each paragraph as a contimuous line, so that when I import the file

Re: Any non-programmer users of Vim here?

2011-04-09 Thread Anthony Campbell
/$/\r NB. The first line usually gives an error message : E16 invalid range, but I find I can ignore this without any ill-effects. Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http

Re: Any non-programmer users of Vim here?

2011-04-08 Thread Anthony Campbell
, but I've built up my knowledge from the help files. I pick up useful tips from time to time on this list, and when I've had specific problems I couldn't solve, people here have been very kind with supplying solutions. I've gradually constructed my own .vimrc and .gvimrc files. Anthony -- Anthony

Re: Any non-programmer users of Vim here?

2011-04-08 Thread Anthony Campbell
next month and Vim doesn't worry me (admittedly, I started using it quite a few years ago). I find it useful to browse through the documentation when I've nothing better to do; I quite often come across useful short cuts and better methods of doing things. Anthony -- Anthony Campbell

Re: Any non-programmer users of Vim here?

2011-04-08 Thread Anthony Campbell
On 08 Apr 2011, Eric Weir wrote: On Apr 8, 2011, at 4:30 AM, Anthony Campbell wrote: I dislike word processors. (I've been forced to use OpenOffice for one particular purpose recently and hate it.) I think that the process of generating prose should be separate from producing print

Load files which contain a given string?

2011-03-15 Thread Anthony Campbell
I have a directory with over 400 files, some of which contain a particular string I want to modify manually. Is there any way to tell vim to edit just the files which contain the specified string? -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http

Re: Load files which contain a given string?

2011-03-15 Thread Anthony Campbell
On 15 Mar 2011, Benjamin R. Haskell wrote: On Tue, 15 Mar 2011, Anthony Campbell wrote: I have a directory with over 400 files, some of which contain a particular string I want to modify manually. Is there any way to tell vim to edit just the files which contain the specified string

Re: OT: Vim Humans are...

2011-02-18 Thread Anthony Campbell
the act of writing from generating the publishable text version seems to me to be essentially correct, and this is what I use vim for. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com

Re: Eliminating EOL in text files

2010-12-17 Thread Anthony Campbell
On 16 Dec 2010, Tim Chase wrote: On 12/16/2010 10:35 AM, Anthony Campbell wrote: On 16 Dec 2010, Tim Chase wrote: :g/\%^\|\n\@=\s*\n/,/\n\n\|\%$/j Thanks very much - that works perfectly. Now I must try to understand _how_ it works! It breaks down as :g/pattern1/action where

Eliminating EOL in text files

2010-12-16 Thread Anthony Campbell
I occasionally want to eliminate all the text wrapping in a file (to be able to import it into oowriter). I have tried setting tw=0 and fo-=t but text wrapping persists. I can get the effect by setting tw to a large value, such as 2000, but is there a better way? -- Anthony Campbell

Re: Eliminating EOL in text files

2010-12-16 Thread Anthony Campbell
by Smashwords to produce e-books. Unfortunately, Smashwords won't accept any other format, and it's a long haul to produce the files in Linux. The only way that seems to work is first to convert them to plain text, then import that into oowriter, and finally save in doc format. -- Anthony Campbell

Re: Eliminating EOL in text files

2010-12-16 Thread Anthony Campbell
On 16 Dec 2010, Tim Chase wrote: On 12/16/2010 10:05 AM, Anthony Campbell wrote: That joins ALL the lines. What I need to do is to have each paragraph as a contimuous line, so that when I import the file into oowriter it will be easily editable. You might try: :g/\%^\|\n\@=\s*\n/,/\n\n

Re: wm and tw cause formatting problem

2010-11-05 Thread Anthony Campbell
On 04 Nov 2010, Ben Fritz wrote: On Nov 2, 11:03 am, Anthony Campbell a...@acampbell.org.uk wrote: In insert mode, if a line starts with - the next line is indented. This is not what I want. After a lot of experimenting, I found that it was because either textwidth or wrapmargin

Re: wm and tw cause formatting problem

2010-11-03 Thread Anthony Campbell
On 02 Nov 2010, Simon Ruderich wrote: On Tue, Nov 02, 2010 at 04:03:51PM +, Anthony Campbell wrote: In insert mode, if a line starts with - the next line is indented. This is not what I want. After a lot of experimenting, I found that it was because either textwidth or wrapmargin

wm and tw cause formatting problem

2010-11-02 Thread Anthony Campbell
to have to keep correcting lines with initial -. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell -- You received this message from the vim_use maillist. Do

Re: Please, suggest a font!

2010-03-03 Thread Anthony Campbell
time and like. It's available from Debian (ttf-inconsolata). It's described as a monospace font for pretty code listings and for the terminal. -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http

Re: Vim 7.2 Installation trouble on Linux

2010-02-13 Thread Anthony Campbell
On 12 Feb 2010, Michael Henry wrote: [snip] You get all that for free on this mailing list, for which I was just being thankful :-) Michael Henry Quite agree about that. I was just curious about the reason for compiling it oneself. Anthony -- Anthony Campbell - a...@acampbell.org.uk

Re: Vim 7.2 Installation trouble on Linux

2010-02-11 Thread Anthony Campbell
you get help with Vim, you can get help with Vim for your particular operating system. :-) Michael Henry Any use not to use the .deb package for vim-gtk or whatever? Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http

Re: Is vim just for programmers?

2010-01-02 Thread Anthony Campbell
-- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell -- You received this message from the vim_use maillist. For more information, visit http://www.vim.org

Is vim just for programmers?

2010-01-01 Thread Anthony Campbell
something here? Is anyone else still using vim for writing lengthy texts? Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell -- You received this message

Re: Is vim just for programmers?

2010-01-01 Thread Anthony Campbell
-room I don't use Windows. Regards, Anthony -- Anthony Campbell - a...@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell Wi -- You received this message from the vim_use maillist