Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LunarVim as MANPAGER - #4532

Open
JxJxxJxJ opened this issue Mar 15, 2024 · 1 comment
Open

LunarVim as MANPAGER - #4532

JxJxxJxJ opened this issue Mar 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JxJxxJxJ
Copy link

JxJxxJxJ commented Mar 15, 2024

Feature Description

I would like to use lunarvim as my MANPAGER in my shell config.

Currently, I've tried this with neovim and it works fine

export MANPAGER='nvim +Man!+"set nocul" +"set noshowcmd" +"set noruler" +"set noshowmode" +"set laststatus=0" +"set showtabline=0" +"set nonumber"'

But if I replace nvim with lvim everything breaks.

man: exit status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=man(1) lvim +Man!

An alternative would be just using Nvim, but I really like Lvim, the main point is to be able to have your own theme and plugins in the manpages

@JxJxxJxJ JxJxxJxJ added the enhancement New feature or request label Mar 15, 2024
@juicy-g
Copy link
Contributor

juicy-g commented Apr 27, 2024

The export with lvim works for me. What shell and terminal are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants