From d06770efeff8b9e35d74895fa978fa7de1348eb3 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 19 Oct 2020 22:59:27 +0800 Subject: add in mappings that use command where appropriate --- plugins.vim | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins.vim') diff --git a/plugins.vim b/plugins.vim index 20c52a3..eb95718 100644 --- a/plugins.vim +++ b/plugins.vim @@ -469,11 +469,11 @@ let g:Lf_ShortcutF = '' let g:Lf_ShortcutB = '' " Search files in popup window -nnoremap f :Leaderf file --popup +nnoremap f :Leaderf file --popup " Search vim help files -nnoremap h :Leaderf help --popup +nnoremap h :Leaderf help --popup " Search tags in current buffer -nnoremap t :Leaderf bufTag --popup +nnoremap t :Leaderf bufTag --popup "}} "{{ URL related @@ -491,7 +491,7 @@ endif "{{ Navigation and tags """"""""""""""""""""""""""" tagbar settings """""""""""""""""""""""""""""""""" " Shortcut to toggle tagbar window -" nnoremap t :TagbarToggle +" nnoremap t :TagbarToggle " Add support for markdown files in tagbar. if g:is_win @@ -528,7 +528,7 @@ let g:vista_echo_cursor = 0 " Stay in current window when vista window is opened let g:vista_stay_on_open = 0 -nnoremap t :Vista!! +nnoremap t :Vista!! function! s:close_vista_win() abort if winnr('$') == 1 && getbufvar(bufnr(), '&filetype') ==# 'vista' @@ -659,8 +659,8 @@ if g:is_win || g:is_mac let g:mkdp_auto_close = 0 " Shortcuts to start and stop markdown previewing - nnoremap :MarkdownPreview - nnoremap :MarkdownPreviewStop + nnoremap :MarkdownPreview + nnoremap :MarkdownPreviewStop endif """"""""""""""""""""""""vim-markdownfootnotes settings"""""""""""""""""""""""" @@ -876,6 +876,6 @@ if exists('g:started_by_firenvim') && g:started_by_firenvim endif """"""""""""""""""""""""""""""nvim-gdb settings"""""""""""""""""""""""""""""" -nnoremap dp :GdbStartPDB python -m pdb % +nnoremap dp :GdbStartPDB python -m pdb % "}} "} -- cgit v1.2.3