vim:keys: VMap <leader>\_ to escape underscores
This commit is contained in:
@@ -399,3 +399,6 @@ noremap <leader>mac <Cmd>call <sid>macro_type()<CR>i
|
|||||||
augroup macro_type
|
augroup macro_type
|
||||||
au!
|
au!
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Escape underscores (useful when writing LaTeX)
|
||||||
|
vmap <leader>\_ <Cmd>s/\v(^<Bar>[^\\])\zs\ze_/\\/g<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user