Simon Jackson schrieb:
I have a problem when i am in visual mode and i have text highlighted.
Instead of being able to run a command, it just overwrites my selected
text instead. im sure its because of something in my vimrc but i just
cant pinpoint it, can anyone help?
P.S.: If anyone sees some errors in my vimrc or maybe how something
can be done more efficiently please let me know.
filetype on " detect the type of file
filetype plugin indent on " enable filetype plugin
second line is enough
set gdefault " Use 'g' flag by default with :s/foo/bar/
Can result in obscure errors with some badly written plugin,
that does not reset 'gdefault' to the default.
! Looks like you're not happy with
set selectmode=mouse,key,cmd
au FileType helpfile set nonumber " no line numbers when viewing help
au FileType helpfile nnoremap <buffer><cr> <c-]> " Enter selects subject
au FileType helpfile nnoremap <buffer><bs> <c-T> " Backspace to go back
Does this work for you? On helpfiles,
:set ft?
returns "help", not "helpfile".
highlight Pmenu guibg=black gui=bold
Works as long as you don't change colorschemes.
Andy
--
EOM
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de