aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-16 23:05:01 +0800
committerjdhao <jdhao@hotmail.com>2021-10-16 23:05:01 +0800
commita8ae1c7fbe460361a7122911897e3f4efd733a29 (patch)
treed443978d5a80daad2342a42aa2a62f9d5d08f0dc
parent28a61a6bc7ad1991abdaaaef4c5dd45bd2166250 (diff)
Add warning for deprecated mappings
-rw-r--r--core/plugins.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index a73cf37..6ab7535 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -119,9 +119,11 @@ nnoremap <silent> <leader>fg :<C-U>Leaderf rg --popup<CR>
" Search vim help files
nnoremap <silent> <leader>fh :<C-U>Leaderf help --popup<CR>
+nnoremap <silent> <leader>h :<C-U>echoerr "Use \<lt>leader>fh instead!"<CR>
" Search tags in current buffer
nnoremap <silent> <leader>ft :<C-U>Leaderf bufTag --popup<CR>
+nnoremap <silent> <leader>t :<C-U>echoerr "Use \<lt>leader>ft instead!"<CR>
" Switch buffers
nnoremap <silent> <leader>fb :<C-U>Leaderf buffer --popup<CR>