Re: Link to part of the same file

2011-10-02 Thread Fernando Basso
On Sep 30, 2:17 pm, Tony Mechelynck antoine.mechely...@gmail.com wrote: It depends on the filetype (tables of contents are written very differently in Vim helpfiles and in HTML, and they're implicit in Wikimedia source) so you would have to code an ad-hoc filetype-dependent function. Probably

Re: replace e flag works in command but fails if that command in key mapping

2011-10-02 Thread porphyry5
Well, I think I finally have this figured out. If I'm using sessions, any session includes its own .vimrc, being that .vimrc in effect when the session was first begun. Then changing the actual .vimrc file has no effect on the session, because it will never reload the actual .vimrc. So if I

Re: Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-02 Thread Ben Fritz
On Oct 1, 7:09 pm, Ismail, Mohd F. fa...@ou.edu wrote: Hi, I'm using CentOS 6, with vim 7.2.  For whatever reason, there is no row and column info at the bottom right corner.  I check the /etc/vimrc and set ruler is enabled.  What could be the problem? --Farid 'ruler' has no effect if

RE: Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-02 Thread Ismail, Mohd F.
Hi Tony, When I type that command in vim window, it gives me nothing. It just returns the cursor position to its initial position. Am I supposed to type it some where else? Hi Ben Fritz, I looked into the vimrc and there is no statusline keyword anywhere in the file. I didn't customize my

Dealing with virtual indent inside a function

2011-10-02 Thread AK
I have an insert mapping for tab key that works right for existing lines, but does not work right for a new line with 'virtual' indent level. Normally, if it's in a mapping, it can be fixed by adding any key and then backspace to erase it. I'm trying to do the same inside of a function, and

Re: replace e flag works in command but fails if that command in key mapping

2011-10-02 Thread Tony Mechelynck
On 02/10/11 16:04, porphyry5 wrote: Well, I think I finally have this figured out. If I'm using sessions, any session includes its own .vimrc, being that .vimrc in effect when the session was first begun. Then changing the actual .vimrc file has no effect on the session, because it will never

Re: Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-02 Thread Tony Mechelynck
On 02/10/11 18:24, Ismail, Mohd F. wrote: Hi Tony, When I type that command in vim window, it gives me nothing. It just returns the cursor position to its initial position. Am I supposed to type it some where else? You should be using Vim in Normal mode, then type :echo

Re: Link to part of the same file

2011-10-02 Thread lith
Am Freitag, 30. September 2011 19:04:24 UTC+2 schrieb Fernando Basso: What would be a good way (if possible at all) to have vim link, say, a table of contents to each section? A few thoughts: You could also use tags, I guess, and the use taglist or a similar plugin. There are a few plugins

MacVim windows

2011-10-02 Thread George Papanikolaou
Hi, how can I use the whole screen in full screen mode with MacVim in my MacBook Pro? and how do I set up default position and sizes of the MacVim window? Thank you. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.

Re: MacVim windows

2011-10-02 Thread György Kiss
you just press CTRL-CMD-F in Lion, or the Vim way: :set fu (:set nofu for quit full screen) see :h winsize and winpos for positioning. On 2011.10.03., at 1:49, George Papanikolaou wrote: Hi, how can I use the whole screen in full screen mode with MacVim in my MacBook Pro? and how do I

RE: Vim 7.2 on CentOS 6 - set ruler has no effect

2011-10-02 Thread Ismail, Mohd F.
From: Tony Mechelynck [antoine.mechely...@gmail.com] Sent: Sunday, October 02, 2011 12:53 PM To: Ismail, Mohd F. Cc: vim_use@googlegroups.com Subject: Re: Vim 7.2 on CentOS 6 - set ruler has no effect On 02/10/11 18:24, Ismail, Mohd F. wrote: Hi Tony,