Added better digraphs

This commit is contained in:
Veit Heller
2014-09-16 00:01:38 +02:00
parent 98be3e30a2
commit 8fc2da1cc9

22
vimrc
View File

@@ -196,3 +196,25 @@ function! HLNext(blinktime)
exec 'sleep ' . float2nr(a:blinktime / (2*blinks) * 1000) . 'm' exec 'sleep ' . float2nr(a:blinktime / (2*blinks) * 1000) . 'm'
endfor endfor
endfunction endfunction
" VimScript Highlighting is so fucking distracting
augroup VimNoHighlight
autocmd!
autocmd BufEnter .vimrc syntax off
augroup END
augroup NoEdits
autocmd!
autocmd SwapExists * let v:swapchoice = 'o'
autocmd SwapExists * echomsg ErrorMsg
autocmd SwapExists * echo 'Duplicate edit session (you are now editing readonly)'
autocmd SwapExists * echohl None
augroup END
inoremap <expr> <C-K> ShowDigraphs
function! ShowDigraphs()
digraphs
call getchar()
return "\<C-K>"
endfunction