On Nov 20, 6:44 pm, Henry Hertz Hobbit <[email protected]> wrote: > I use these function keys on Linux with no problems (the zz > is lower case, not upper case and was done to get rid of some > strange behavior on OpenSuse 11.2 until I altered what caused > it not to come back to where I was at but shoved the line to the > bottom of the window). > > map <F5> :n<CR>zz > map <F6> :rew<CR>zz > map <F7> :wn<CR>zz > map <F8> :w!<CR>zz > map <F12> :x!<CR> > > These function keys do not work with 7.3 on Windows. I cannot > remember for sure but I think they did work with 7.2. I have the > _vimrc file in these two locations: > > %UserProfile%\_vimrc > %ProgramFiles%\Vim > > The Wiki mentions $Home for Windows. You have your choide > of these two environment variables: %UserProfile% and > %HomePath%. I prefer the former because it has the drive > letter and I am frequently on E:, a FAT32 file system and > F:, a USB FAT32 file system. I also have these environment > variables > > Vim=C:\Program Files\Vim > VimRunTime=C:\Program Files\Vim\vim73 > (the second had vim72 when I was using GVim 7.2) > > Here is the contents of the_vimrc file: > > http://www.securemecca.com/tmp/vimrc.txt
Your mappings are commented out, in that file. Also, although it may not matter, I'd use :nnoremap in this situation instead of just :map. > > I am normally starting vim via a gvimi.bat file in cmd.exe. > Here is what is in that file: > > http://www.securemecca.com/tmp/gvimi.txt > Why do you normally ditch the viminfo file? I find it extremely useful. If you really don't want it, why not just set the viminfo option to an empty string in your _vimrc? > However, even when I just right click on a file and select edit with > gvim the function keys still don't work. If anybody knows why it > doesn't work and knows what I am doing wrong please let us all > know the right way to do it. > > Cross e-mail me to hhhobbit(gnat)gmail.com since I only read the > digest version and may miss the answer. > > Thanks. -- 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
