Commit 8c81c520 authored by Chris's avatar Chris

Silence the <F9> and <F10> hotkeys in vim

parent 710e0287
......@@ -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&
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment