Skip to content

Conversation

b0o
Copy link

@b0o b0o commented Apr 7, 2020

Use let g:no_man_maps = 1 to disable default mappings so you can define your own.

Follows the same pattern used by the ftplugin/man.vim file distributed with {neo,}vim.

Use `let g:no_man_maps = 1` to disable default mappings so you can
define your own.
nnoremap <silent> <buffer> q :q<CR>
nnoremap <buffer> g/ /^\s*\zs
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would make more sense to use a different global variable than the one vim's bundled man.vim uses?

njhoffman added a commit to njhoffman/vim-man that referenced this pull request Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant