Skip to main content

Questions tagged [manpages]

For questions about viewing manpages in vim.

Filter by
Sorted by
Tagged with
1 vote
1 answer

How can I turn off syntax highlighting for man pages?

I open man pages in vim, per export MANPAGER="vim -M +MANPAGER -" in my zshrc. However, vim has syntax highlighting enabled when it opens a man page. Is there a way to ensure man pages ...
Aaron Parisi's user avatar
1 vote
1 answer

how to change <shift-K> to lookup python3 keyword instead of python2.7

I love that when working in python I can hover my cursor over a keyword a (e.g. math) and see docs in a less format to briefly read the api and then go back to writing. I noticed in python, vim is ...
Kevin Crum's user avatar
1 vote
0 answers

Save :Man window in session

TL;DR: I want to persist :Man windows in sessions I am obsessed with sessions, and use tpope's vim-obsession for managing them. Coupled with a scripted tmux, sessions make for a perfect "quit, go ...
D. Ben Knoble's user avatar
  • 26.6k
0 votes
2 answers

How to match autocmd pattern for unique file

I'm trying to make autocommands that will run only when the buffer is a man page (:Man), but I can't get the right pattern as I'm not too familiar with regex and globs. Here's what I've tried so far: ...
John Fred Fadrigalan's user avatar
4 votes
2 answers

Using vim as manpager: works on Linux, fails on macOS

:h manpager describes how to use vim as a manpager: Works on: - Linux - Mac OS - FreeBSD - Cygwin - Win 10 under Bash Untested: - Amiga OS - BeOS - OS/2 For bash,zsh,ksh or dash ...
Ryan Lue's user avatar
  • 901
20 votes
4 answers

How can I suppress the "reading from STDIN" message from within Vim?

When using Vim to read from stdin, it prints a informative message: $ echo foo | vim - Vim: Reading from stdin... $ This is just an example. The actual use doesn't allow shell constructs. vim <(...
muru's user avatar
  • 25k