joom / latex-unicoder.vim

A plugin to type Unicode chars in Vim, using their LaTeX names.
90 stars 14 forks source link

Is there a way to avoid key bindings? #20

Closed mmngreco closed 2 years ago

mmngreco commented 4 years ago

When I add latex-unicoder to my init.vim I lost my desired behaviour for <C-l> shortcut. is there a way to avoid this?

I try adding:

" ========= latex unicoder ==========
let g:unicoder_cancel_normal = 1
let g:unicoder_cancel_insert = 1
let g:unicoder_cancel_visual = 1
nnoremap <F3> :call unicoder#start(0)<CR>
inoremap <F3> <Esc>:call unicoder#start(1)<CR>
vnoremap <F3> :<C-u>call unicoder#selection()<CR>

but not takes effect.

martinsifrar commented 3 years ago

Take a look at #8. The fix by @rperce was merged in #9 and currently works for me.

mmngreco commented 3 years ago

Nice, that's exactly what I'm looking for. I should have seen that issue before. Thanks!

shuber2 commented 2 years ago

@mmngreco You could close this issue, I guess.