diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-07 16:55:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 16:55:20 -0400 |
commit | b85bae4cac17258dcc73ad8a35a74a9c0935f2ed (patch) | |
tree | 6e4292b65922cb91688df78378da5567913ebf60 /runtime/ftplugin | |
parent | 64013a5debe7ae92c8044dfd18faf8f8385dd66d (diff) | |
parent | e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8 (diff) | |
download | rneovim-b85bae4cac17258dcc73ad8a35a74a9c0935f2ed.tar.gz rneovim-b85bae4cac17258dcc73ad8a35a74a9c0935f2ed.tar.bz2 rneovim-b85bae4cac17258dcc73ad8a35a74a9c0935f2ed.zip |
Merge #5168 from nhooyr/man-rewrite
man.vim: default mapping and general improvements
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/man.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index a45a380eb2..08d5da0fe4 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -17,15 +17,14 @@ 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 setlocal noswapfile setlocal bufhidden=hide -setlocal nobuflisted setlocal nomodified setlocal readonly setlocal nomodifiable |