commit bfa4ed3d5f0b614ed4cf863e5f2982418bfaefdd parent 37536fbd7964ae137871adb9060796b19cd11a93 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Thu, 12 Feb 2015 10:49:30 +0100 add latex unicode plugin Diffstat:
M | .vimrc | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/.vimrc b/.vimrc @@ -110,6 +110,9 @@ NeoBundle 'Shougo/vimproc.vim', { \ }, \ } +" insert unicode characters with latex code +NeoBundle 'joom/latex-unicoder.vim' + call neobundle#end() filetype plugin indent on @@ -432,3 +435,12 @@ augroup END let g:syntastic_error_symbol = 'e' let g:syntastic_warning_symbol = 'w' highlight clear SignColumn + +" LaTeX unicode symbols +let g:unicoder_cancel_normal = 1 +let g:unicoder_cancel_insert = 1 +let g:unicoder_cancel_visual = 1 +nnoremap <C-l> :call unicoder#start(0)<CR> +inoremap <C-l> <Esc>:call unicoder#start(1)<CR> +vnoremap <C-l> :<C-u>call unicoder#selection()<CR> +