Add vim-latex-disable-some-shortcuts.patch
parent
0a493e4fa0
commit
bb74540285
|
@ -4,3 +4,11 @@ Package: dev-libs/openssl
|
|||
Purpose: Adds "-starttls sieve" support to openssl -s_client
|
||||
How to install: Copy sieve-starttls.patch to
|
||||
/etc/portage/patches/dev-libs/openssl/sieve-starttls.patch
|
||||
|
||||
vim-latex-disable-some-shortcuts.patch
|
||||
=====================================
|
||||
Package: app-vim/vim-latex
|
||||
Purpose: Disables shortcuts (e.g. ==) which can interfere with normal typing
|
||||
How to install: Copy vim-latex-disable-some-shortcuts.patch to
|
||||
/etc/portage/patches/app-vim/vim-latex/vim-latex-disable-some-shortcuts.patch
|
||||
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
--- ftplugin/latex-suite/main.vim 2014-04-02 14:19:08.427465993 +0200
|
||||
+++ ftplugin/latex-suite/main.vim 2014-04-02 14:19:32.423985484 +0200
|
||||
@@ -46,19 +46,19 @@
|
||||
let s:doneMappings = 1
|
||||
" short forms for latex formatting and math elements. {{{
|
||||
" taken from auctex.vim or miktexmacros.vim
|
||||
- call IMAP ('__', '_{<++>}<++>', "tex")
|
||||
- call IMAP ('()', '(<++>)<++>', "tex")
|
||||
- call IMAP ('[]', '[<++>]<++>', "tex")
|
||||
- call IMAP ('{}', '{<++>}<++>', "tex")
|
||||
- call IMAP ('^^', '^{<++>}<++>', "tex")
|
||||
- call IMAP ('$$', '$<++>$<++>', "tex")
|
||||
- call IMAP ('==', '&=& ', "tex")
|
||||
- call IMAP ('~~', '&\approx& ', "tex")
|
||||
- call IMAP ('=~', '\approx', "tex")
|
||||
- call IMAP ('::', '\dots', "tex")
|
||||
- call IMAP ('((', '\left( <++> \right)<++>', "tex")
|
||||
- call IMAP ('[[', '\left[ <++> \right]<++>', "tex")
|
||||
- call IMAP ('{{', '\left\{ <++> \right\}<++>', "tex")
|
||||
+ "call IMAP ('__', '_{<++>}<++>', "tex")
|
||||
+ "call IMAP ('()', '(<++>)<++>', "tex")
|
||||
+ "call IMAP ('[]', '[<++>]<++>', "tex")
|
||||
+ "call IMAP ('{}', '{<++>}<++>', "tex")
|
||||
+ "call IMAP ('^^', '^{<++>}<++>', "tex")
|
||||
+ "call IMAP ('$$', '$<++>$<++>', "tex")
|
||||
+ "call IMAP ('==', '&=& ', "tex")
|
||||
+ "call IMAP ('~~', '&\approx& ', "tex")
|
||||
+ "call IMAP ('=~', '\approx', "tex")
|
||||
+ "call IMAP ('::', '\dots', "tex")
|
||||
+ "call IMAP ('((', '\left( <++> \right)<++>', "tex")
|
||||
+ "call IMAP ('[[', '\left[ <++> \right]<++>', "tex")
|
||||
+ "call IMAP ('{{', '\left\{ <++> \right\}<++>', "tex")
|
||||
call IMAP (g:Tex_Leader.'^', '\hat{<++>}<++>', "tex")
|
||||
call IMAP (g:Tex_Leader.'_', '\bar{<++>}<++>', "tex")
|
||||
call IMAP (g:Tex_Leader.'6', '\partial', "tex")
|
Loading…
Reference in New Issue