Thread: [Vim-latex-devel] Changes for vim7
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-04-06 07:40:56
|
Hi guys, I finally completed my thesis (yay!) and have a little more time than usual to devote to vim-latex. So I just wanted to ask people for their opinions on what might be a good thing to do... There are potentially a number of things I can think of: 1. A complete re-arrangement of vim-latex. The code is somewhat messy right now. I am afraid that it will be impossible for anyone else to take over even if they wanted to if I have to stop working on vim-latex sometime. If you remember, I had to stop working on vim-latex for almost 6-7 months because of various research deadlines. It would be nice to have at least one more person who understands things enough and is enthusiastic enough to contribute occasional bug-fixes. 2. Adapt vim-latex to vim7. Vim7 introduces the concept of the autoload directory which has the potential for making vim-latex more modular and also load faster at the same time. 3. Introduce some cool new features, or make some presently implemented feature more usable. I really cannot think of too many at this point. Any other thoughts/ideas? I'm also open to general usability complaints. One more thing which would be invaluable for me is if I can get an idea of what portions of vim-latex are actually being actively used. I know that I personally only use maybe 40% of vim-latex's code. Srinath |
From: Andreas W. <A.W...@st...> - 2006-04-06 07:50:28
|
Hello Srinath, hello list, * Srinath Avadhanula wrote on Apr/06/2006: > I finally completed my thesis (yay!) Congratulations!! -- Why is the alphabet in that order? Is it because of that song? -- My Public PGP Keys: 1024 Bit DH/DSS: 0x869F81BA 768 Bit RSA: 0x1AD97BA5 |
From: Fabian B. <f.b...@gm...> - 2006-04-06 09:18:34
|
Hi Srinath, * On 06 Apr 2006 * Srinath Avadhanula wrote: > Hi guys, > > I finally completed my thesis (yay!) and have a little more time than usual > to devote to vim-latex. So I just wanted to ask people for their opinions > on what might be a good thing to do... Congratulations for your thesis! > > There are potentially a number of things I can think of: > > 1. A complete re-arrangement of vim-latex. The code is somewhat messy right > now. I am afraid that it will be impossible for anyone else to take over > even if they wanted to if I have to stop working on vim-latex sometime. > If you remember, I had to stop working on vim-latex for almost 6-7 > months because of various research deadlines. It would be nice to have > at least one more person who understands things enough and is > enthusiastic enough to contribute occasional bug-fixes. Would be nice; not for me, because I do not understand enough of it, but for the future developing... > > 2. Adapt vim-latex to vim7. Vim7 introduces the concept of the autoload > directory which has the potential for making vim-latex more modular and > also load faster at the same time. > > 3. Introduce some cool new features, or make some presently implemented > feature more usable. I really cannot think of too many at this point. One nice feature would be to create automatically the label for sections, figures and tables!? Greetings! Fabian |
From: Vaidotas Z. <ze...@gm...> - 2006-04-06 12:04:53
|
Hi, On 4/6/06, Srinath Avadhanula <sri...@gm...> wrote: > Hi guys, > > I finally completed my thesis (yay!) and have a little more time than usu= al > to devote to vim-latex. Congratulations! > > Any other thoughts/ideas? I'm also open to general usability complaints. > One more thing which would be invaluable for me is if I can get an idea o= f > what portions of vim-latex are actually being actively used. I know that = I > personally only use maybe 40% of vim-latex's code. I myself use extensively the code from brackets.vim, i.e. Alt+l to get \label, Alt+b to enclose previous letter in \mathbf, with my additions for \mathbb, and few more more used commands. Also I use shift+f1 to get align environment, `+something to get greek letters or some other stuff, and also some of the EEN type of bindings. Ocasionally I use F9, not a lot, but this probably will change, when I'll start to write my own thesis:) Also I use my custom shortcuts for compiling and viewing Alt+1 for dvi+ps+pdf, Alt+2 for dvi, Alt+7 for viewing dvi, Alt+8 for viewing postscript and Alt+9 for viewing pdf. I posted these customisations to list some time ago. In general I'm very happy with vim-latex, and I do not have any show-stopper or annoying problems. What I would like to improve a bit though is a following: 1. (( always gives \left( \right), since I frequently need parenthesis within parenthesis, this sometimes is annoying. 2. \left( \right) parenthesis are too big, so it would be nice to have some automatisation with \big, \bigg and other similar style parenthesis. I'm thinking something like `(b expanding to \big( \big) or something similar. 3. It would be good to have one place to safely put simple customisations of vim-latex, like shortcuts, or some code which is made using only functions of vim-latex. First two I think is easy to do, and probably I can do them myself, the 3 probably can not be done at all. Vaidotas Zemlys |
From: Javier R. <jer...@gm...> - 2006-04-08 13:49:07
|
El Jueves 06 Abril 2006 02:40, Srinath Avadhanula escribi=F3: > Hi guys, > 3. Introduce some cool new features, or make some presently implemented > feature more usable. I really cannot think of too many at this point. =2DThe autoclean feature, to delete auxiliar files on leaving vim. If possi= ble=20 it should let the user define its own set=20 of extensions to match the files to be deleted =2DDoes actually folding has a maximum nesting level? can I configure it us= ing=20 vim's mechanism? I haven't tried, but i'd like to be able to have, e.g., at= =20 most 3 folding levels? I take the chance to ask: the folding gets updated a= s=20 I write? as I save? if I add lines, do I have to do \rf every time? =2Da mechanism to set options of each document, e.g., a commented line on t= op of=20 the file which allows the user to set the default compiler type, the=20 dependency chain, perhaps even the command to be used > Any other thoughts/ideas? I'm also open to general usability complaints. > One more thing which would be invaluable for me is if I can get an idea of > what portions of vim-latex are actually being actively used. I know that I > personally only use maybe 40% of vim-latex's code. Let's see, I use: =2DF5 and F7 a lot, with personalized expansions for environments like fram= e or=20 figure =2DF9 (bib and reference completion) =2Dselect visually, and then enclose in a command or environment =2Dchange the environment/command I'm within =2DFolding!!! =2Dthe expansions as SSE, EFI, etc =2Docasionally, the expansions as `8, `6 > Srinath > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel =2D-=20 Javier Rojas GPG key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA1C57061 |
From: Andreas W. <A.W...@st...> - 2006-04-21 14:58:10
|
Hello Srinath, hello list, it took me some time and I still cannot be as elaborate as I would have liked to be, but anyway, here goes: * Srinath Avadhanula wrote on Apr/06/2006: > There are potentially a number of things I can think of: > 2. Adapt vim-latex to vim7. Vim7 introduces the concept of the autoload > directory which has the potential for making vim-latex more modular and > also load faster at the same time. I don't think speeding up the loading of vim-LaTeX should be of great priority. After all, the main delay happens when you load a tex/bib file, and not when you actually work with it. As for other advantages of vim7, I can't tell. I have dl'd it, but not yet checked it out. > 3. Introduce some cool new features, or make some presently > implemented feature more usable. I really cannot think of too many at > this point. One feature which could be imroved upon, IMHO, would be handling of packages. I have recently mailed about defining which options are possible for commands that new packages bring with them (like you can define which options they accept with \usepackage[x]{y}). Another thing would be auto-navigating to the correct place and handling necessary square brackets ('[', ']') correctly when the user selects among the package-loading options, so that one can select package options no matter where one is in the document. OTOH, selecting package is probably not something that needs to be done frequently during normal work, so it might not be needed. > Any other thoughts/ideas? I'm also open to general usability complaints. > One more thing which would be invaluable for me is if I can get an idea of > what portions of vim-latex are actually being actively used. I know that I > personally only use maybe 40% of vim-latex's code. Here is a bit about what I am using mostly, then. It's probably not even 40%... I am using (vim-)LaTeX for my studies in the humanities, and I don't have very much use for maths, figures, tables, pstricks and the like -- wich might be not very representative. What I am using mostly is this: FEM, FIT (and the corresponding `em and `it), EQN, EQE. I have made mappings to insert a footnote and footcite (see below) on EFN and EFC, and I am using these extensively, too. Also, I am trying to get used to using F5, F7 (how many entries can one have there?) and most importantly F9 (both bib and reference completion) more regularly. - I often need \frqq{} as opening and \flqq{} as closing quotes, so I have mapped these to `CC and `CT respectively and additionally I have defined Tex_Env_citation accordingly and added it to Tex_HotKeyMappings, so I could quickly insert them with Shift-F1. Only recently I have found out that by now it's working fine when I just define them as Tex_SmartQuoteOpen and -Close in my ngerman package file, therefore I now have this in my ngerman package file and do hardly need the other ways anymore (although typing `CC and `CT is happening pretty automatically now): let b:Tex_SmartQuoteOpen = "\\frqq\{\}" let b:Tex_SmartQuoteClose = "\\flqq\{\}" - I often need jurabib's (http://www.jurabib.org) \footcite and have mapped it to EFC. (I have also defined a Tex_Env_Footcite.) (Unfortunately the mapping doesn't even work when I put it in vimfiles/after/ftplugin/tex.vim, so I have to manually re-enter it after opening my tex file. Luckily vim has a command history ;) When I get to it, I will try to put up some jurabib (and hopefully other) package support files. - A similar issue to the problem Vaidotas has mentioned with double brackets '((': I often use manual folding but freak out everytime I have to enter '% {{{' (would it maybe be possible to disable the expansion in a comment?) - I've tried to add additional (optional) bibentry fields: crossref (x), gender (g) and shorttitle (l), but I think I lost the code which really integrated them into the bibtex-ftplugin routines, so that they would be included upon entering BBib, BBL etc. Is there a way to outsource some more of the relevant bibtex settings instead of messing around in LaTeX-suite/bibtex.vim after each download of a new release? - what I'd /like/ to do would be a way to handle a couple of search and replace runs more easily which I always have to do when finishing some text. Like for example this one: :%s/\(\a\)\.\(\a\)\.\_s/\1.\\,\2.\~/gc (replacing e.g. or ie. with e.\,g.\~ and i.\,e.\~) Right now I have a list of all those replacements but no cool way of performing them. Any hints would be appreciated. - pdfsync (http://itexmac.sourceforge.net/pdfsync.html) support would be cool, I think -- pdf being a portable format and currently the only one to benefit from pdfetex's microtypographic extensions. Only I haven't got it working myself in a way that I really can tell much about it. It's supposed to offer functionality comparable to UseEditorSettingInDVIViewer, but I don't even know how I would get back from xpdf to vim... I think that might be enough food for thought for now. I hope it is of some use for you. Cheers, Andreas -- All wiyht. Rho sritched mg kegtops awound? -- My Public PGP Keys: 1024 Bit DH/DSS: 0x869F81BA 768 Bit RSA: 0x1AD97BA5 |