add kak pager and use it for man pages
This commit is contained in:
		
							parent
							
								
									0cd3802686
								
							
						
					
					
						commit
						c19d02520c
					
				
					 5 changed files with 26 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								scripts/kak-man-pager
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								scripts/kak-man-pager
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
col -b -x |
 | 
			
		||||
kak -e '
 | 
			
		||||
    map global normal q :q<ret>;
 | 
			
		||||
    set buffer filetype man;
 | 
			
		||||
    rmhl global/number-lines;
 | 
			
		||||
    set global scrolloff 10,0
 | 
			
		||||
'
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue