Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed0e96c

Browse filesBrowse files
committed
man.vim: set 'linebreak'
closes #9583
1 parent c9b7f0c commit ed0e96c
Copy full SHA for ed0e96c

File tree

Expand file treeCollapse file tree

1 file changed

+7
-19
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-19
lines changed

‎runtime/ftplugin/man.vim

Copy file name to clipboardExpand all lines: runtime/ftplugin/man.vim
+7-19Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,13 @@ if s:pager
1212
call man#init_pager()
1313
endif
1414

15-
setlocal buftype=nofile
16-
setlocal noswapfile
17-
setlocal bufhidden=hide
18-
setlocal nomodified
19-
setlocal readonly
20-
setlocal nomodifiable
21-
setlocal noexpandtab
22-
setlocal tabstop=8
23-
setlocal softtabstop=8
24-
setlocal shiftwidth=8
25-
setlocal wrap
26-
setlocal breakindent
27-
28-
setlocal nonumber
29-
setlocal norelativenumber
30-
setlocal foldcolumn=0
31-
setlocal colorcolumn=0
32-
setlocal nolist
33-
setlocal nofoldenable
15+
setlocal noswapfile buftype=nofile bufhidden=hide
16+
setlocal nomodified readonly nomodifiable
17+
setlocal noexpandtab tabstop=8 softtabstop=8 shiftwidth=8
18+
setlocal wrap breakindent linebreak
19+
20+
setlocal nonumber norelativenumber
21+
setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable
3422

3523
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
3624
nnoremap <silent> <buffer> j gj

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.