On Sat, Mar 6, 2010 at 12:53 PM, Davaris david_moff...@hotmail.com wrote:
Hi,
I'm a new Vim user and want to use it to convert some JavaScript code to
C#
code.
The only problem is I can't get the patterns to work. :-/
I was given this to use,
%s/var \(.*\) : \(.*\) = \(.*\);/\2 \1 =
On Fri, Mar 5, 2010 at 21:26, Charles Campbell wrote:
With this version it works fine but only the first time, e.g.:
1) Vim
2) :E --- cursorline is on
3) Select and open a file
4) :E --- cursorline is off
I saw that problem (after you pointed it out), but not always. I've now
On Fri, Mar 05, 2010 at 02:12:46PM +1100, John Beckett wrote:
After searching, pressing Space will clear all search
highlights. Press Shift-Space to enable the DarkOrange
highlighting of the current hit.
I tried the new script. I made it the only thing in .vimrc, and I moved my .vim
directory
On 06/03/10 06:32, Tom Link wrote:
Item Tool/Suite Free Website
-- ---
Winzip tool nhttp://www.winzip.com/downwz.htm
Built-in support for zlib would be better of course. Anyway, I'd
suggest to restrict the above
On Fri, Mar 05, 2010 at 11:23:36PM -0800, Davaris wrote:
The only problem is I can't get the patterns to work. :-/
I was given this to use,
%s/var \(.*\) : \(.*\) = \(.*\);/\2 \1 = \3;/g
%s/var \(.*\) : \(.*\);/\2 \1;/g
%s/function \(.*\)() : \(.*\)/public \2 \1()/g
%s/function \(.*\)/public
http://vim.wikia.com/wiki/VimTip1530
This tip searches only for already selected text. Might there be a way to have
it prompt for a search string, like / does?
It might be worth mentioning the vis.vim plugin on this wiki page.
--
.
--
You received this message from the vim_use maillist.
Do
Hi,
I'm searching to find out how to have a fixed layout in VIM:
at the left side winmanager (or another explorer) and
below a buffermanager (p.e. mini bufferexplorer or bufferexplorer),
all with a fixed layout and visible in every tab
and without the possibility:
- to edit them (p.e. loading
I'm guessing wildly here, but the main difference between
running :make! in Vim and running make in the shell, is that Vim must,
after invoking make, parse the output for errors. It is quite possible
that the extra time taken is the time needed for Vim to parse the make
output into the quickfix
On Sat, 6 Mar 2010, James Beck wrote:
I'm guessing wildly here, but the main difference between running
:make! in Vim and running make in the shell, is that Vim must, after
invoking make, parse the output for errors. It is quite possible
that the extra time taken is the time needed for
AppleScript drag-n-drop Terminal vim
The following AppleScript enables me to open files by drag-n-drop with
the Terminal version of vim.
Copy the script to a Script Editor window and save as an
application.
I added the resulting AppleScript application to the Dock and the
Desktop.
-Bill
AFAIK, it shouldn't parse it if you run:
:!make
(shell out to the 'make' command)
rather than:
:make!
(run vim's ':make' command without jumping to the first error)
The latter uses 'makeprg', and sets up quickfix. If you're not using
quickfix, you probably won't notice a difference. If you
sc wrote:
On Friday 05 March 2010 08:10:41 am Jean Johner wrote:
Hello,
This concerns netrw v137e with Linux operating system.
Please do the following:
gvim . (to browse the current directory)
Type i 8 times (to change the listing style 8 times)
:q (to quit)
You get
E37: No write since
On Saturday 06 March 2010 12:45:54 pm Charles E Campbell Jr
wrote:
and hitting i several times (until I got a tree
listing). I believe v137h now fixes this problem.
(http://mysite.verizon.net/astronaut/vim/index.html#NETRW)
i'm not sure how big a problem it is -- i've never hit 'i'
On Sat, Mar 6, 2010 at 20:21, sc tooth...@swbell.net wrote:
i'm not sure how big a problem it is -- i've never hit 'i' eight
times in a row before seeing this thread
Well, that's one manifestation of a bug, there may be other ones.
--
You received this message from the vim_use maillist.
Do
On 01/01/10 13:14, Anthony Campbell wrote:
Having recently rather unexpectedly found myself back on this list after
being unable to get on it for several years, I seem to see a difference
in emphasis. Most people who post here appear to be programmers,
whereas previously there were other kinds
On 02/01/10 14:54, Dennis German wrote:
Happy New Year to all. :w
An earlier post mentioned having files ending up with
:q in them.
When I'm done editing, I always use :x and
only use :q when I didn't make any changes
( of course :q! when I didn't mean to make any changes).
Is this just a
I use xmledit plugin to create tags in html en xhtml.
However, most of my files are php files.
In php the plugin doesn't work.
Is there a way to make it work also in php?
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying
You can :set rightleft to reverse the whole split-window in gvim, or (on
Linux) you can run Vim in a true-bidi terminal such as mlterm. When $TERM is
mlterm at startup, Vim sets 'termbidi' which means that the terminal, not
Vim, is in charge of bidirectional text display.
Thanks! However,
Usually the only way doing something like this is
:set ft=html :-)
or checking wether you're on a HTML syntax region.
Have a look at :e $VIMRUNTIME/**/phpcomplete.vim files.
I think it already does something like what you you're looking for.
I may be wrong though.
Marc Weber
--
You received
On 06/03/10 23:14, Dotan Cohen wrote:
You can :set rightleft to reverse the whole split-window in gvim, or (on
Linux) you can run Vim in a true-bidi terminal such as mlterm. When $TERM is
mlterm at startup, Vim sets 'termbidi' which means that the terminal, not
Vim, is in charge of bidirectional
Thank you very much Marc,
You gave me the solution.
in _vimrc:
au FileType php set ft=xhtml
Now it works fine! :-)
--
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
On 01/01/10 17:42, jojahti wrote:
[...]
P.S. it's my first post in English. :thinking:
Forums on my native language, where I can ask this question - about zero.
Well, I could see that English wasn't your native language; at least
you've made a mighty effort. :-) (I snipped the question
Paul wrote:
http://vim.wikia.com/wiki/VimTip1530
This tip searches only for already selected text. Might there
be a way to have it prompt for a search string, like / does?
It already has a method for that. Assuming backslash leader key,
when in a C function, type \/ and observe that the
On Sat, 6 Mar 2010, James Beck wrote:
Yep, running :!make doesn't cause the delay. That's great to know. I
don't use quickfix, so this seems like a good solution.
But something doesn't add up here. If I put a /dev/null at the end
of every compiler line so that no text it sent to the
On Sat, Mar 6, 2010 at 5:14 PM, Dotan Cohen wrote:
You can :set rightleft to reverse the whole split-window in gvim, or (on
Linux) you can run Vim in a true-bidi terminal such as mlterm. When $TERM is
mlterm at startup, Vim sets 'termbidi' which means that the terminal, not
Vim, is in charge
On 02/01/10 02:07, Chris Jones wrote:
On Fri, Jan 01, 2010 at 06:40:24PM EST, Tim Chase wrote:
Chris Jones wrote:
On Fri, Jan 01, 2010 at 06:04:46PM EST, Peng Yu wrote:
'D' deletes everything after the cursor until the end of the line. Is
there a command that delete everything before the
Jean Johner wrote:
Charles Campbell wrote:
I've now tried this with a Windows (vista) o/s: I seem to need to
double-click the leftmouse on file1's status bar, but otherwise it
(v137e) seems to work ok.
Hi Chip,
You are right, it works when double-clicking, but note that return to
the
+1 for Inconsolata. I use it in everything that needs a mono font.
On Saturday, March 6, 2010, Matt Wozniski m...@drexel.edu wrote:
On Sat, Mar 6, 2010 at 5:14 PM, Dotan Cohen wrote:
You can :set rightleft to reverse the whole split-window in gvim, or (on
Linux) you can run Vim in a true-bidi
Well, when I'm about to edit Arabic text (or the Arabic part of a
multilingual page) I just do :set gfn=Courier\ New\ 10 (using the GTK2
format, because that's how my current gvim was compiled); similarly :set
gfn=FZKaiTi\ 16 (without the quotes in both cases, of course, as well as
the next
Thanks! However, :set leftright doesn't seem to reverse it back!
It's :set norightleft to get back to normal.
I feel so cheated!
--
Dotan Cohen
http://bido.com
http://what-is-what.com
Please CC me if you want to be sure that I read your message. I do not
read all list mail.
--
You
30 matches
Mail list logo