... The docs for :promptrepl should also include that the replacement is a literal, not making use of any metachars such as "&" or "\". -tim -- You received...
131291
Eric Weir
eeweir@...
May 25, 2012 10:35 pm
... Thanks, Chris. It depends on the filetype. If it's markdown the result is "foldmethod=expr." Otherwise "foldmethod=manual." ... There are two types of...
131292
sc
toothpik@...
May 25, 2012 11:03 pm
... when you start with an empty window, you have done nothing to tell vim what type of file you are going to create -- when you add text it still doesn't know...
131293
Gary Johnson
garyjohn@...
May 25, 2012 11:16 pm
... That depends on how the markdown filetype is being detected, by filename extension or by file content. If the markdown filetype is being detected by file...
131294
Chris Jones
cjns1989@...
May 26, 2012 1:41 am
... [..] ... Not sure it's necessary. ... Eric's previous post says he writes it as a markdown file - i.e. with a markdown extent. So I assume that the file...
131295
stardiviner
numbchild@...
May 26, 2012 1:49 am
I write a function like this in .vimrc: function! VimwikiWeblinkHandler(weblink) let browser = 'firefox' execute 'silent !"'.browser.'" ' ....
131296
Chris Jones
cjns1989@...
May 26, 2012 2:13 am
... [..] ... So it looks like the markdown script gets loaded when dealing with a markdown file. I should have asked you to issue a ‘:verbose set fdm’. ......
131297
John Beckett
johnb.beckett@...
May 26, 2012 5:21 am
... In Linux, you need to append '&'. Try adding the following after the shellescape(): . '&' John -- You received this message from the "vim_use" maillist. Do...
131298
John Little
John.B.Little@...
May 26, 2012 5:27 am
... So, how do you invoke the function? Regards, John -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text...
131299
stardiviner
numbchild@...
May 26, 2012 6:50 am
=> On [2012-05-25 22:26:49 -0700]: ... I just press "Enter" on link directly. Use <cWORD> will not open correctly. ... -- [ stardiviner ] ^^&^^ {I hate all of...
131300
Edward
dwrdx5@...
May 26, 2012 9:45 am
Hi Adam, I'm using VIM to develop my projects every day. They are mainly C code with some perl/python/batch and makefiles. You didn't mention which OS you are...
131301
Eric Weir
eeweir@...
May 26, 2012 9:54 am
... Thanks, sc. Definitely does. I assumed the behavior was anomalous. Someone, I think Chris, suggested earlier that a simple ":e" would do the trick, and it...
131302
Eric Weir
eeweir@...
May 26, 2012 10:15 am
... Thanks, Chris. I have a version of that command in my .vimrc to get "mmd" recognized as a markdown filetype. [I actually use MultiMarkdown.] And that's the...
131303
Eric Weir
eeweir@...
May 26, 2012 10:48 am
... Thanks, Chris. I don't find that file in my .vim folder. I have Vim 7.3 [MacVim]. I don't know when it became effective, but my understanding is that...
131304
Bastien Dejean
nihilhill@...
May 26, 2012 11:15 am
Hi, I'd like to visualize specific space characters through the *conceal* mechanism. Here's my first (failed) attempt: syntax match ThreePerEmSpace " "...
131305
John Little
John.B.Little@...
May 26, 2012 11:39 am
... Just pressing "Enter" in vim doesn't call functions; you must be using a plugin that maps the Enter key, perhaps a filetype plugin that vim has loaded...
131306
Christian Brabandt
cblists@...
May 26, 2012 12:31 pm
... Here is an even improved version of the patch, which adds the buttons Undo and Redo to the gtk and motif version and which adds an extra parameter whether...
131307
sc
toothpik@...
May 26, 2012 3:44 pm
... as in perl, TMTOWTDI (there's more than one way to do it) -- many others have been suggested in this thread ... no, :e is shorthand for :edit, which...
131308
richard emberson
richard.emberson@...
May 26, 2012 4:43 pm
After splitting a window ":sp" there is now an upper and lower window with a statusline between them. Is it possible to not have such a window-separating ...
131309
richard emberson
richard.emberson@...
May 26, 2012 5:01 pm
You are in console (non-gui) Vim and have split the window (:sp). In the upper window you launch a script that calls getchar(). What I'd like to be able to do...
131310
Gary Johnson
garyjohn@...
May 26, 2012 7:48 pm
... No. BufNewFile will set the filetype to markdown when starting to edit a new file with a name ending in .mkdwn; BufRead will set it when opening an...
131311
jorge rodrigues
skeept@...
May 26, 2012 8:11 pm
... Thanks Dr. Chip, your plugin does format the latex tables very well. The reason I asked the question initially is that I have previously selected the text...
131312
Chris Lott
chris@...
May 26, 2012 10:30 pm
... when you use the command :e without a file name it opens (reloads) the current file (see more on the command using :help :e) What you are running into is...
131313
Chris Jones
cjns1989@...
May 26, 2012 10:32 pm
... [..] ... I ran a quick test on a freshly-installed Vim 7.3 and highlighting worked out of the box with a 20-line markdown sample I grabbed online. ... As...
131314
Gary Johnson
garyjohn@...
12:21 am
... Never mind. It should. Regards, Gary -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are...
131315
Eric Weir
eeweir@...
12:38 am
... Thanks, Chris. I did same with an ".mkd" extent and got the same result. I'm embarrassed to say this, but I think all this "sturm und drang" is going to...
131316
Eric Weir
eeweir@...
12:45 am
... Thanks, sc. I do know how to use it---sorta. I know how to call up the files and navigate around in them. The problem is that I don't understand most of...
131317
Chris Jones
cjns1989@...
1:33 am
... That's also how I understood it, yet.. I tested with a markdown file and BufNewFile and BufRead were the only two events defined to Vim. Non-customized Vim...
131318
Chris Jones
cjns1989@...
3:11 am
... [..] ... Not to worry.. That's one area of Vim I don't understand very well.. An opportunity to learn something.. ... Ah, for syntax highlighting and...
131319
Tony Mechelynck
antoine.mechelynck@...
4:54 am
... AFAIK, it isn't. Every window, except optionally the bottom one, must have a statusline; similarly, in a vertical split, there is a one-column separator...