Hello all, This is something that annoys me a lot, and I don't know how to get rid of it: as soon as I open a new file, auto indentation is lost. Suppose I am...
78129
Matthew Winn
vim@...
Mar 1, 2007 9:11 am
On Wed, 28 Feb 2007 12:55:23 -0800, Lev Lvovsky <lists2@...> ... I'd think it was likely, given that two days ago I posted a mapping that does exactly...
78130
Naim Far
naim@...
Mar 1, 2007 9:21 am
Hi Vimers, I was wondering about argdo! Is there anyway to do the following command ... I tried it but it didn't work, I tried some few others ways, but they ...
78131
MM
mirzani@...
Mar 1, 2007 10:31 am
How do I create folds such that it starts at matched expression and ends at the line containing part of the matched expression. e.g i'd like to fold procedure...
78132
Alexander Farber
alexander.farber@...
Mar 1, 2007 10:43 am
Hello, I've spent several hours, but just can't figure out, why wouldn't Vim 7.0 on my english Win Xp Pro PC execute the highlight commands from my .vimrc. I'd...
78133
Yakov Lerner
iler.ml@...
Mar 1, 2007 10:49 am
... Does this do what you want (untested): let REGEX1='^procedure39; let REGEX2='^end' set foldmethod=expr foldexpr=MyFoldLevel() function! MyFoldLevel() let...
78134
Yakov Lerner
iler.ml@...
Mar 1, 2007 10:57 am
... Defining 'hi...39; in vimrc is not good because 'color ...' commands, and possibly by 'syntax on' commands. The better method to customize colors is to copy...
78135
Alexander Farber
alexander.farber@...
Mar 1, 2007 11:04 am
Hello Yakov, ... sorry, I don't understand what you mean above. ... Ok, I get you that it isn't the best method, but you still haven't answered why the line ...
78136
Yakov Lerner
iler.ml@...
Mar 1, 2007 11:12 am
... It's not ignored. It's overwritten later. ... It's not ignored. It's overwritten later. 1. Try 'syn off' 'syntax on' after that. Does it affect you colors...
78137
Alexander Farber
alexander.farber@...
Mar 1, 2007 11:16 am
Hello, ... it does affect my colors: "syn off" turns everything black/white and "syn on" brings the colors back (but wrong colors - my Comments are still not...
78138
Hugh Sasse
hgs@...
Mar 1, 2007 11:55 am
... If I recall correctly, this will affect gvim, because you have have used GUIfg and GUIbg (caps for emphasis). What happens if you supplement these: hi...
78139
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:00 pm
... Ok, you can try the following: For every 'hi ...' command in your ~/.vimrc, have two lines: hi Comment ctermfg=Red ctermbg=Green au ColorScheme * hi...
78140
Alexander Farber
alexander.farber@...
Mar 1, 2007 12:02 pm
Hello Hugh, ... no, unfortunately this doesn't change anything. I've had those in my ~/.vimrc originally: syntax on hi Cursor term=inverse ctermfg=black...
78141
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:20 pm
... How about this: vim `grep -l 'pattern39; *` ... Yakov...
78142
kib2
kib2@...
Mar 1, 2007 12:23 pm
Hi, I had to change my os and I'm now under Vista. I installed Vim 7 and copied my previous _vimrc. All my settings are good but one : the python.vim script ...
78143
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:29 pm
... Do you have autocommands in the spirit of 'au BufNewFile ...' in your vimrc that disable autoindenting ? You can try to find and erase those autocommands....
78144
Hugh Sasse
hgs@...
Mar 1, 2007 12:31 pm
... [...] Then try ... to see which scripts have been loaded in what order, that way you'll have an idea what is picked up after your .vimrc and for the case...
78145
Eric Leenman
eric.leenman@...
Mar 1, 2007 12:33 pm
Hi Yegappan, ... What I did: I assume you mean line 521, 527. But when I look at the workspace.vim file the line numbers doesn't line up with it. Therefor I...
78146
kib2
kib2@...
Mar 1, 2007 12:39 pm
... Hi Yakov, I've got no error message, but no menu too ! How can I list all of my available extensions ?...
78147
François Ingelrest
athropos@...
Mar 1, 2007 12:59 pm
Thank you very much for your answer. I have these lines in my .vimrc: if has("autocmd") au BufRead,BufNewFile *.cls set filetype=tex au BufRead,BufNewFile...
78148
Yakov Lerner
iler.ml@...
Mar 1, 2007 1:02 pm
... What exactly do you mean by "without success". Do you get error message ? Which one ? Yakov...
78149
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:18 pm
... You're supposed to get additional menus only when you edit the *.py file. Are you editing the *.py file ? Also, try 'set ft=python' manually. Failing that,...
78150
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:29 pm
... It's not abvious whether any of your commands above break auto-indenting or not. The only way to know is if you comment them all out (first all of them,...
78151
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:32 pm
... correction: this line should have been if line =~ g:REGEX1 ... Correction: elseif line =~ g:REGEX2...
78152
kib2
kib2@...
Mar 1, 2007 2:33 pm
... When I set it manually, it works fine now. So, what should I put inside my _vimrc to have this automaticaly ? Thanks....
78153
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:34 pm
... Try ':filetype on' Yakov...
78154
kib2
kib2@...
Mar 1, 2007 2:43 pm
... filetype on is already inside my mimrc. In fact, I've made a special function for the different languages I use : au BufEnter *.py exe Fpython() ...
78155
Tim Chase
vim@...
Mar 1, 2007 2:55 pm
... You might be able to do something like ... You can tweak that initial regexp to catch what you want. If you can mix and match directives, you can do things...
78156
Naim Far
naim@...
Mar 1, 2007 3:27 pm
Thanx Yakov for your response, It would help, but I would rather to do it with in working in vim. I'm editing an enormous number of files, and when I change a...
78157
Brewtal100
theunholyterror@...
Mar 1, 2007 3:33 pm
Hi Every body I'm new here. This is my first post. It's a question Could someone please suggest why whenever I press the tab key to indent, the whitespace is...