Permalink
Browse files

Formally deprecate [o and ]o

  • Loading branch information...
tpope committed Jan 13, 2013
1 parent 44e06d4 commit fdb99bcbfc7dbd137d9b6a1aeae160d734a1acd6
Showing with 5 additions and 5 deletions.
  1. +5 −5 plugin/unimpaired.vim
View
@@ -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

0 comments on commit fdb99bc

Please sign in to comment.