Thread: [Vim-latex-devel] mapping of " to `` in bib file
Brought to you by:
srinathava,
tmaas
From: Rudra B. <bnr...@li...> - 2015-03-05 11:53:19
|
Hi, The very useful "<foo>" -> ``<foo>" map in .tex file also affects my .bib file. For me, hence, it is impossible to use " ", which always mapped to `` ", which I don't want. Is it possible to train vim-latex not to use this (or any other mapping) for .bib file? |
From: Alfredo C. <alf...@gm...> - 2015-03-05 15:41:32
|
Well, you can go around this by "set paste", and all that stuff will be disabled. Alfredo Canziani On Thu, Mar 5, 2015 at 6:37 AM, Rudra Banerjee <bnr...@li...> wrote: > Hi, > The very useful "<foo>" -> ``<foo>" map in .tex file also affects > my .bib file. For me, hence, it is impossible to use " ", which always > mapped to `` ", which I don't want. > > Is it possible to train vim-latex not to use this (or any other mapping) > for .bib file? > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > |
From: Laszlo F. <per...@ce...> - 2015-03-05 19:01:28
|
I cannot reproduce the problem. On my system vimlatex does not seem to be on for .bib files. "set paste" has some unpleasant side effects. On Thu, 05 Mar 2015 10:41:03 -0500, Alfredo Canziani <alf...@gm...> wrote: > Well, you can go around this by "set paste", and all that stuff will be > disabled. > > Alfredo Canziani > > On Thu, Mar 5, 2015 at 6:37 AM, Rudra Banerjee <bnr...@li...> > wrote: > >> Hi, >> The very useful "<foo>" -> ``<foo>" map in .tex file also affects >> my .bib file. For me, hence, it is impossible to use " ", which always >> mapped to `` ", which I don't want. >> >> Is it possible to train vim-latex not to use this (or any other mapping) >> for .bib file? >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for >> all >> things parallel software development, from weekly thought leadership >> blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Vim-latex-devel mailing list >> Vim...@li... >> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel |
From: Rudra B. <bnr...@li...> - 2015-03-05 19:16:58
|
<p dir="ltr">Can a user set vim-latex off for bibtex? </p> <br/><div class="cm_quote" style=" color: #787878">On Thu, Mar 05, 2015 at 7:01 pm, Laszlo Frazer <<a href="mailto:per...@ce...">per...@ce...</a>> wrote:</div><br><div id="oldcontent" style="background: rgb(255, 255, 255);"><blockquote style=""><p dir="ltr">I cannot reproduce the problem. On my system vimlatex does not seem to be <br> on for .bib files. "set paste" has some unpleasant side effects. <br> <br> On Thu, 05 Mar 2015 10:41:03 -0500, Alfredo Canziani <br> <alf...@gm...> wrote: <br> <br> > Well, you can go around this by "set paste", and all that stuff will be <br> > disabled. <br> > <br> > Alfredo Canziani <br> > <br> > On Thu, Mar 5, 2015 at 6:37 AM, Rudra Banerjee <bnr...@li...> <br> > wrote: <br> > <br> >> Hi, <br> >> The very useful "<foo>" -> ``<foo>" map in .tex file also affects <br> >> my .bib file. For me, hence, it is impossible to use " ", which always <br> >> mapped to `` ", which I don't want. <br> >> <br> >> Is it possible to train vim-latex not to use this (or any other mapping) <br> >> for .bib file? <br> >> <br> >> <br> >> <br> >> ------------------------------------------------------------------------------ <br> >> Dive into the World of Parallel Programming The Go Parallel Website, <br> >> sponsored <br> >> by Intel and developed in partnership with Slashdot Media, is your hub <br> >> for <br> >> all <br> >> things parallel software development, from weekly thought leadership <br> >> blogs <br> >> to <br> >> news, videos, case studies, tutorials and more. Take a look and join the <br> >> conversation now. http://goparallel.sourceforge.net/ <br> >> _______________________________________________ <br> >> Vim-latex-devel mailing list <br> >> Vim...@li... <br> >> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel <br> <br> ------------------------------------------------------------------------------ <br> Dive into the World of Parallel Programming The Go Parallel Website, sponsored <br> by Intel and developed in partnership with Slashdot Media, is your hub for all <br> things parallel software development, from weekly thought leadership blogs to <br> news, videos, case studies, tutorials and more. Take a look and join the <br> conversation now. http://goparallel.sourceforge.net/ <br> _______________________________________________ <br> Vim-latex-devel mailing list <br> Vim...@li... <br> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel <br> </p> </blockquote></div> |
From: Alfredo C. <alf...@gm...> - 2015-03-05 20:45:22
|
Actually, vim-latex interferes with my lua scripts as well. When I press <Ctrl>-<J> for moving to a lower split view, it goes into Edit mode (like for jumping into the next <++>). It would be very nice being able to disable vim-latex for stuff that is not .tex. Any idea of how this can be done? Alfredo Canziani On Thu, Mar 5, 2015 at 2:16 PM, Rudra Banerjee <bnr...@li...> wrote: > Can a user set vim-latex off for bibtex? > > On Thu, Mar 05, 2015 at 7:01 pm, Laszlo Frazer <per...@ce...> > wrote: > > I cannot reproduce the problem. On my system vimlatex does not seem to > be > on for .bib files. "set paste" has some unpleasant side effects. > > On Thu, 05 Mar 2015 10:41:03 -0500, Alfredo Canziani > <alf...@gm...> wrote: > > > Well, you can go around this by "set paste", and all that stuff will be > > disabled. > > > > Alfredo Canziani > > > > On Thu, Mar 5, 2015 at 6:37 AM, Rudra Banerjee <bnr...@li...> > > wrote: > > > >> Hi, > >> The very useful "<foo>" -> ``<foo>" map in .tex file also affects > >> my .bib file. For me, hence, it is impossible to use " ", which always > >> mapped to `` ", which I don't want. > >> > >> Is it possible to train vim-latex not to use this (or any other > mapping) > >> for .bib file? > >> > >> > >> > >> > ------------------------------------------------------------------------------ > > >> Dive into the World of Parallel Programming The Go Parallel Website, > >> sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub > >> for > >> all > >> things parallel software development, from weekly thought leadership > >> blogs > >> to > >> news, videos, case studies, tutorials and more. Take a look and join > the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Vim-latex-devel mailing list > >> Vim...@li... > >> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > |
From: Till M. <ope...@ti...> - 2015-03-15 07:34:47
|
On Thu, Mar 05, 2015 at 03:44:55PM -0500, Alfredo Canziani wrote: > Actually, vim-latex interferes with my lua scripts as well. > When I press <Ctrl>-<J> for moving to a lower split view, it goes into Edit > mode (like for jumping into the next <++>). > It would be very nice being able to disable vim-latex for stuff that is not > .tex. > Any idea of how this can be done? It should only be active when the filetype is tex. Can explain how you set it up so it is possible to see what is different in your setup? Regards Till |
From: Alfredo C. <alf...@gm...> - 2015-03-15 22:24:55
|
I copy and paste what is written in the help file ( http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html ) What actually leave me perplex is the "filetype plugin on". I was expecting something like "tex plugin on". " LaTeX plug-in """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " REQUIRED: This makes vim invoke Latex-Suite when you open a tex file. filetype plugin on " IMPORTANT: grep will sometimes skip displaying the file name if you " search in a singe file. This will confuse Latex-Suite. Set your grep " program to always generate a file-name. set grepprg=grep\ -nH\ $* " OPTIONAL: This enables automatic indentation as you type. filetype indent on " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to " 'plaintex' instead of 'tex', which results in vim-latex not being loaded. " The following changes the default filetype back to 'tex': let g:tex_flavor='latex' let g:Tex_TreatMacViewerAsUNIX = 1 let g:Tex_ExecuteUNIXViewerInForeground = 1 let g:Tex_ViewRule_ps = 'open -a Preview' let g:Tex_ViewRule_pdf = 'open -a Preview' "let g:Tex_ViewRule_ps = 'open -a Skim' "let g:Tex_ViewRule_pdf = 'open -a /Applications/Skim.app' let g:Tex_MultipleCompileFormats = 'pdf' helptags ~/.vim/doc Alfredo Canziani On Sun, Mar 15, 2015 at 3:10 AM, Till Maas <ope...@ti...> wrote: > On Thu, Mar 05, 2015 at 03:44:55PM -0500, Alfredo Canziani wrote: > > Actually, vim-latex interferes with my lua scripts as well. > > When I press <Ctrl>-<J> for moving to a lower split view, it goes into > Edit > > mode (like for jumping into the next <++>). > > It would be very nice being able to disable vim-latex for stuff that is > not > > .tex. > > Any idea of how this can be done? > > It should only be active when the filetype is tex. Can explain how you > set it up so it is possible to see what is different in your setup? > > Regards > Till > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > |
From: Ruthard B. <rut...@we...> - 2015-03-16 07:05:05
Attachments:
signature.asc
|
>== Auszüge aus der Nachricht von Alfredo Canziani vom 2015-03-15 18:24: > What actually leave me perplex is the "filetype plugin on". I was expecting > something like "tex plugin on". `filetype plugin on` tells vim to detect the file type and load the scripts located in the ftplugin and after/ftplugin directories named TYPE.vim or TYPE_someText.vim, where TYPE is the type of the file. It is not specific to any file type, you are free to add any customization for any file type you want. Customizations should be put in the after/ftplugin directory thus shadowing the original definitions in ftplugin and avoiding being lost on updates of the original plugins. Regards, Ruthard -- Emails bitte verschlüsseln und signieren. Meine PGP-Id: 0xAC5AC6C2 |
From: Alfredo C. <alf...@gm...> - 2015-03-16 17:56:36
|
Hum... I'm not very sure I got it. I've actually a vanilla installation of Vim with almost no configuration. I've copied all files in the correct place, but still, vim-latex gets activated for every file type. I don't think I want to customise... I simply want it to work as expected. Perhaps I'm missing something... Could you help me better understand? Alfredo Canziani On Mon, Mar 16, 2015 at 3:04 AM, Ruthard Baudach <rut...@we...> wrote: > >== Auszüge aus der Nachricht von Alfredo Canziani vom 2015-03-15 18:24: > > What actually leave me perplex is the "filetype plugin on". I was > expecting > > something like "tex plugin on". > > `filetype plugin on` tells vim to detect the file type and load the scripts > located in the ftplugin and after/ftplugin directories named TYPE.vim or > TYPE_someText.vim, where TYPE is the type of the file. > > It is not specific to any file type, you are free to add any > customization for any file type you want. Customizations should be put > in the after/ftplugin directory thus shadowing the original definitions > in ftplugin and avoiding being lost on updates of the original plugins. > > Regards, > > Ruthard > > -- > > Emails bitte verschlüsseln und signieren. > Meine PGP-Id: 0xAC5AC6C2 > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > |