From 069cd99fe353ba09ec78110e1996dfbac1edbb04 Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 18 Feb 2022 20:57:22 -0500 Subject: .vimrc: Remove unused mappings --- .vimrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 6ed651d..1002ad9 100644 --- a/.vimrc +++ b/.vimrc @@ -98,14 +98,11 @@ endfunction nmap ev :tabedit ~/.vimrc nmap eh :tabedit ~/.vim/post-save-hook -" Git, tags, and help commands -nmap fgc :Commits -nmap flc :Commands - " Show key mappings nmap mn :nmap nmap mv :vmap nmap mi :imap +nmap mc :command " Search documentation under cursor nmap dm :exe ':term ++close fzf-man ' . expand('') @@ -174,7 +171,6 @@ vnoremap cf \| !fold -s -w80 noremap cs :w !cat > $HOME/.cache/vim-scratchpad:e +setf\ $HOME/.cache/vim-scratchpad " File open mappings -let g:fzf_layout = { 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 } } nmap :Buffers nmap ov :Lines nmap ob :BLines @@ -230,6 +226,8 @@ let g:nnn#set_default_mappings = 0 " Disable default mappings. let g:nnn#layout = 'new' " Opens the nnn window in a split. let g:nnn#layout = { 'left': '~20%' } " Left 20% of the window. +let g:fzf_layout = { 'window': { 'xoffset': 0, 'yoffset': 1, 'width': 1, 'height': 0.5 } } " Set fzf window layout + "-------------------Scripts-------------------" -- cgit v1.2.3