Re: Fighting with comments - Close the gap between vimtutor and :help
I find that the problem is that I installed gVim the first time and I was already thinking about how making it highlight the codes, highlight errors, auto complete control structures, tags and functions... I'm trying to find out if there is a way to make vim show tips automatically, tips about function parameters, classes, method... I wanna be a guru in a blink of eyes :P H-10 wrote: > > On Oct 20, 2006, at 1:39 AM, A.J.Mechelynck wrote: > >> vim wrote: >>> Hi everobody, >>> I recently had a very similar conversation with three guys on #vim >>> (irc.freenode.net). >>> Basicaly, there is two official help for Vim: >>>- the vimtutor >>>- :help >>> And that's basically it. >>> :help being your Vim dictionnary/encyclopedia/bible, it's very >>> complete and has everything in it but it's hardcore to read and >>> understand. Unfortunately, it's not easy at all to go through and >>> to 'get' the way it works. >>> I believe that there is room between vimtutor and :help to have >>> some beginner to intermediate tutorial that will take you by the >>> hand and bring you through the Vim universe in a nice and easy >>> way. Let's not forget (especially for the Vim gurus out there) >>> that Vim is very powerful but because of that it can be very hard >>> to understand sometimes or even to adapt to it and make it your >>> favourite text editor. >>> Of course Google is your friend but the sheer ammount of tutorials >>> out there can easily make you go left, right and center and >>> basically not teach you anything useful but some 'tips and tricks' >>> that is cool but won't make you code faster or deeply understand Vim. >>> So I think that there is room for some official tutorial after the >>> vimtutor and before a perfect use of the ultimate :help. The >>> tutorial will totally avoid to be a scientific precision on how-to- >>> exactly-define-terms-the-best-way-possible-using-the-less-words- >>> possible. The tutorial should be well written and take time to >>> explain things to novice in simple words. The idea is to bring >>> people to the Vim highway efficiently. Such a basic tutorial >>> could _also_ help novices to avoid asking questions that will make >>> any Vim guru feel like saying: 'RTFM' >>> As an example, here are some topics proposed: >>> Non-technical: >>> - Phylosophy behind Vim >>>Where you would learn why it will help you to be faster in your >>> everyday coding and what the user has to understand to truely >>> enjoy Vim (talk about the need to touch-type to be truely >>> efficient for instance) >>> - Phylosophy behind the three modes (Normal, Visual, Insert) >>> - Phylosophy behind the command line mode >>> - Differences between Vi and Vim >>> - Explain the folder structure and how the various config files work >>> - Differences between Vim on Windows, Mac, Linux, Unix and console >>> use >>> - Configure once, use everywhere (or how to adapt your config to a >>> different platform) >>> - etc. >>> Technical: >>> - The big apple : Think different! >>>Where you would learn that you need to think gg instead of >>> 'CTRL-home' or xp to invert the order of two letters etc. This >>> could have a list of standard keyboard shortcuts mapped to a list >>> of Vim shortcuts. >>> - Basics of Vim variables (:set :let etc.) >>> - My first function : hello world! >>> - Basic understanding of filetypes >>> - Basic folding >>> - Basics of syntax highlighting >>> - Basic mappings & abbreviations >>> - etc. >>> Help! I need somebody >>> - Phylosophy behind the :help command: how to 'think' :help >>> - How to use :help efficiently >>> - Good references to go one step further >>> - etc. >>> Of course, this is only a guide of what would be useful to a >>> beginner but I firmy believe that some official tutorial is >>> needed. Maybe this could be achieved by doing a 'best off' the >>> various tutorials already available. >>> Let me know what you think of this, >>> Laurent >> >> I think that between the tutor and help, tere are also the vimFAQ >> and vimtips (both at vim-online). >> >> You seem to have interesting ideas. Maybe you should discuss them >> with the FAQ maintainer. >> >> >> Best regards, >> Tony. > Hi, > > As one of the potential beneficiaries of the proposed document, I'd > like to add that what I have a hard time finding are the 'philosophy' > items mentioned in the proposal. I'd like to get a better > understanding of the way Vim views text, what the modes are for, > etc. i.e. the bigger picture. > > I find :help to be excellent when I know what question to ask, but > often lack the context to know where best to look. Reading this list > helps fill in the concepts in an ad hoc sort of way, but a more > systematic exposition would be nice. > > HTH, Hal > > > > -- View this message in context: http://www.nabble.com/Fighting-with-comments-tf2467964.html#a6924420 Sent from the Vim - General mail
Re: Fighting with comments - Close the gap between vimtutor and :help
Meghdad Azriel wrote: > > that would be very interesting > > > I´m a little lazy, I like to learn things quickly. I really found that > something is missing between the first tut and :help universe. > > > I actually appreciate the idea of making people discover new things and > understand "why-it-works"... > > > (forgive my english :P) > > > > vim-2 wrote: >> >> Hi everobody, >> >> I recently had a very similar conversation with three guys on #vim >> (irc.freenode.net). >> >> Basicaly, there is two official help for Vim: >> - the vimtutor >> - :help >> >> And that's basically it. >> >> :help being your Vim dictionnary/encyclopedia/bible, it's very complete >> and has everything in it but it's hardcore to read and understand. >> Unfortunately, it's not easy at all to go through and to 'get' the way >> it works. >> >> I believe that there is room between vimtutor and :help to have some >> beginner to intermediate tutorial that will take you by the hand and >> bring you through the Vim universe in a nice and easy way. Let's not >> forget (especially for the Vim gurus out there) that Vim is very >> powerful but because of that it can be very hard to understand sometimes >> or even to adapt to it and make it your favourite text editor. >> >> Of course Google is your friend but the sheer ammount of tutorials out >> there can easily make you go left, right and center and basically not >> teach you anything useful but some 'tips and tricks' that is cool but >> won't make you code faster or deeply understand Vim. >> >> So I think that there is room for some official tutorial after the >> vimtutor and before a perfect use of the ultimate :help. The tutorial >> will totally avoid to be a scientific precision on >> how-to-exactly-define-terms-the-best-way-possible-using-the-less-words-possible. >> >> The tutorial should be well written and take time to explain things to >> novice in simple words. The idea is to bring people to the Vim highway >> efficiently. Such a basic tutorial could _also_ help novices to avoid >> asking questions that will make any Vim guru feel like saying: 'RTFM' >> >> As an example, here are some topics proposed: >> >> Non-technical: >> - Phylosophy behind Vim >> Where you would learn why it will help you to be faster in your >> everyday coding and what the user has to understand to truely enjoy Vim >> (talk about the need to touch-type to be truely efficient for instance) >> - Phylosophy behind the three modes (Normal, Visual, Insert) >> - Phylosophy behind the command line mode >> - Differences between Vi and Vim >> - Explain the folder structure and how the various config files work >> - Differences between Vim on Windows, Mac, Linux, Unix and console use >> - Configure once, use everywhere (or how to adapt your config to a >> different platform) >> - etc. >> >> Technical: >> - The big apple : Think different! >> Where you would learn that you need to think gg instead of >> 'CTRL-home' or xp to invert the order of two letters etc. This could >> have a list of standard keyboard shortcuts mapped to a list of Vim >> shortcuts. >> - Basics of Vim variables (:set :let etc.) >> - My first function : hello world! >> - Basic understanding of filetypes >> - Basic folding >> - Basics of syntax highlighting >> - Basic mappings & abbreviations >> - etc. >> >> Help! I need somebody >> - Phylosophy behind the :help command: how to 'think' :help >> - How to use :help efficiently >> - Good references to go one step further >> - etc. >> >> Of course, this is only a guide of what would be useful to a beginner >> but I firmy believe that some official tutorial is needed. Maybe this >> could be achieved by doing a 'best off' the various tutorials already >> available. >> >> Let me know what you think of this, >> Laurent >> >> A.J.Mechelynck wrote: >>> Meghdad Azriel wrote: >>>> I was just kidding ;) >>>> >>>> I know that they are not secret but, they´re not that intuitive... >>>> and i´m >>>> still learning how to use that help effectivelly... >>>> >>>> >>>> maybe I neet to read those basic files with care... >>> [...] >>> >>> To use the help effecti
Re: Fighting with comments - Close the gap between vimtutor and :help
that would be very interesting I´m a little lazy, I like to learn things quickly. I really found that something is missing between the first tut and :help universe. I also like the idea of making people discover new things and understand "why-it-works"... vim-2 wrote: > > Hi everobody, > > I recently had a very similar conversation with three guys on #vim > (irc.freenode.net). > > Basicaly, there is two official help for Vim: > - the vimtutor > - :help > > And that's basically it. > > :help being your Vim dictionnary/encyclopedia/bible, it's very complete > and has everything in it but it's hardcore to read and understand. > Unfortunately, it's not easy at all to go through and to 'get' the way > it works. > > I believe that there is room between vimtutor and :help to have some > beginner to intermediate tutorial that will take you by the hand and > bring you through the Vim universe in a nice and easy way. Let's not > forget (especially for the Vim gurus out there) that Vim is very > powerful but because of that it can be very hard to understand sometimes > or even to adapt to it and make it your favourite text editor. > > Of course Google is your friend but the sheer ammount of tutorials out > there can easily make you go left, right and center and basically not > teach you anything useful but some 'tips and tricks' that is cool but > won't make you code faster or deeply understand Vim. > > So I think that there is room for some official tutorial after the > vimtutor and before a perfect use of the ultimate :help. The tutorial > will totally avoid to be a scientific precision on > how-to-exactly-define-terms-the-best-way-possible-using-the-less-words-possible. > > The tutorial should be well written and take time to explain things to > novice in simple words. The idea is to bring people to the Vim highway > efficiently. Such a basic tutorial could _also_ help novices to avoid > asking questions that will make any Vim guru feel like saying: 'RTFM' > > As an example, here are some topics proposed: > > Non-technical: > - Phylosophy behind Vim > Where you would learn why it will help you to be faster in your > everyday coding and what the user has to understand to truely enjoy Vim > (talk about the need to touch-type to be truely efficient for instance) > - Phylosophy behind the three modes (Normal, Visual, Insert) > - Phylosophy behind the command line mode > - Differences between Vi and Vim > - Explain the folder structure and how the various config files work > - Differences between Vim on Windows, Mac, Linux, Unix and console use > - Configure once, use everywhere (or how to adapt your config to a > different platform) > - etc. > > Technical: > - The big apple : Think different! > Where you would learn that you need to think gg instead of > 'CTRL-home' or xp to invert the order of two letters etc. This could > have a list of standard keyboard shortcuts mapped to a list of Vim > shortcuts. > - Basics of Vim variables (:set :let etc.) > - My first function : hello world! > - Basic understanding of filetypes > - Basic folding > - Basics of syntax highlighting > - Basic mappings & abbreviations > - etc. > > Help! I need somebody > - Phylosophy behind the :help command: how to 'think' :help > - How to use :help efficiently > - Good references to go one step further > - etc. > > Of course, this is only a guide of what would be useful to a beginner > but I firmy believe that some official tutorial is needed. Maybe this > could be achieved by doing a 'best off' the various tutorials already > available. > > Let me know what you think of this, > Laurent > > A.J.Mechelynck wrote: >> Meghdad Azriel wrote: >>> I was just kidding ;) >>> >>> I know that they are not secret but, they´re not that intuitive... >>> and i´m >>> still learning how to use that help effectivelly... >>> >>> >>> maybe I neet to read those basic files with care... >> [...] >> >> To use the help effectively, one should learn to use the tools Vim >> itself includes to search the help (see, among others, ":help :help" >> and ":help :helpgrep"): >> >> :help >> >> brings you to the help for if there is one, otherwise to some >> help topic "resembling" what you typed >> >> :help pattern >> >> completes your command-line with the first help topic matching the >> pattern. Hit again to see the next one. Hit Ctrl-D to
Re: vim temp files on windows
Didn´t work for me... It gave me an error saying that it could not make the backup file... Mathias Michaelis wrote: > > Hello Kev > >> Whenever I edit a file in gvim on Windows, a temporary >> file of the same name but with a tilde (~) on the end >> is created. >> > This are backup files and are (meaningfully) not deleted after > closing the corresponding file. > > In my $HOME/vimfiles directory I have created a folder named > "backup". Then, I putted in my .vimrc or _vimrc file the lines: > > " > " keep a backup file > " > set backup > set backupdir=$HOME/vimfiles/backup/ > > Now, all backup files are kept in this one backup directory. If you > don't like this at all, you can put the line > > set nobackup > > at the place of the lines above. > > Best regards > > Mathias > > -- View this message in context: http://www.nabble.com/vim-temp-files-on-windows-tf159693.html#a6906290 Sent from the Vim - General mailing list archive at Nabble.com.
Re: Fighting with comments
I was just kidding ;) I know that they are not secret but, they´re not that intuitive... and i´m still learning how to use that help effectivelly... maybe I neet to read those basic files with care... Gary Johnson wrote: > > On 2006-10-19, eric1235711 <[EMAIL PROTECTED]> wrote: >> this worked too >> >> I think this is better, help tells that this formatoptions is specific to >> coments and things... >> >> But I´m getting disgusted of these "secret and magic commands"... > > Secret? You might find it helpful to look at > > :help user-manual > > and browsing the table of contents for topics that appear related to > what you're trying to do. > > Regards, > Gary > > -- > Gary Johnson | Agilent Technologies > [EMAIL PROTECTED] | Wireless Division > | Spokane, Washington, USA > > -- View this message in context: http://www.nabble.com/Fighting-with-comments-tf2467964.html#a6905899 Sent from the Vim - General mailing list archive at Nabble.com.