Re: [Fwd: [Fwd: Latex Suite - question about font shortcut FMD]]

2007-04-18 Thread Christian Ebert
* Robert Cussons on Wednesday, April 18, 2007 at 09:22:13 +0200: I work with a nuclear physics model called FMD, so as you can imagine, each time I type FMD I would prefer it if latex suite didn't interpret that as an abbreviation for \textmd{}++ :-) I found the following lines in the

Re: invoking yanked register into colon command

2007-03-31 Thread Christian Ebert
* Guillaume Bog on Saturday, March 31, 2007 at 23:04:34 +0800: I getting used to many vim features but I still lack some skills, even after having read the user-manual. For example, I do often want to replace a name in the text with another. What I used to do is selecting it with mouse and

Re: python omnicompletion with Python 2.5

2007-03-27 Thread Christian Ebert
* Christian Ebert on Tuesday, March 27, 2007 at 01:15:20 +0200: I did a few experiments. As I compile with --disable-darwin, I build a Vim.app (that's how it's called on the Mac) for testing, and there things get even more confusing with a newer Python in /usr/local, as it uses the new

python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
Hello, I wanted to try out omnicompletion with Python 2.5, and I get the following: Error detected while processing function SNR62_DefPython: line 517: Traceback (most recent call last): Error detected while processing function SNR62_DefPython: line 517: File string, line 1, in module Error

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
* Aaron Griffin on Monday, March 26, 2007 at 10:39:24 -0500: On 3/26/07, Christian Ebert [EMAIL PROTECTED] wrote: I wanted to try out omnicompletion with Python 2.5, and I get the following: Error detected while processing function Try the following in vim: :python import sys; print

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
* Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500: Hmmm, well, I don't really know what to say w.r.t. all that. The best I can do is push a new pythoncomplete out that isn't dependent on cStringIO. I think it may have been a pre-optimization anyway. But cStringIO is faster ;)

Re: python omnicompletion with Python 2.5

2007-03-26 Thread Christian Ebert
Hi Aaron, * Aaron Griffin on Monday, March 26, 2007 at 13:54:19 -0500: Hmmm, well, I don't really know what to say w.r.t. all that. The best I can do is push a new pythoncomplete out that isn't dependent on cStringIO. I think it may have been a pre-optimization anyway. I'll make a note of

Re: case-sens in completion on Mac OS X

2007-03-25 Thread Christian Ebert
* A.J.Mechelynck on Sunday, March 25, 2007 at 11:07:35 +0200: Ricardo SIGNES wrote: I am running Vim 7.0.218, the latest build from macvim.org. I run the vim binary from inside the app bundle at the console to get my terminal vim. My filesystem is case-sensitive HFS+, but vim's filename

Re: buffer ring behaviour - how do I make it an MRU ring?

2007-03-09 Thread Christian Ebert
* Keith Hanlan on Friday, March 09, 2007 at 12:48:49 -0500: I want :bprev to take me to the most-recently-used buffer but I can't see a way to do that. It always follows the order in which the buffers where loaded. I use :bnext and :bprev (mapped to cntl-- and cntl--) to cycle through my

Re: How do I make the current working directory follow the active document in Gvim?

2007-02-26 Thread Christian Ebert
* cga2000 on Monday, February 26, 2007 at 11:57:39 -0500: On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote: - To change (once) to the dir of the current file :cd %:p:h Nice. But I'm not going to remember it until I understand it. I scoured the :help files but

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Christian Ebert
* Tim Chase on Tuesday, February 20, 2007 at 09:13:17 -0600: I'm still not 100% sure why I got this craziness: inoremap c-u c-onopc-u This gives me a crazy E486: Pattern not found: insert which, I haven't searched for the word insert so this one makes me scratch my head. Bug

Re: Tutorial on mapping keys in Vim

2006-12-04 Thread Christian Ebert
Hi Yegappan, * Yegappan Lakshmanan on Wednesday, November 29, 2006 at 22:22:28 -0800: I have created a tutorial on mapping keys in Vim. http://www.geocities.com/yegappan/vim_maps_tutorial.txt This tutorial describes mode specific maps, key notations, tips about maps in various modes, etc.

Re: Execute command for current block of code

2006-11-22 Thread Christian Ebert
* Kevin Old on Wednesday, November 22, 2006 at 12:57:27 -0500: Actually, I didn't know that highlighting visually and hitting the : will give me the range. That's half the battle for me on this. I've tried putting that into a mapping like this: map vti :',' !perltidy vmap vti

Re: generate a directory listing file with vim.

2006-11-08 Thread Christian Ebert
* A.J.Mechelynck on Monday, November 06, 2006 at 09:44:05 +0100: Method II : Using netrw - new . I just realize that this doesn't work for me (anymore) with latest Vim7 (it still works with Vim6.2 that I have here as well. It works neither works with netrw from CVS nor with the one I

Re: generate a directory listing file with vim.

2006-11-08 Thread Christian Ebert
* Gary Johnson on Wednesday, November 08, 2006 at 12:54:43 -0800: On 2006-11-08, Christian Ebert [EMAIL PROTECTED] wrote: * A.J.Mechelynck on Monday, November 06, 2006 at 09:44:05 +0100: Method II : Using netrw - new . I just realize that this doesn't work for me (anymore

Re: Command line tab completion

2006-11-02 Thread Christian Ebert
* Benji Fisher on Thursday, November 02, 2006 at 09:21:36 -0500: $ vim -u NONE :set nocp wildmenu wildmode=longest:list :help termiTab :help preserTab :help preser :preserve 'preserveindent''nopreserveindent' :help preser I was hoping for termin in the first case and preserve

Re: --enable-pythoninterp gives unrecognized option `-pthread' on MacOS X

2006-10-16 Thread Christian Ebert
* Bram Moolenaar on Friday, September 22, 2006 at 14:24:09 +0200: The configure script has a specific check for not adding -pthread on Mac OS/X. It looks like you used the --disable-darwin argument or somehow disabled Darwin in another way. Please check src/auto/config.log. I just found out

Re: strange mapping in Latex Suite ?

2006-10-09 Thread Christian Ebert
* Matias Grana on Monday, October 09, 2006 at 10:04:42 -0300: So I have two questions here: why a map on M-i ends up on 'é' ? And what is a good way to change this mapping? I mean, a way which works after an eventual update of LatexSuite.

Re: Font rendering on Mac

2006-10-06 Thread Christian Ebert
* David Goodlad on Thursday, October 05, 2006 at 17:07:09 -0700: Well, it looks fine on my macbook pro, where anti-aliasing works. The real question becomes, why won't antialiasing work on my other mac? Have you checked the setting of System Preferences-Appearance-Turn off text smoothing for

Re: Problem with accents

2006-10-01 Thread Christian Ebert
* Giovanni Funchal on Sunday, October 01, 2006 at 13:52:08 +0200: I've recently installed kubuntu linux over vmware, then I used the adept package manager to install the following packages (6.4-006) vim vim-gtk vim-gui-common vim-latexsuite vim-runtime I have a french keyboard, and

Re: Getting the output of some commands into a buffer

2006-09-27 Thread Christian Ebert
* Meino Christian Cramer on Wednesday, September 27, 2006 at 04:16:55 +0200: there are several commands like :map or :version which put a lot of valuable informations (at least for a newbie like me) into a temporary something (buffer seems the wrong nameing to

Re: Piping messages from ex commands into a new tab

2006-09-26 Thread Christian Ebert
* Benji Fisher on Tuesday, September 26, 2006 at 09:53:32 -0400: fun! TabMessage(cmd) redir = message silent execute a:cmd redir END tab split put=message endfun In case one wishes to have /only/ the command output in the tab, and no delay by messages: function! TabMessage(cmd)

Re: Plain TeX support ?

2006-09-25 Thread Christian Ebert
* Meino Christian Cramer on Saturday, September 23, 2006 at 06:54:29 +0200: Looking into :help \TeX\ does not that much information about the support of generating nice and find documents via plain TeX. Where can I get informations about what I can

Re: Making vim fast

2006-09-25 Thread Christian Ebert
* Eric Smith on Monday, September 25, 2006 at 23:11:47 +0200: I have a number of large files open and generally experience slow performance. Have you tried the LargeFile plugin? http://www.vim.org/scripts/script.php?script_id=1506 c -- _B A U S T E L L E N_ lesen! ---

Re: latin1 words in an utf-8 file

2006-09-24 Thread Christian Ebert
Hi Yakov, * Yakov Lerner on Saturday, September 23, 2006 at 21:01:30 +0300: If you can do the following two steps, then you'll achieve what you want to obtain: 1) write your own decoder/encoder from/to your mixed utf-8+latin format (in perl, C or in whatever language) that just reads

Re: latin1 words in an utf-8 file

2006-09-24 Thread Christian Ebert
Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 17:35:25 +0200: Christian Ebert wrote: * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: #1. cat file1.utf8.txt file2.latin1.txt file3.utf8.txt file99.utf8.txt will produce invalid output unless the Latin1

Re: latin1 words in an utf-8 file

2006-09-23 Thread Christian Ebert
Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: Christian Ebert wrote: Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic without conversion, and I don't

--enable-pythoninterp gives unrecognized option `-pthread' on MacOS X

2006-09-22 Thread Christian Ebert
Hello, I wanted to ask this for quite a long time (Vim 6.4 actually): When I compile with --enable-pythoninterp I get the following warnings: $ head -n5 vim-make.log Starting make in the src directory. If there are problems, cd to the src directory and run make there cd src gnumake first

Re: --enable-pythoninterp gives unrecognized option `-pthread' on MacOS X

2006-09-22 Thread Christian Ebert
* Benji Fisher on Friday, September 22, 2006 at 08:19:12 -0400: On Fri, Sep 22, 2006 at 09:53:06AM +0200, Christian Ebert wrote: Linking: gcc -L/sw/lib -L/usr/local/lib -o vim -lncurses -liconv -L/sw/lib -L/usr/local/lib /sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/auto

Re: --enable-pythoninterp gives unrecognized option `-pthread' on MacOS X

2006-09-22 Thread Christian Ebert
* Bram Moolenaar on Friday, September 22, 2006 at 14:24:09 +0200: The configure script has a specific check for not adding -pthread on Mac OS/X. It looks like you used the --disable-darwin argument Yes: ./configure --prefix=/usr/local --with-features=huge \ --enable-multibyte

Search messages (was: What is the information in the leftmost two columns and how do I turn it off?)

2006-08-05 Thread Christian Ebert
Hi Tony, * A.J.Mechelynck on Saturday, August 05, 2006 at 01:25:22 +0200: Christian Ebert wrote: * A.J.Mechelynck on Friday, August 04, 2006 at 19:51:53 +0200: You may want to determine which script or plugin is responsible: search for the word sign (i.e. the pattern /\sign

augroup! not working for VimLeave

2006-07-31 Thread Christian Ebert
Hello, Consider the following: augroup TestLeave au! au VimLeave * echo hello augroup END Now if I do: :augroup! TestLeave TestLeave is still echoing hello. Whereas if I do: :au! TestLeave TestLeave is deleted. Is this a case covered by:

Re: augroup! not working for VimLeave

2006-07-31 Thread Christian Ebert
* Gary Johnson on Monday, July 31, 2006 at 01:13:10 -0700: To paraphrase Will Rogers: All I know is what I read in the manual. heh :help :autocmd-remove says, :au[tocmd]! [group] Remove ALL autocommands. And as you discovered, :help augroup-delete says not to execute

Re: AsNeeded?

2006-07-30 Thread Christian Ebert
* A.J.Mechelynck on Sunday, July 30, 2006 at 10:59:55 +0200: Looks like AsNeeded didn't find SIDTlist_Session_Load in taglist because taglist's script number had changed from 23 to something else, or because taglist wasn't reloaded (yet?). Try moving taglist out of AsNeeded's scope and

Re: please, comment my script

2006-07-27 Thread Christian Ebert
* Benji Fisher on Wednesday, July 26, 2006 at 22:58:07 -0400: On Tue, Jul 25, 2006 at 12:36:44AM +0400, Pavel Volkovitskiy wrote: map C-S :call PySort()CR How about calling it directly from Visual mode? :vmap C-S :C-U PySort()CR For the above: Would :vmap C-S Esc:PySort()CR do the same

C-U or Esc in :vmap (was: please, comment my script)

2006-07-27 Thread Christian Ebert
* Benji Fisher on Thursday, July 27, 2006 at 13:13:39 -0400: On Thu, Jul 27, 2006 at 09:34:59AM +0200, Christian Ebert wrote: * Benji Fisher on Wednesday, July 26, 2006 at 22:58:07 -0400: :vmap C-S :C-U PySort()CR For the above: Would :vmap C-S Esc:PySort()CR do the same thing

Re: Other European languages on a US keyboard

2006-07-24 Thread Christian Ebert
* A.J.Mechelynck on Saturday, July 22, 2006 at 22:40:45 +0200: The French oe (o, e-dans-l'o) is not defined in the Latin1 encoding, neither in capitals (as for titles or if the word oeuf [egg] is the first of a sentence), nor in lowercase. You need UTF-8 for it, No. Just latin9 or ISO8859-15

Re: line wrap question

2006-07-03 Thread Christian Ebert
* K.S.Sreeram on Monday, July 03, 2006 at 22:57:08 +0530: In 'set wrap' mode, say I have a single long line which wraps and forms 5 screen lines. Now when I press 'j', the cursor jumps over the 5 lines and goes to the next physical line(6th screen line). Is it possible for me to configure

Re: regexp select and place elsewhere

2006-06-29 Thread Christian Ebert
* Jerin Joy on Thursday, June 29, 2006 at 14:28:51 +0530: I have data that looks like this input [4:0] a.b.c.d; which I need to replace with input a.b.c.d [4:0] d; ie. I want to copy a.b.c.d and place it after input and replace it with d after [4:0]. :s/\(\[[^]]\+\]\)

Re: Bug with gU and German sharp s?

2006-06-16 Thread Christian Ebert
* Bram Moolenaar on Friday, June 16, 2006 at 17:24:20 +0200: I'll leave it up to language specialists to decide whether making straße uppercase should result in STRAßE or STRASSE. I thought it was STRASSE. Historic: STRASZE Now: STRASSE See: http://de.wikipedia.org/wiki/Versal-Eszett

failure to create de .spl files via aap

2006-04-24 Thread Christian Ebert
Hello, Following the README's suggestion not to bother with creating .spl files by hand (which I did some time ago eg. with de.latin1.spl) I tried to go the easier way via aap in vim7.e07. Creating the french fr.latin1.spl, fr.latin1.sug, fr.utf-8.spl, fr.utf-8.sug works fine. When I try de,