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...
François Ingelrest
athropos@...
Mar 1, 2007 8:09 am
78129
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...
Matthew Winn
vim@...
Mar 1, 2007 9:11 am
78130
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 ...
Naim Far
naim@...
Mar 1, 2007 9:21 am
78131
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...
MM
mirzani@...
Mar 1, 2007 10:31 am
78132
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...
Alexander Farber
alexander.farber@...
Mar 1, 2007 10:43 am
78133
... Does this do what you want (untested): let REGEX1='^procedure' let REGEX2='^end' set foldmethod=expr foldexpr=MyFoldLevel() function! MyFoldLevel() let...
Yakov Lerner
iler.ml@...
Mar 1, 2007 10:49 am
78134
... Defining 'hi...' in vimrc is not good because 'color ...' commands, and possibly by 'syntax on' commands. The better method to customize colors is to copy...
Yakov Lerner
iler.ml@...
Mar 1, 2007 10:57 am
78135
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 ...
Alexander Farber
alexander.farber@...
Mar 1, 2007 11:04 am
78136
... 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...
Yakov Lerner
iler.ml@...
Mar 1, 2007 11:12 am
78137
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...
Alexander Farber
alexander.farber@...
Mar 1, 2007 11:16 am
78138
... 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...
Hugh Sasse
hgs@...
Mar 1, 2007 11:55 am
78139
... 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...
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:00 pm
78140
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...
Alexander Farber
alexander.farber@...
Mar 1, 2007 12:02 pm
78141
... How about this: vim `grep -l 'pattern' *` ... Yakov...
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:20 pm
78142
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 ...
kib2
kib2@...
Mar 1, 2007 12:23 pm
78143
... 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....
Yakov Lerner
iler.ml@...
Mar 1, 2007 12:29 pm
78144
... [...] 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...
Hugh Sasse
hgs@...
Mar 1, 2007 12:31 pm
78145
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...
Eric Leenman
eric.leenman@...
Mar 1, 2007 12:33 pm
78146
... Hi Yakov, I've got no error message, but no menu too ! How can I list all of my available extensions ?...
kib2
kib2@...
Mar 1, 2007 12:39 pm
78147
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...
François Ingelrest
athropos@...
Mar 1, 2007 12:59 pm
78148
... What exactly do you mean by "without success". Do you get error message ? Which one ? Yakov...
Yakov Lerner
iler.ml@...
Mar 1, 2007 1:02 pm
78149
... 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,...
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:18 pm
78150
... 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,...
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:29 pm
78151
... correction: this line should have been if line =~ g:REGEX1 ... Correction: elseif line =~ g:REGEX2...
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:32 pm
78152
... When I set it manually, it works fine now. So, what should I put inside my _vimrc to have this automaticaly ? Thanks....
kib2
kib2@...
Mar 1, 2007 2:33 pm
78153
... Try ':filetype on' Yakov...
Yakov Lerner
iler.ml@...
Mar 1, 2007 2:34 pm
78154
... 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() ...
kib2
kib2@...
Mar 1, 2007 2:43 pm
78155
... 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...
Tim Chase
vim@...
Mar 1, 2007 2:55 pm
78156
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...
Naim Far
naim@...
Mar 1, 2007 3:27 pm
78157
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...