On Tue, March 22, 2011 5:58 am, c b wrote:
> Hi Tom,
>
> Thanks for the expr. It works like a charm. I do have a couple of
> questions though 1. How can we expand this so that multiple nesting
> (based on timestamp) will be supported? i.e. if we have logs for two
> days 2011-03-20 and 2011-03-21, t
Hi,
I often use :w:bd. I wonder if there's a shortcut for this quite
common sequence. Or is it best to create a mapping?
Marco
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.
On 22/03/11 5:31 PM, Rostyslaw Lewyckyj wrote:
On some files if a line starts with a " and I do an append followed by
a carriage return, then the next line gets a " inserted as the first
character. e.g. if I have:
1 " and this is number 1
2 Let vx=1
3 etc. et.c ...
And put the cursor on the 1 in
On Mar 21, 8:16 pm, "Israel Chauca F."
wrote:
> * I don't like having a list of plugins in my vimrc.
I manage plugins in a separate file like this:
let s:bundlerc = $MYVIMDIR . '/vimbundlerc'
" or: let s:bundlerc = globpath(&rtp, 'vimbundlerc')
if filereadable(s:bundlerc)
exec 'source ' . s:b
Hello,
I am trying to compile vim7.3 with '--enable-pythoninterp' flag.
The configure log says that ..
checking --enable-pythoninterp argument... yes
checking for python... /usr/bin/python
checking Python version... 2.6
Now, I have both python2.6 and python2.7 installed. I wish vim to use
python
Yue Wu wrote:
As the title, I notice netrw will create a .netrwhist at my vimfile
when on windows(don't know if it do on unix too), how to prevent it
from the file creation for security issue sometime.
There's no built-in way to prevent .netrwhist generation at the current
time.
However,
On Tue, Mar 22, 2011 at 08:25:22AM +0100, Christian Brabandt wrote:
>> 2. The [Other info] in the example is info I don't really care
>> about. Is there a concept of a vertical fold/any way to hid the
>> [Other info] fields?
>
> No.
Well you could use the conceal feature to hide the [Other info]
t
On Tue, Mar 22, 2011 at 09:37:17AM -0400, Charles Campbell wrote:
> Yue Wu wrote:
> >
> > As the title, I notice netrw will create a .netrwhist at my vimfile
> > when on windows(don't know if it do on unix too), how to prevent it
> > from the file creation for security issue sometime.
> >
> There
On Mar 22, 12:43 am, Rostyslaw Lewyckyj wrote:
> Sorry to bother you, but I must be doing something wrong.
> I fired up Gvim and echoed $HOME and $VIM.
> I copied the example_vimrc.vim and example_gvimrc.vim files
> to $VIM\vimrc and $VIM\gvimrc
> Then I tried to create private $HOME\_vimrc and
Hey people,
I'm new user in Mac, though being already a some years Linux user. I
have a customized vimrc for working on my Mac, however as root in the
system I don't know where to put it. I managed to have everything
working for all users in the machine. But when I log as root (sudo) I
don't have
Hi
With default vim setting the folowing code:
a)
void fun(){
...
b)
void fun()
{
is folding as:
a)
+--- x lines: void fun() ---
...
b)
void fun()
+--- x lines: ---
Is there any possibility to treat both code statement same.
ie t
On 23/03/11 12:37 AM, Ricardo S wrote:
Hey people,
I'm new user in Mac, though being already a some years Linux user. I
have a customized vimrc for working on my Mac, however as root in the
system I don't know where to put it. I managed to have everything
working for all users in the machine. Bu
Hey Ben, I did it before... however after sending the question...
anyway thanks for your help.
Ricardo.
On Tue, Mar 22, 2011 at 4:38 PM, Ben Schmidt
wrote:
> On 23/03/11 12:37 AM, Ricardo S wrote:
>>
>> Hey people,
>>
>> I'm new user in Mac, though being already a some years Linux user. I
>> ha
Excerpts from Marko Mahnič's message of Tue Mar 22 11:05:45 +0100 2011:
> I prefer to enable the plugins in a two step process. First I Add()
In Vam you have two functions:
Install and ActivateAddons representing both phases.
Internally you can access a dict to find out which addons have been
acti
Excerpts from Marc Weber's message of Tue Mar 22 00:53:37 +0100 2011:
I've added a new bug to VAM's issue tracker:
https://github.com/MarcWeber/vim-addon-manager/issues/34
If you support the idea of separating installation implementation from
runtime path handling so that external scripting solut
On Mar 21, 7:00 pm, howard Schwartz wrote:
> I found a handy tip, for executing a string under the cursor, in mswindows by
> using this mapping:
>
> :silent !start rundll32 url.dll,FileProtocolHandler
>
> This should call a dll file which knows whether to launch a browser, an email
> client, a
Am 20.03.2011 06:52, schrieb Ben Schmidt:
>
> No, I don't think you can. Late in that thread there is a workaround for
> that, which basically works by using 'diffexpr' to 'intercept' the files
> on their way to diff and remove the parts of the lines you don't want to
> compare (in your case, ever
Am 22.03.2011 19:31, schrieb Malte Forkel:
Am 20.03.2011 06:52, schrieb Ben Schmidt:
No, I don't think you can. Late in that thread there is a workaround for
that, which basically works by using 'diffexpr' to 'intercept' the files
on their way to diff and remove the parts of the lines you don't
On 3/22/2011 1:09 PM, Vlad Irnov wrote:
On Mar 21, 7:00 pm, howard Schwartz wrote:
I found a handy tip, for executing a string under the cursor, in mswindows by
using this mapping:
:silent !start rundll32 url.dll,FileProtocolHandler
This should call a dll file which knows whether to launch
ZyX wrote:
When I want to edit a file I just type `vim file'. What I am supposed to do
if I
want to keep one vim session? Don't suggest me switching to other terminal
window and typing anything there.
I thought this would be obvious: If you work in unix/linux with x-windows,
then alias gvim
For a while I've looked for what for me would be the `perfect' grep: It would
display each line containing a searched for pattern, with one or more context
lines (so I can discern the lines Im looking for). When I clicked on one of
these lines, the corresponding file would open with the cursor o
Hi!
I have a log file with timestamps and messages:
01:00 x
02:00 y
03:00 z
To compare the time elapsed between two events I want to prefix each
line with the timestamp of the previous time. I tried to use
%s/^/\=matchstr(getline(line(".")-1), "\\d\\{2}:\\d\\{2} ")
but somehow the first mat
On Mar 22, 2011, at 3:33 PM, Dennis Benzinger wrote:
> Hi!
>
> I have a log file with timestamps and messages:
>
> 01:00 x
> 02:00 y
> 03:00 z
>
> To compare the time elapsed between two events I want to prefix each line
> with the timestamp of the previous time. I tried to use
>
> %s/^/\=ma
On Tue, 22 Mar 2011, Dennis Benzinger wrote:
Hi!
I have a log file with timestamps and messages:
01:00 x
02:00 y
03:00 z
To compare the time elapsed between two events I want to prefix each
line with the timestamp of the previous time. I tried to use
%s/^/\=matchstr(getline(line(".")-1), "
On 03/22/2011 03:33 PM, Dennis Benzinger wrote:
Hi!
I have a log file with timestamps and messages:
01:00 x
02:00 y
03:00 z
To compare the time elapsed between two events I want to prefix each
line with the timestamp of the previous time. I tried to use
%s/^/\=matchstr(getline(line(".")-1), "
Reply to message «How to close all files opened by different vim instances»,
sent 23:16:30 22 March 2011, Tuesday
by howard Schwartz:
> I thought this would be obvious: If you work in unix/linux with x-windows,
> then alias gvim thus:
>
> alias gvim gvim --remote-tab-silent
>
> Now `vim filenam
Hi,
I haven't found an answer to this on the web. Hopefully you guys can
help.
I love the 'gf' and 'gF' commands but unfortunately they don't work in
Makefiles, which I edit a lot. The reason is that environment
variables have to have () in the name, such as:
$(MYENVAR)/iocompare/src/iocompare.j
On Tuesday 22 March 2011 15:20:46 David Fishburn wrote:
> On 3/22/2011 1:09 PM, Vlad Irnov wrote:
> > On Mar 21, 7:00 pm, howard Schwartz wrote:
> >> I found a handy tip, for executing a string under the cursor, in
> >> mswindows by
> >>
> >> using this mapping:
> >> :silent !start rundll32 url.d
On Mar 22, 9:23 am, Marco wrote:
> Hi,
>
> I often use :w:bd. I wonder if there's a shortcut for this quite
> common sequence. Or is it best to create a mapping?
>
> Marco
There does not seem to be a built in command to do this so, yes, you
can do e.g.
:noremap \w :w: bd
There may be better way
Colin Beighley wrote:
Actually I didn't test this before I sent the message (sorry) and it
appears that Vim automatically does this when you edit the same file
in two windows in the same session.
On Mar 1, 8:48 pm, "Benjamin R. Haskell" wrote:
On Tue, 1 Mar 2011, Colin Beighley wrote:
Aha.
I figured this out.
The problem was that I had the following in my vimrc:
autocmd BufNewFile,BufReadPost,FilterReadPost,FileReadPost,Syntax * SpaceHi
So whenever I switched away and then back to a buffer, the SpaceHi
function would be run. That function does the following:
function! s:
31 matches
Mail list logo