Re: How to determine the start of a visual block (C-V) when it starts in the void?

2013-01-28 Thread Axel Bender
virtcol(...) doesn't "work" in the example given. Please note that the end/start - depending from where you start to select - of the block is in the "void", i.e. after the line's end (as indicated by "$"). Here even virtcol(...) returns 1. -- -- You received this message from the "vim_use" ma

Re: alignment plugin

2013-01-28 Thread 月忧茗
Yes,Byzanz is an awesome tool for record your desktop to GIF files 2013/1/29 Christian Brabandt > Hi Aaron! > > On Mo, 28 Jan 2013, Aaron Webster wrote: > > > How did you make that gif? > > I think I used byzanz for my csv screencast: > http://www.256bit.org/~chrisbra/csv.gif > > > Mit freu

Re: Is there way to search many results of cscope command in vim ?

2013-01-28 Thread JoongKeun Kim
2011년 12월 23일 금요일 오전 1시 20분 14초 UTC+9, Gary Johnson 님의 말: > On 2011-12-22, danguria wrote: > > Hi. I'm vim user. > > I use vim to read the android framework source code with cscope and > > ctags. > > when I don't know where some file's location, I use cscope command > > like that > > :cs find f fil

Re: Word characters differ between spell files

2013-01-28 Thread Andrew Fadeev
Thanks for your answer, Tony. But, could you refine, what FOL, LOW and UPP lines in the used .aff file means? And, respectively, what .aff file is? I've started to read "help :mkspell", because I'm not quite represent how to regenerate .spl file manually. On Fri, Jan 25, 2013 at 3:15 AM, Tony Me

foldmethod=indent: Show preceding & succeeding lines of context

2013-01-28 Thread Paul
When using folds with foldmethod=indent, is there a way to show a user specified number of lines before actually folding? For example, if the user specified context is 2 lines before and after the fold, then a fold is only created at a particular indentation level if there are 6 or more consecutiv

Re: TOhtml reverses text/background color for default colorscheme

2013-01-28 Thread Paul
On Jan 28, 4:02 pm, Ben Fritz wrote: > ...my Windows XP 64-bit machine, running 7.3.762 gvim > > gvim -N -u NONE -i NONE -U NONE > :runtime plugin/tohtml.vim > (...enter some text...) > :colorscheme default > :TOhtml > > For me, this gives black text on a white background. <...snip...> >> How

Re: TOhtml reverses text/background color for default colorscheme

2013-01-28 Thread Ben Fritz
On Monday, January 28, 2013 1:59:47 PM UTC-6, Paul wrote: > I issued the following in gvim compiled for Windows: > > > >colorscheme default > >TOhtml > > > > The default color scheme is black text on white background. However, > > the resulting HTML shows white text on black backgr

Re: How to determine the start of a visual block (C-V) when it starts in the void?

2013-01-28 Thread John Little
On Tuesday, January 29, 2013 7:51:46 AM UTC+13, Axel Bender wrote: ... (or virtcol("'<"), or getpos("'<") ... Are you sure? :echo virtcol("'<") getpos("'<")[2] gives me 4 4 Regards, John Little -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your

Re: alignment plugin

2013-01-28 Thread Christian Brabandt
Hi Aaron! On Mo, 28 Jan 2013, Aaron Webster wrote: > How did you make that gif? I think I used byzanz for my csv screencast: http://www.256bit.org/~chrisbra/csv.gif Mit freundlichen Grüßen Christian -- Vorurteil stützt die Throne, Unwissenheit die Altäre. -- Marie von Ebner-Es

TOhtml reverses text/background color for default colorscheme

2013-01-28 Thread Paul
I issued the following in gvim compiled for Windows: colorscheme default TOhtml The default color scheme is black text on white background. However, the resulting HTML shows white text on black background, which will empty out the printer toner very quickly. However, the closed folds and

Re: How to determine the start of a visual block (C-V) when it starts in the void?

2013-01-28 Thread Ben Fritz
On Monday, January 28, 2013 12:51:46 PM UTC-6, Axel Bender wrote: > Vim 7.3.785@Win7-64 > > Please, consider the following content of a buffer: > > $ > ...$ > > Then start a visual block (C-V) at the left angle of p. Extend the block to > the row above. Then use :echo col("'<") (or virtcol("'<"

Re: netrw: avoid opening file with left-click

2013-01-28 Thread Paul
On Jan 28, 12:34 pm, Charles Campbell wrote: > Paul wrote: > > netrw opens a file when the left mouse button is clicked.  Is there a > > way to avoid this?  I just want to position the cursor with the left > > click, same as the behaviour in a text buffer.  I can open it with a > > Carriage Return

How to determine the start of a visual block (C-V) when it starts in the void?

2013-01-28 Thread Axel Bender
Vim 7.3.785@Win7-64 Please, consider the following content of a buffer: $ ...$ Then start a visual block (C-V) at the left angle of p. Extend the block to the row above. Then use :echo col("'<") (or virtcol("'<"), or getpos("'<"), or "v", or ".") to determine the start column of the visual blo

Re: netrw: avoid opening file with left-click

2013-01-28 Thread Charles Campbell
Paul wrote: netrw opens a file when the left mouse button is clicked. Is there a way to avoid this? I just want to position the cursor with the left click, same as the behaviour in a text buffer. I can open it with a Carriage Return if I really want. :help g:netrw_mousemaps C Campbell -- -

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread neolus
a) the listchars option didn't address my issue, in fact I specifically mentioned that I was not interested in highlighting all the tabs on the page, and not liking the look of the page covered with ghost characters is simply a matter of personal preference. b) I don't know what hoops you're referr

netrw: avoid opening file with left-click

2013-01-28 Thread Paul
netrw opens a file when the left mouse button is clicked. Is there a way to avoid this? I just want to position the cursor with the left click, same as the behaviour in a text buffer. I can open it with a Carriage Return if I really want. -- -- You received this message from the "vim_use" mai

Re: command using numeric keypad

2013-01-28 Thread Ben Fritz
On Sunday, January 27, 2013 3:51:28 AM UTC-6, rameo wrote: > I would like to associate commands with the numeric keypad > > ctrl + -> (number 6 on the numeric keypad with numlock enabled) > > I don't know how to do this. > Can anyone help me? Some versions of Vim probably cannot tell the differ

Re: Scripting with Python, capturing command output and using signs

2013-01-28 Thread Marcin Szamotulski
On 01:14 Mon 28 Jan , Jon Cairns wrote: > Hi Marc, > > Thanks for your reply. Sorry, I thought I was getting my point across in my > original message but I obviously wasn't! > > I have workarounds for retrieving a sign by ID and getting the output of > running a command, it's just that both

Re: Scripting with Python, capturing command output and using signs

2013-01-28 Thread Jon Cairns
Hi Marc, Thanks for your reply. Sorry, I thought I was getting my point across in my original message but I obviously wasn't! I have workarounds for retrieving a sign by ID and getting the output of running a command, it's just that both of these aren't optimal and I wanted to know whether the

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread Tony Mechelynck
On 27/01/13 23:17, neolus wrote: wait! what about having the cursor change color specifically when on a tab? that wouldn't require any stretching? You could, with some jumping through hoops; but what is wrong with yhe built-in 'list' and 'listchars' options? Best regards, Tony. -- If an el

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread neolus
wait! what about having the cursor change color specifically when on a tab? that wouldn't require any stretching? -- View this message in context: http://vim.1045645.n5.nabble.com/Possible-to-stretch-cursor-on-tab-character-tp5713419p5713425.html Sent from the Vim - General mailing list archive

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread neolus
ok function! TabCursor() let currentchar = getline('.')[col('.')-1] if currentchar == ' ' highlight Cursor guibg=#0FF74A else highlight Cursor guibg=#7F97AA endif endfunction au CursorMoved * :call TabCursor() I discovere

Re: Possible to stretch cursor on tab character?

2013-01-28 Thread neolus
sigh, how dissapointing. -- View this message in context: http://vim.1045645.n5.nabble.com/Possible-to-stretch-cursor-on-tab-character-tp5713419p5713424.html Sent from the Vim - General mailing list archive at Nabble.com. -- -- You received this message from the "vim_use" maillist. Do not to