No need to be sorry, be glad you finaly found the path to glory
The editor you are using (vim 6.3) can be 'manipulated' to act a certain way. Just about everything you want can be set/unset.
2 files are generally used to do this:
or /etc/vim/vimrc, depending on the distro (redhad, suse, slack etc) you use.
This file is used to set global (all users, system wide) preferences for vim.
This file, which is in your home directory (~), is used to set personal preferences.
To edit the first one you need to become root, the second one should be edited by the owner of that file.
For now I'm only going to talk about 1 specific item that can be set. For more info about settings:
files in /usr/share/vim/vim63/ (could be different depending on distro)
The behaviour you are describing looks like an 'indent' setting. This behaviour can be changed by changing either /etc/vimrc or ~/.vimrc. The setting I mentioned before (set autoindent) is probably the cause of the problem.
You could do 2 things:
1) Remove it from /etc/vimrc
2) 'Unset' it in your .vimrc file.
Assuming that you are not a programmer (yet) and are using vim for general editing, I recommend removing it from /etc/vimrc.
So, as root, open /etc/vimrc:
Look for the autoindent line. I don't know how basic your vi knowledge is, so this might be a bit too simplefied
Make sure you are in 'command' mode: press <esc>
Search for autoindent, type the following /set autoindent<enter>
If autoindent is anywhere in the file, the cursor will jump to it (possibly highlighted).
To make sure you can return to the previous setting, don't remove it, but make it a 'comment'.
Goto the beginning of the line containing autoindent (either <home> or ^).
Switch to insert mode: i
(you should be able to edit the line).
Insert a "
to make it a comment line.
The entire line should now look something like this:
" set autoindent
Switch to command mode: <esc>
Save changes and quit: :wq
If vi complains about the file being readonly: :wq!
If you have troubles (with vi) and want to quit without saving anything: <esc><esc>:q!
This should get you going.
And, if unsure just ask.......