... Thanks! It is a long time since I searched for methods to get the true name of a file, and I did not find that. However, there are reports that...
129743
Dotan Cohen
dotancohen@...
Mar 17, 2012 12:11 pm
This is my .vimrc file: 1 set nu 2 set laststatus=2 3 4 function! PHP_Cursor_Position() 5 let pos = getpos(".") 6 let curline = pos[1] 7...
129744
Benjamin R. Haskell
vim@...
Mar 17, 2012 2:51 pm
... (Minor nit: don't include line numbers -- it makes it slightly annoying to copy-paste). ... You left out 'protected39;. And you can only have two of those...
129745
stardiviner
numbchild@...
Mar 17, 2012 3:36 pm
I want a vim script to convert SQL keyword(statement, clause, those highlig= ht group in file) to be converted to *uppercase* when I type command `:w` to save...
129746
stardiviner
numbchild@...
Mar 17, 2012 3:46 pm
I want a smart <Tab> map to complete snippet or other completion from snipMate and neocomplcache. inoremap <expr><Tab> <check snippet available> pumvisible()...
129747
Phil Dobbin
phildobbin@...
Mar 17, 2012 4:01 pm
... Hash: SHA1 ... In Visual mode `U` will change case of the selected word. See `:help case` for further options. Cheers, Phil... - -- But masters, remember...
129748
Dotan Cohen
dotancohen@...
Mar 17, 2012 4:28 pm
... Thanks, I will be more careful about that in the future. ... Thanks, I'll add it. ... Right, but I don't know in which order they will appear. Though I ...
129749
Alessandro Antonello
antonello.ale@...
Mar 17, 2012 5:15 pm
Hi, all. I just love Doxygen, and I try to use it on every language I work with. Most of time I work with C/C++ or Java. In those languages the Vim scripts ...
129750
Tim Chase
vim@...
Mar 17, 2012 5:28 pm
... While I don't know of anything that currently exists, if you want a somewhat sloppy version of it, you can use something like ... ...
129751
numbchild@...
Mar 17, 2012 6:13 pm
... There is a syntax file in vim which is sqlanywhere.vim, it will highlight a lot of keyword. So the smart way is to make uppercase for all of those ...
129752
Tim Chase
vim@...
Mar 17, 2012 6:22 pm
... yes, there are a lot of SQL keywords, and optionally functions if you want to highlight those. It would be handy to have something like ... ...
129753
Christian Brabandt
cblists@...
Mar 17, 2012 7:42 pm
Hi Tim! ... regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. ...
129754
Benjamin R. Haskell
vim@...
Mar 17, 2012 7:51 pm
... Yes, there's no such function built in, but here's a first pass (partially to practice my VimL, partially because I thought it'd be easier): fun!...
129755
Benjamin R. Haskell
vim@...
Mar 17, 2012 7:58 pm
... Wow. Really nice. Part of the reason I kept running with my SynKeywords() function was that I didn't see a way around the fact that synID required a...
129756
Xtian Simon
xtiansimon@...
Mar 17, 2012 9:09 pm
This is a basic experiment in vimrc scripting. Its a conditional load of an option based on the existence of a global variable set in a sourced vim config file...
129757
Taylor Hedberg
tmhedberg@...
Mar 17, 2012 9:17 pm
Your problem is that .vimrc is sourced first, before the autocommand is fired. So when the if statement is reached, the variable doesn't exist yet. How best to...
129758
Jacobo de Vera
devel@...
Mar 17, 2012 11:42 pm
Hi all, Is there a way to make TOhtml generate CSS classes for absolutely all highlight groups, including those related to line numbers, window borders, etc.....
129759
Xell Liu
xell.liu@...
Mar 18, 2012 7:06 am
IMHO you could use autocmd instead of &modified. Please check ... -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply...
129760
Brandon Olivares
programmer2188@...
Mar 18, 2012 7:12 am
Hello, ... It works great for most comments, at least the descriptive part of the comment. It is autoformatted as expected, and I like this behavior. However,...
129761
Marcin Szamotulski
mszamot@...
Mar 18, 2012 7:55 am
... Using both ':he tex-slow' and turning of folding doesn't help that much as setting 'norelativenumber'. Though setting ':syntax off' helps equally well. ...
129762
Thilo Six
T.Six@...
Mar 18, 2012 8:50 am
Hello Marcin, Excerpt from Marcin Szamotulski: -- <snip> -- ... Both of you Yichao Zhou and you Marcin did not tell if you use vim inside a terminal window. I...
129763
Marcin Szamotulski
mszamot@...
Mar 18, 2012 9:12 am
... Thanks for the clue. Indeed, I'm using terminal vim (within uxterm). I use ttyfast and the default ttyscroll=999. Setting ttyscrol=3 doesn't help. There is...
129764
Yichao Zhou
broken.zhou@...
Mar 18, 2012 10:25 am
... I use windows version of gvim. This may be differed from the unix version. -- You received this message from the "vim_use" maillist. Do not top-post! Type...
129765
Christian Brabandt
cblists@...
Mar 18, 2012 12:42 pm
Hi Benjamin! ... Yes. The good thing is when using the :s command, vim positions the cursor on the match, so one can successfully make use of the line('.39;) and...
129766
Gautier DI FOLCO
gautier.difolco@...
Mar 18, 2012 2:40 pm
... Hi, Thank you for your answer but I found two problems with this method : * There is no autocommand event on modified * There is no way to set only the SL...
129767
Xtian Simon
xtiansimon@...
Mar 18, 2012 3:39 pm
... Thanks for that. Do you know of any documentation about the order of execution in the VIMDOCS [1] or another source? ... [1]:...
129768
Michael Ludwig
milu71@...
Mar 18, 2012 4:02 pm
... Have you seen this message from a couple days ago: [PATCH] plugin/tohtml.vim :TOcss command ...
129769
Michael Ludwig
milu71@...
Mar 18, 2012 4:41 pm
... Not sure that's answering your question, but maybe pastetoggle? ... set pastetoggle=<F5> Michael -- You received this message from the "vim_use" maillist. ...
129770
Marcin Szamotulski
mszamot@...
Mar 18, 2012 4:42 pm
... You can read ":help startup". Best, Marcin -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you...
129771
Taylor Hedberg
tmhedberg@...
Mar 18, 2012 5:22 pm
... In addition to Marcin's recommendation, you can use the :scriptnames command to see a list of all scripts that have been sourced in the order in which they...