Re: Understanding Vim exclusive motions.

2015-03-30 Thread Christian Brabandt
Am 2015-03-29 22:46, schrieb arunj: Hi all, I have just started with vim, and i need some help. This is a bit lengthy, please bear with me :). I refer to : http://vimdoc.sourceforge.net/htmldoc/motion.html#exclusive. Specifically, the following text: Which motions are linewise, inclusive

Re: which match-highlighting is in effect (if any) at a point in a file?

2015-03-30 Thread LCD 47
On 30 March 2015, Nikolay Pavlov zyx@gmail.com wrote: 2015-03-30 7:55 GMT+03:00 LCD 47 lcd...@gmail.com: On 28 March 2015, Charles E Campbell drc...@campbellfamily.biz wrote: Hello! In using :match, :2match, :3match, or matchadd(), one may specify special highlighting. Any easy

Re: How to get to the helppage of shiftwidth in options.txt?

2015-03-30 Thread Gary Johnson
On 2015-03-29, Tim Chase wrote: [side rant] On 2015-03-29 18:28, toothpik wrote: let mapleader = ',' I've never understood why people remap the exceptionally useful functionality of , to become the map-leader. I use the native , and ; all the time in conjunction with f/F/t/T.

Re: What category does the help page for AnsiEsc belong to?

2015-03-30 Thread Christian Brabandt
Am 2015-03-30 03:36, schrieb Peng Yu: `:help` shows the following categories of help topics. But what does AnsiEsc belong to? That is a plugin you have installed yourself. Those are usually visible below :h local-additions. Best, Christian -- -- You received this message from the vim_use

Re: Understanding Vim exclusive motions.

2015-03-30 Thread Arun Jusrut
I think i understand what you are saying. I was misinterpreting the reference manual terms 'start of motion' and 'end of motion'; i was determining start and end of motion based on direction that the cursor moves, which like you said, is not the correct way. Thanks :), Arun On Mon, Mar 30, 2015

Re: What category does the help page for AnsiEsc belong to?

2015-03-30 Thread Charles E Campbell
Peng Yu wrote: Hi, `:help` shows the following categories of help topics. But what does AnsiEsc belong to? WHAT PREPENDEXAMPLE Normal mode command (nothing) :help x Visual mode command

Re: Incorrect column positions with vertical splits

2015-03-30 Thread Mathias Rav
This happens when the linebreak setting is set, which causes Vim to break the line at whitespace instead of in the middle of any word. When I resize my terminal to 60 characters, and create the line consisting of 40 'x', a space, 40 'x', the ruler displays 1,41 when my cursor is on the space and

Incorrect column positions with vertical splits

2015-03-30 Thread Markus Mottl
Hi, Vim may report incorrect column positions when vertical splits force a line to wrap. E.g. enter a line consisting of 80 characters of 'x's. Now perform vertical splits until the split windows are too small to display all 80 characters in one line. Right now, Vim will still display correct

Re: which match-highlighting is in effect (if any) at a point in a file?

2015-03-30 Thread Charles E Campbell
LCD 47 wrote: On 28 March 2015, Charles E Campbell drc...@campbellfamily.biz wrote: Hello! In using :match, :2match, :3match, or matchadd(), one may specify special highlighting. Any easy way for a vimscript to know which, if any, highlighting match is active? Such highlighting overrides

Re: which match-highlighting is in effect (if any) at a point in a file?

2015-03-30 Thread Charles E Campbell
Nikolay Pavlov wrote: 2015-03-30 7:55 GMT+03:00 LCD 47 lcd...@gmail.com: On 28 March 2015, Charles E Campbell drc...@campbellfamily.biz wrote: Hello! In using :match, :2match, :3match, or matchadd(), one may specify special highlighting. Any easy way for a vimscript to know which, if any,

Re: Incorrect column positions with vertical splits

2015-03-30 Thread Markus Mottl
Thanks, that explains a lot of things. I just noticed that the status line I'm using (copied from someone else) uses the virtual column (%v) number instead of the normal column number (%c), which apparently includes the padding. I've replaced it by %c%V now to get both numbers (the latter only