*** efmregpat/vim/runtime/ftplugin/man.vim	2018-05-16 22:34:02.000000000 -0700
--- man.vim	2018-07-24 22:30:29.000000000 -0700
*************** if &filetype == "man"
*** 39,45 ****
  endif
  
  if exists(":Man") != 2
!   com -nargs=+ -complete=shellcmd Man call s:GetPage(<f-args>)
    nmap <Leader>K :call <SID>PreGetPage(0)<CR>
    nmap <Plug>ManPreGetPage :call <SID>PreGetPage(0)<CR>
  endif
--- 39,45 ----
  endif
  
  if exists(":Man") != 2
!   com -nargs=+ -complete=shellcmd Man call s:GetPage(<q-mods>, <f-args>)
    nmap <Leader>K :call <SID>PreGetPage(0)<CR>
    nmap <Plug>ManPreGetPage :call <SID>PreGetPage(0)<CR>
  endif
*************** func <SID>FindPage(sect, page)
*** 100,106 ****
    return 1
  endfunc
  
! func <SID>GetPage(...)
    if a:0 >= 2
      let sect = a:1
      let page = a:2
--- 100,106 ----
    return 1
  endfunc
  
! func <SID>GetPage(cmdmods, ...)
    if a:0 >= 2
      let sect = a:1
      let page = a:2
*************** func <SID>GetPage(...)
*** 154,160 ****
            new
          endif
        else
!         new
        endif
        setl nonu fdc=0
      endif
--- 154,164 ----
            new
          endif
        else
! 	if a:cmdmods != ''
! 	  exe a:cmdmods . ' new'
! 	else
! 	  new
! 	endif
        endif
        setl nonu fdc=0
      endif
