Re: Vim statusline examples with screenshots?

2011-07-08 Thread François Ingelrest
Hi, On Thu, Jul 7, 2011 at 05:11, Steve Hall wrote: Mine shows 21 items in logical groupings that are still easily readable. A number of these features are particular to our customization, but all are extrapolations of basic Vim capabilities: http://cream.sourceforge.net/statusline.html How

Re: Vim statusline examples with screenshots?

2011-07-08 Thread Bee
On Jul 7, 11:13 pm, François Ingelrest francois.ingelr...@gmail.com wrote: Hi, On Thu, Jul 7, 2011 at 05:11, Steve Hall wrote: Mine shows 21 items in logical groupings that are still easily readable. A number of these features are particular to our customization, but all are

Re: Vim statusline examples with screenshots?

2011-07-08 Thread François Ingelrest
On Fri, Jul 8, 2011 at 08:45, Bee wrote: How do you get the file size? That's a useful information I could add to my own status line. :help line2byte() Cool thanks, I didn't know about that one. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: Is there any __FILE__, __FUNCTION__, __LINE__ equivalent for vim script?

2011-07-08 Thread Bee
On Jul 7, 8:47 pm, Benjamin R. Haskell v...@benizi.com wrote: On Fri, 8 Jul 2011, ZyX wrote: Reply to message «Re: Is there any __FILE__, __FUNCTION__, __LINE__ equivalent for vim script?», sent 07:17:03 08 July 2011, Friday by Ben Fritz: sfile and slnum will give you __FILE__ and

Re: Deleting duplicate lines _without_ sorting

2011-07-08 Thread rameo
Have you checked the one I mentioned above? The one above is working in menu-vim (the pipe symbol has to be escaped in menu.vim) To let it work in the commandline the escape before the pipe symbol has to be removed: g/^/kl |if search('^'.escape(getline('.'),'\.*[]^$/').'$','bW') |'ld The only

Re: Caps Lock indication

2011-07-08 Thread Anthony Campbell
On 07 Jul 2011, Erik Christiansen wrote: On 06.07.11 21:53, Михаил Голубев wrote: Nice advices! Thanks a lot! I did a bit of googling and I think it's time come to dismiss this naughty key) Especially on laptops, mapping it to escape is a significant convenience, because escape is

Indent/Unindent a block

2011-07-08 Thread Gabor Urban
Hi guys, I have a minor problem: is there a possibility to indent / unindent a block of code? Thanks in advance, Gabor Urban -- Linux: Choice of a GNU Generation -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: Indent/Unindent a block

2011-07-08 Thread Ivan S. Freitas
On Fri, Jul 8, 2011 at 6:25 AM, Gabor Urban urbang...@gmail.com wrote: Hi guys, I have a minor problem: is there a possibility to indent / unindent a block of code? Yes. You can use some regex magic with :s command, but usually a plugin is better. For instance, I use enhancedcommentify

Re: Indent/Unindent a block

2011-07-08 Thread Tim Chase
On 07/08/2011 04:25 AM, Gabor Urban wrote: I have a minor problem: is there a possibility to indent / unindent a block of code? Of course :) Vim uses the and operators to shift by 'shiftwidth' and uses tabs-vs-spaces as controlled by the 'expandtab' setting: :help :help 'sw'

Re: Go to start/end of a method in C++?

2011-07-08 Thread Luc Hermitte
Hello, - Toby Walsh wrote : First post to the list so be easy on me. I'm trying to write some functions to automate my commenting process in C++. Reading the help, I would like to use the motion commands ]m, ]M, [m and/or [M for jumping around to starts and ends of function definitions.

Re: Indent/Unindent a block

2011-07-08 Thread Ivan S. Freitas
On Fri, Jul 8, 2011 at 8:17 AM, Tim Chase v...@tim.thechases.com wrote: On 07/08/2011 04:25 AM, Gabor Urban wrote: I have a minor problem: is there a possibility to indent / unindent a block of code? Ops, seems I mistook indent for comment. My bad. -- Ivan Sichmann Freitas GNU/Linux user

VCSCommand - push/pull

2011-07-08 Thread eleanor
Hi, I installed the VCSCommand plugin and all is working fine. The only problem is that I have a remote repository and a clone working directory. But there are no commands for pushing/pulling to/from the remote repository. I can execute the actual command from vim, but hey: why use VCSCommand

OmniCppComplete doesn't work with namespaces or ::

2011-07-08 Thread Tim K
Hi everybody, I am new to vim and tried to set up Omni completion for C++ in vim. I use gvim Version 7.3 and Windows XP. What I have done so far is: Download OmniCppComplete from http://www.vim.org/scripts/script.php?script_id=1520 and the Windows version of ctags from

Re: Indent/Unindent a block

2011-07-08 Thread Tim Chase
On 07/08/2011 06:23 AM, Ivan S. Freitas wrote: On Fri, Jul 8, 2011 at 8:17 AM, Tim Chasev...@tim.thechases.com wrote: On 07/08/2011 04:25 AM, Gabor Urban wrote: I have a minor problem: is there a possibility to indent / unindent a block of code? Ops, seems I mistook indent for comment. My

Re: Changing elements of a color scheme

2011-07-08 Thread Eric Weir
On Jul 7, 2011, at 3:53 PM, Benjamin R. Haskell wrote: On Thu, 7 Jul 2011, Eric Weir wrote: Is *this* the code of the vimball? Yes, roughly. I ran into that problem before with Dr. Chip's site, but I figured it was just whatever browser I was using at the time. Regardless, if you

Re: How to write command for select range of Chinese text

2011-07-08 Thread Just Fill Bugs
On 06/17/2011 11:00 PM, ZyX wrote: Reply to message «Re: How to write command for select range of Chinese text», sent 09:17:23 17 June 2011, Friday by Tony Mechelynck: Well, in Vim /[] constructs are limited to approximately 256 character values (or maybe 257) 1. 257 exactly. 2. Not

RE: Vim statusline examples with screenshots?

2011-07-08 Thread Steve Hall
From: Jeffrey 'jf' Lim, Fri, July 08, 2011 12:33 am On Thu, Jul 7, 2011 at 11:11 AM, Steve Hall wrote: Mine shows 21 items in logical groupings that are still easily readable. A number of these features are particular to our customization, but all are extrapolations of basic Vim

RE: Vim statusline examples with screenshots?

2011-07-08 Thread Steve Hall
From: François_Ingelrest, Fri, July 08, 2011 2:52 am On Fri, Jul 8, 2011 at 08:45, Bee wrote: How do you get the file size? That's a useful information I could add to my own status line. :help line2byte() Cool thanks, I didn't know about that one. You can tweak it a little to

highlighting blocks without highlighting what's inside

2011-07-08 Thread cyboman
my company is using a proprietary language. to mark scope in the code they use BEGIN and END keywords. END keyword is also used along with WHILE and FOR. i would like to be able to highlight BEGIN and END with one color and WHILE/FOR END with another. i looked through vim documentation but

Re: Go to start/end of a method in C++?

2011-07-08 Thread Luc Hermitte
- Luc Hermitte wrote : - Toby Walsh wrote : First post to the list so be easy on me. I'm trying to write some functions to automate my commenting process in C++. Reading the help, I would like to use the motion commands ]m, ]M, [m and/or [M for jumping around to starts and

Fugitive

2011-07-08 Thread eleanor
Hi, I'm testing the fugitive plugin for the time being and I've come accross the following problems: 1) - If I add and commit a file called a.txt with the text aaa - and then change the text to bbb and save it and commit it - and then change the text to ccc and save it (without commiting) - and

Supertab eclim

2011-07-08 Thread eleanor
Hi. Is it possible to program supertab so it can also show the results from eclim plugin? But the real annoying thing is that if I use UltiSnips and SuperTab at the same time, they both declare a Tab key to do their work. Is there anyway around that - sure there is, just remap the keys - but

FuzzyFinder - Questions

2011-07-08 Thread eleanor
Hi, I installed FuzzyFinder plugin, but I have a couple of questions now: 1) The FufLine doesn't search case-sensitively. I have the following in .vimrc: set ignorecase set smartcase which should only use case-sensitive searching if there's a capital letter in the search pattern - however

Re: VCSCommand - push/pull

2011-07-08 Thread Tim Chase
On 07/08/2011 04:35 AM, eleanor wrote: Hi, I installed the VCSCommand plugin and all is working fine. The only problem is that I have a remote repository and a clone working directory. But there are no commands for pushing/pulling to/from the remote repository. I can execute the actual command

Re: Fugitive

2011-07-08 Thread Tony Mechelynck
On 08/07/11 16:10, eleanor wrote: Hi, I'm testing the fugitive plugin for the time being and I've come accross the following problems: 1) - If I add and commit a file called a.txt with the text aaa - and then change the text to bbb and save it and commit it - and then change the text to ccc and

Re: Fugitive

2011-07-08 Thread Benjamin R. Haskell
On 08/07/11 16:10, eleanor wrote: Hi, I'm testing the fugitive plugin for the time being and I've come accross the following problems: 1) - If I add and commit a file called a.txt with the text aaa - and then change the text to bbb and save it and commit it - and then change the text to ccc and

Re: VCSCommand - push/pull

2011-07-08 Thread ZyX
Reply to message «Re: VCSCommand - push/pull», sent 20:57:47 08 July 2011, Friday by Tim Chase: 2) use a VCS such as fossil that supports auto-push (though it doesn't look like fossil is supported by VCSCommand) I guess something like [hooks] commit.autopush = hg push -r $HG_NODE does

Re: highlighting blocks without highlighting what's inside

2011-07-08 Thread Ben Fritz
On Jul 8, 10:17 am, cyboman rail.shafigu...@gmail.com wrote: my company is using a proprietary language. to mark scope in the code they use BEGIN and END keywords. END keyword is also used along with WHILE and FOR. i would like to be able to highlight BEGIN and END with one color and

Re: Fugitive

2011-07-08 Thread eleanor
Hi. Perhaps I wasn't clear enough. Firstly I would like to thank you for the first answer, it helped me, now I know why it behaves the way it does. For the second two questions, I would like to say that I KNOW git!!! I was referring to the Fugitive commands for push/pull and adding a whole

Re: VCSCommand - push/pull

2011-07-08 Thread eleanor
Well I know that I can redefine a command or just create a new plugin from the old one ... or implement hook in that fashion. But I was wondering if it is possible to do that with the VCSCommand. I guess it isn't possible, so I'll probably just redefine a command. Thanks for now. I'll post the

Re: Vim statusline examples with screenshots?

2011-07-08 Thread Dominique Pellé
Jason Timrod wrote: Hi all, I'm curious to know how people pimp their Vim statusline perhaps with useful information?  So far, the only thing I've added to it is the current git branch I'm on.  Yet I know there's probably other really cool bits of information I'm missing, besides the

Re: Fugitive

2011-07-08 Thread Ulf Magnusson
On Fri, Jul 8, 2011 at 7:22 PM, Benjamin R. Haskell v...@benizi.com wrote: On 08/07/11 16:10, eleanor wrote: Hi, I'm testing the fugitive plugin for the time being and I've come accross the following problems: 1) - If I add and commit a file called a.txt with the text aaa - and then change

Re: Caps Lock indication

2011-07-08 Thread Alexandre Provencio
On Wed, Jul 6, 2011 at 11:01 AM, Михаил Голубев qsolo...@gmail.com wrote: Hello to everyone. I want to write small function for my 'statusline' option, so it shows whether Caps Lock button was pressed or not. I work on laptop and analog led indicator is right under my wrist so I don't see it

Re: Vim statusline examples with screenshots?

2011-07-08 Thread Marcin Szamotulski
Hi all, I have a video :) the ATP plugin (which I'm maintaining) has a statusline with progress bar info, here's the link http://atp-vim.sourceforge.net/videos.shtml (look at the PROGRESS BAR video) Best, Marcin Szamotulski On 22:48 Fri 08 Jul , Dominique Pellé wrote: Jason Timrod wrote:

vim - shell support

2011-07-08 Thread eleanor
Hi, I've recently come accross Conque plugin, which supports sending the highlighted command to the console with a keystroke. Is the reverse possible: to get the output of that command automatically in vim document ... so I don't have to copy/paste the output from the console? If there is any

Re: vim - shell support

2011-07-08 Thread meino . cramer
eleanor evangeline.elea...@gmail.com [11-07-09 06:12]: Hi, I've recently come accross Conque plugin, which supports sending the highlighted command to the console with a keystroke. Is the reverse possible: to get the output of that command automatically in vim document ... so I don't have to

Re: vim - shell support

2011-07-08 Thread sc
On Friday, July 08, 2011 23:10:10 eleanor wrote: Hi, I've recently come accross Conque plugin, which supports sending the highlighted command to the console with a keystroke. Is the reverse possible: to get the output of that command automatically in vim document ... so I don't have to

Re: vim - shell support

2011-07-08 Thread eleanor
Thanks, the :r options works. -- View this message in context: http://vim.1045645.n5.nabble.com/vim-shell-support-tp4567397p4567490.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Pastie - multiple line blocks

2011-07-08 Thread eleanor
Hi, my Pastie plugin works as expected and is really greate, but I was wondering if it is possible to include several code blocks in one single paste. I can include a block of code with the following: :1,10Pastie! (this would copy the lines from 1-10). But what if I want to copy lines from 1-10

Re: vim - shell support

2011-07-08 Thread Xell Liu
If you need a plugin to do more, you can try https://github.com/Shougo/vimshell . It's very powerful but lacks decent English documents (the developers are Japanese). On Sat, Jul 9, 2011 at 1:49 PM, eleanor evangeline.elea...@gmail.comwrote: Thanks, the :r options works. -- View this