Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Formally deprecate [o and ]o

  • Loading branch information...
commit fdb99bcbfc7dbd137d9b6a1aeae160d734a1acd6 1 parent 44e06d4
@tpope authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 plugin/unimpaired.vim
View
10 plugin/unimpaired.vim
@@ -88,13 +88,13 @@ endfunction
nnoremap <silent> <Plug>unimpairedDirectoryNext :<C-U>edit <C-R>=<SID>fnameescape(<SID>FileByOffset(v:count1))<CR><CR>
nnoremap <silent> <Plug>unimpairedDirectoryPrevious :<C-U>edit <C-R>=<SID>fnameescape(<SID>FileByOffset(-v:count1))<CR><CR>
-
-nmap <Plug>unimpairedONext <Plug>unimpairedDirectoryNext
-nmap <Plug>unimpairedOPrevious <Plug>unimpairedDirectoryPrevious
nmap ]f <Plug>unimpairedDirectoryNext
nmap [f <Plug>unimpairedDirectoryPrevious
-nmap ]o <Plug>unimpairedDirectoryNext
-nmap [o <Plug>unimpairedDirectoryPrevious
+
+nmap <silent> <Plug>unimpairedONext <Plug>unimpairedDirectoryNext:echohl WarningMSG<Bar>echo "]o is deprecated. Use ]f"<Bar>echohl NONE<CR>
+nmap <silent> <Plug>unimpairedOPrevious <Plug>unimpairedDirectoryPrevious:echohl WarningMSG<Bar>echo "[o is deprecated. Use [f"<Bar>echohl NONE<CR>
+nmap ]o <Plug>unimpairedONext
+nmap [o <Plug>unimpairedOPrevious
" }}}1
" Diff {{{1
Please sign in to comment.
Something went wrong with that request. Please try again.