diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index f789762..6a72998 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -124,7 +124,6 @@ func! s:view_changelog() setl buftype=nofile setl noswapfile setl ro noma - setfiletype vundlelog wincmd P | wincmd H endf @@ -197,25 +196,25 @@ func! vundle#scripts#view(title, headers, results) com! -buffer -nargs=0 VundleChangelog call s:view_changelog() - nnoremap q :silent bd! - nnoremap D :exec 'Delete'.getline('.') + nnoremap q :silent bd! + nnoremap D :exec 'Delete'.getline('.') - nnoremap add :exec 'Install'.getline('.') - nnoremap add! :exec 'Install'.substitute(getline('.'), '^Plugin ', 'Plugin! ', '') + nnoremap add :exec 'Install'.getline('.') + nnoremap add! :exec 'Install'.substitute(getline('.'), '^Plugin ', 'Plugin! ', '') - nnoremap i :exec 'InstallAndRequire'.getline('.') - nnoremap I :exec 'InstallAndRequire'.substitute(getline('.'), '^Plugin ', 'Plugin! ', '') + nnoremap i :exec 'InstallAndRequire'.getline('.') + nnoremap I :exec 'InstallAndRequire'.substitute(getline('.'), '^Plugin ', 'Plugin! ', '') - nnoremap l :VundleLog - nnoremap u :VundleChangelog - nnoremap h :h vundle - nnoremap ? :h vundle + nnoremap l :VundleLog + nnoremap u :VundleChangelog + nnoremap h :h vundle + nnoremap ? :norm h - nnoremap c :PluginClean - nnoremap C :PluginClean! + nnoremap c :PluginClean + nnoremap C :PluginClean! nnoremap s :PluginSearch - nnoremap R :call vundle#scripts#reload() + nnoremap R :call vundle#scripts#reload() " goto first line after headers exec ':'.(len(a:headers) + 1) diff --git a/ftplugin/vundlelog.vim b/ftplugin/vundlelog.vim deleted file mode 100644 index 0f338eb..0000000 --- a/ftplugin/vundlelog.vim +++ /dev/null @@ -1,15 +0,0 @@ -" --------------------------------------------------------------------------- -" Standard ftplugin boilerplate; see ':help ftplugin'. -" --------------------------------------------------------------------------- -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - - -" --------------------------------------------------------------------------- -" Settings for the Vundle update log buffer. -" --------------------------------------------------------------------------- -setlocal textwidth=0 -setlocal nowrap -setlocal noswapfile diff --git a/syntax/vundlelog.vim b/syntax/vundlelog.vim deleted file mode 100644 index 64e81e3..0000000 --- a/syntax/vundlelog.vim +++ /dev/null @@ -1,36 +0,0 @@ -" --------------------------------------------------------------------------- -" Syntax highlighting for the line which identifies the plugin. -" --------------------------------------------------------------------------- -syntax match VundlePluginName '\v(^Updated Plugin: )@<=.*$' -highlight link VundlePluginName Keyword - -" --------------------------------------------------------------------------- -" Syntax highlighting for the 'compare at' line of each plugin. -" --------------------------------------------------------------------------- -syntax region VundleCompareLine start='\v^Compare at: https:' end='\v\n' - \ contains=VundleCompareUrl -syntax match VundleCompareUrl '\vhttps:\S+' -highlight link VundleCompareLine Comment -highlight link VundleCompareUrl Underlined - -" --------------------------------------------------------------------------- -" Syntax highlighting for individual commits. -" --------------------------------------------------------------------------- -" The main commit line. -" Note that this regex is intimately related to the one for VundleCommitTree, -" and the two should be changed in sync. -syntax match VundleCommitLine '\v(^ [|*]( *[\\|/\*])* )@<=[^*|].*$' - \ contains=VundleCommitMerge,VundleCommitUser,VundleCommitTime -highlight link VundleCommitLine String -" Sub-regions inside the commit message. -syntax match VundleCommitMerge '\v Merge pull request #\d+.*' -syntax match VundleCommitUser '\v( )@<=\S+( \S+)*(, \d+ \w+ ago$)@=' -syntax match VundleCommitTime '\v(, )@<=\d+ \w+ ago$' -highlight link VundleCommitMerge Ignore -highlight link VundleCommitUser Identifier -highlight link VundleCommitTime Comment -" The git history DAG markers are outside of the main commit line region. -" Note that this regex is intimately related to the one for VundleCommitLine, -" and the two should be changed in sync. -syntax match VundleCommitTree '\v(^ )@<=[|*]( *[\\|/\*])*' -highlight link VundleCommitTree Label