mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 Doron Behar
					Doron Behar
				
			
				
					committed by
					
						 Justin M. Keyes
						Justin M. Keyes
					
				
			
			
				
	
			
			
			 Justin M. Keyes
						Justin M. Keyes
					
				
			
						parent
						
							09cbd6769b
						
					
				
				
					commit
					3c9c64d9dd
				
			| @@ -515,9 +515,6 @@ MAN					*ft-man-plugin* *:Man* *man.vim* | |||||||
| View manpages in Nvim. Supports highlighting, completion, locales, and | View manpages in Nvim. Supports highlighting, completion, locales, and | ||||||
| navigation. Also see |find-manpage|. | navigation. Also see |find-manpage|. | ||||||
|  |  | ||||||
| To use Nvim as a manpager: > |  | ||||||
|      export MANPAGER='nvim +Man!' |  | ||||||
|  |  | ||||||
| man.vim will always attempt to reuse the closest man window (above/left) but | man.vim will always attempt to reuse the closest man window (above/left) but | ||||||
| otherwise create a split. | otherwise create a split. | ||||||
|  |  | ||||||
| @@ -554,6 +551,18 @@ Variables: | |||||||
|                                :let b:man_default_sections = '3,2' |                                :let b:man_default_sections = '3,2' | ||||||
| *g:man_hardwrap*            Hard-wrap to $MANWIDTH. May improve layout. | *g:man_hardwrap*            Hard-wrap to $MANWIDTH. May improve layout. | ||||||
|  |  | ||||||
|  | To use Nvim as a manpager: > | ||||||
|  |      export MANPAGER='nvim +Man!' | ||||||
|  |  | ||||||
|  | Note that when running `man` from the shell and with that `MANPAGER` in your | ||||||
|  | environment, `man` will pre-format the manpage using `groff`. Thus, Neovim | ||||||
|  | will inevitably display the manual page as it was passed to it from stdin. One | ||||||
|  | of the caveats of this is that the width will _always_ be hard-wrapped and not | ||||||
|  | soft wrapped as with `:Man`. You can set in your environment: > | ||||||
|  |      export MANWIDTH=999 | ||||||
|  |  | ||||||
|  | So `groff`'s pre-formatting output will be the same as with `:Man` i.e soft-wrapped. | ||||||
|  |  | ||||||
| PDF							*ft-pdf-plugin* | PDF							*ft-pdf-plugin* | ||||||
|  |  | ||||||
| Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating | Two maps, <C-]> and <C-T>, are provided to simulate a tag stack for navigating | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user