Thanks. After poking around a bit more with these and other links, I think I have a more fundamental question. I have neither a .exrc nor a .vimrc *anywhere* on any of my machines -- neither the new, misbehaving one nor any of my older "good" machines.
And I see this ..
on a 'good' machine:
and on the 'bad' machine:
(note - I pulled the above out of my putty logs. Unfortunately, logs did not capture the vi command I used to get that ouput, I don't remember what it was, and going back to find the web page that suggested it, I cant' find that either )
On both machines:
So at this point I'd like to just figure out how the two are different at all - regardless of the specifics of the differences. Without either of the two configuration files ...
---------- Post updated at 08:31 AM ---------- Previous update was at 08:26 AM ----------
Quote:
Originally Posted by Don Cragun
Using:
before you paste the text into your file will turn off automatic indentation. You probably don't want to always set noautoindent when you're manually editing new code, but you do want to turn it off before pasting in text that contains indented lines.
To turn automatic indentation back on, use:
Don,
thanks for the feedback. Actually, I *do* want to turn it off permanently. I've never had it turned on on any system I've ever worked on. Didn't even know it was an option. I'm not against learning new tricks, but this isn't one of them.
See my previous reply. At this point -- after investigating further -- I'm more curious about determining why two systems are working differently at all. Neither system has either .exrc or .vimrc files. So how is it that the two behave differently at all?
I want to install VIM 7.0 from sunfreeware.com onto a server.
The security guys are giving me a hard time because they found this security vulnerability.
http://xforce.iss.net/xforce/xfdb/6259
This vulnerability came out in 2001, and it looks like it was mostly for linux, but I cant be... (1 Reply)
I use vim for writing code. I was using nano but found that vim is a much advanced editor. I am trying to achieve something like this:
When trying a loop or a function, I generally type:
function name() {}
Now when I take my cursor one position to the left and press the return key, it give... (4 Replies)
How do I use compilers and syntax highlighting in (g)Vim?
Specifically, I need a Common Lisp compiler and a C++ compiler.
Thanks in advance!
(Note: Disregard my other topic.) (1 Reply)
Hi
I tried to install vim7.2 in solaris 10 x86 , installation completed but not able to get vim to be use.
dependency binary: gtk+ , glib & ncurses
install dependency binary package and then install vim7.2.
#pkgadd -d vim-7.2-sol10-x86-local
$ pkginfo SMCvim
application SMCvim vim
... (4 Replies)
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Can someone please tell me what this does?
:f word
I thought that was the way to save files with a different name but after a quick google search I saw it was like this.
:w filename (4 Replies)