On Thu, Apr 28, 2016 at 02:25:36AM -0700, Konfekt wrote:

> Thanks a bunch ! Exactly, the definition of MAN_PN is the weak point.
> So after updating instructions for other shells, apparemment BSD is
> unsupported. Could you explain tha ol trick about the removal of
> backspaces that yet works around it? 

I've got a function defined in my .bashrc as follows:

vman() { man "$@" 2>&1 | col -bx | iconv -c | vim -c 'set ft=man nomod nolist 
nonu nornu' -c 'call Hideme()' -; }

(the above was sent as all one line)

it's the 'col -bx' that removes backspaces -- Hideme is a function in
my .vimrc as follows:

function! Hideme()
    setlocal noswapfile
    setlocal buftype=nofile
    setlocal bufhidden=hide
endfunction

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui