On Mon, Nov 22, 2010 at 9:55 PM, Rob <[email protected]> wrote: >> :set >> > > balloondelay=100 clipboard= expandtab helplang=en > makeprg= number pastetoggle=<F6> ruler > shell=/bin/tcsh shortmess=atoO tags= ttyfast > wildmenu > ballooneval directory=. foldminlines=4 hlsearch > modified paste path= scroll=53 > shiftwidth=2 smartcase title > ttymouse=xterm > fileencodings=ucs-bom,utf-8,default,latin1 > wildmode=longest:full > > *ahh, it is the paste mode!* > >> Can you check with just a single character? >> Do, >> :inoremap a A >> and check if typing 'a' gives you 'A' > > ok, with paste mode turned off (otherwise not) Apart from other suggestions on using a motion command followed by 'U' to make upper case, you might want to define abbreviations only for fortran keywords.
like (I don't know what are the keywords in fortran): :iabbr function FUNCTION That way, you do not have to bother about case at all, vim will correct it for you. Having a look at the fortran syntax file might help in getting a good list of keywords. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
