charles--

again i find myself struggling to maintain my own
formatoptions settings through uses of netrw

netrw version:  v134

formatoptions before using netrw:  tcq
formatoptions after using netrw:  nroql2

method of netrw invocation:

nmap <F11> :call MyExplore()<CR>

function! MyExplore()
    let save_locate = @/
    let @/ = '^' . escape(expand("%:t"), ' .\')
    let g:netrw_sort_by = "name"
    let g:netrw_sort_direction = "normal"
    Explore %:p:h
    normal gg
    silent normal n
    normal zz
    let @/ = save_locate
endfunction

this time i was using vim (not gvim) version 7.2.69 on suse
linux 10.2

have you re-introduced old bugs, or have i found a new way
to trick it?  or....

sc



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui