Added better digraphs
This commit is contained in:
22
vimrc
22
vimrc
@@ -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
|
||||||
|
Reference in New Issue
Block a user