Skip to content

Commit 40ea24a

Browse files
committed
show deprecation warning for Np
1 parent 74e2f39 commit 40ea24a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/nnn.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ if g:nnn#replace_netrw
5656
endif
5757

5858
command! -bar -nargs=? -complete=dir NnnPicker call nnn#pick(<f-args>)
59-
command! -bar -nargs=? -complete=dir Np call nnn#pick(<f-args>)
59+
command! -bar -nargs=? -complete=dir Np echohl WarningMsg | echom 'Np is deprecated in favor of NnnPicker' | echohl None | call nnn#pick(<f-args>)
6060

6161
" vim: set sts=4 sw=4 ts=4 et :

0 commit comments

Comments
 (0)