From e12faa4bf2e044f0722e93848fa706ab4f21840d Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 20 Jul 2023 10:13:41 -0700 Subject: [PATCH] disabling f1 key in vim --- vim/.vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/.vimrc b/vim/.vimrc index 712637e..b5c728f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,6 @@ " ==================== Plugins ==================== call plug#begin() - " Git integration Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' @@ -193,6 +192,9 @@ map q: :q " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % +" Disable F1 key +nmap + " Go shortcuts just for .go files autocmd FileType go nmap r (go-run) autocmd FileType go nmap t (go-test)