On Apr 15, 10:42 pm, ZyX zyx@gmail.com wrote:
Reply to message «Re: syntax coloring»,
sent 00:32:32 16 April 2011, Saturday
by rameo:
Is this the correct one?
augroup SaveRestoreSessions
autocmd!
autocmd VimEnter * nested source D:\Session.vim
autocmd VimLeave * call ClearArgs()
Reply to message «Re: syntax coloring»,
sent 12:13:11 16 April 2011, Saturday
by rameo:
Thank you..
Nice to put the session file path in a variable.
(The only drawback is that it seems not to be enable to expand
variables as $HOME and $VIM)
Just use string concatenation (:h expr-.):
Le Sat, 16 Apr 2011 17:38:57 +0400, ZyX a écrit dans le message
201104161738.58234@-zyx :
Eleven and 306 lines for three usefull :-(
Please cut unusefull citations in this thread.
--
Patrick Texier
--
You received this message from the vim_use maillist.
Do not top-post! Type your
Patrick Texier schrob am 16.04.2011 18:42:
Eleven and 306 lines for three usefull :-(
Heh, with Thunderbird's Quote Colors add-on it looks like really good
art at least :)
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying
Unfortunately the IDEs (NetBeans, Eclipse) do a lot in JavaEE development.
They setup the directory structure, make sure your code's good, package war-
and
jar-files and deploy war-files to glassfish ...
I've personally been using NetBeans and doing the hard coding with Vim. In
my
opinion you'd
I do a lot of Java work at my day job and I use Vim as my primary
editor. However, I do it in conjunction with Eclipse. I thought I'd
share my experience here as it may be useful to you or others.
There are a couple of plugins for Eclipse that emulate vi-style editing
in Eclipse's built-in
Hi, I needed to make a mapping that would insert a bullet if '*' is
typed at the beginning of line and insert literal '*' if typed somewhere
else. I came up with something that works for me, but I
was wondering if there's a shorter / better way to do this.. Here's
what I have:
inoremap *
On 17/04/11 01:50, AK wrote:
Hi, I needed to make a mapping that would insert a bullet if '*' is
typed at the beginning of line and insert literal '*' if typed somewhere
else. I came up with something that works for me, but I
was wondering if there's a shorter / better way to do this.. Here's
I want use %s/^M//g to delete the ^M in *.c files.
In vimrc file, I added
au BufRead *.c :%s/^M//gcr
But Vim give me a E488 error. If I use
au BufRead *.c :%s/^M//g (delete the cr from above)
It will be no error, but I need to press Enter to continue.
Anyone could give me a hint?
Hi everyone
I have been trying to create a syntax file for Inform7 that will
include code folding. Unfortunately Vim does not seem to like the fact
that Inform7 does not have explicit endings to regions - a section is
ended by a new section starting.
Inform7 has sections like this:
Section 1
au BufRead *.c :silent! %s/\r//g
--
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.vim.org/maillist.php
On 17/04/11 06:51, Michael(Xi Zhang) wrote:
I want use %s/^M//g to delete the ^M in *.c files.
In vimrc file, I added
au BufRead *.c :%s/^M//gcr
But Vim give me a E488 error. If I use
au BufRead *.c :%s/^M//g (delete the cr from above)
It will be no error, but I need to press Enter to
12 matches
Mail list logo