From f665bde183b5f44d82bd4cb66e0241c242c34766 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 5 Aug 2016 00:04:48 -0400 Subject: man.vim: default K mapping - Also some small improvements in other parts. --- runtime/ftplugin/man.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index a45a380eb2..06b61bd8aa 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -17,9 +17,9 @@ if has('vim_starting') else keepjumps 1 endif - " This is not perfect.See `man glDrawArraysInstanced`. Since the title is + " This is not perfect. See `man glDrawArraysInstanced`. Since the title is " all caps it is impossible to tell what the original capitilization was. - execute 'file '.'man://'.tolower(matchstr(getline(1), '^\S\+')) + execute 'file man://'.tolower(matchstr(getline(1), '^\S\+')) endif setlocal buftype=nofile -- cgit From e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sat, 6 Aug 2016 16:04:34 -0400 Subject: man.vim: buffers are now listed - Since the names are set and ':vsplit printf(3)' work, there is no need to unlist them. --- runtime/ftplugin/man.vim | 1 - 1 file changed, 1 deletion(-) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 06b61bd8aa..08d5da0fe4 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -25,7 +25,6 @@ endif setlocal buftype=nofile setlocal noswapfile setlocal bufhidden=hide -setlocal nobuflisted setlocal nomodified setlocal readonly setlocal nomodifiable -- cgit