From 8c81c520c3409fcfe08a912adc6cbb4e6e9fa174 Mon Sep 17 00:00:00 2001
From: Chris Coley <chris@codingallnight.com>
Date: Wed, 16 Oct 2019 17:34:53 -0700
Subject: [PATCH] Silence the <F9> and <F10> hotkeys in vim

---
 vimrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vimrc b/vimrc
index d28ad22..5666f09 100644
--- a/vimrc
+++ b/vimrc
@@ -59,12 +59,12 @@ cmap w!! w !sudo tee > /dev/null %
 " Show invisible characters. Toggle with <F10>
 set nolist
 set listchars=tab:\|·,trail:·,nbsp:¤,extends:>,precedes:<,eol:¬
-nnoremap <F10> :set list!<CR>
+nnoremap <silent> <F10> :set list!<CR>
 
 
 " Put a vertical ruler in columns 81 and 121. Toggle with <F9>
 highlight ColorColumn ctermbg=magenta
-nnoremap <F9> :call ToggleColorColumn()<CR>
+nnoremap <silent> <F9> :call ToggleColorColumn()<CR>
 function! ToggleColorColumn()
     if &colorcolumn
         setlocal colorcolumn&
-- 
GitLab