Happy Birthday Vim
Happy Birthday To You! Happy Birthday To You! Happy Birthday dear Vi-im! Happy Birthday To You! and Many Happy Returns of the Day! Vim is 12 years old today: its first public release (Vim 1.14 for the Amiga) happened on 2 November 1991 on Fish disk #591. Best regards, Tony. -- As soon as you are willing to discard observational data because it conflicts with religion, you are giving up any hope of ever really understanding the universe. As soon as you pick religion as the touchstone of reality, then we have to start discussing how one can demonstrate the correctness of one religion over another when different *religions* disagree. --Wilson Heydt (whhe...@pacbell.com) The answer is simple: kill the heretics. History shows us that this is the actual solution that competing religions apply -- trial by combat or trial by ordeal. God is the final arbiter. What a sad waste of human potential it has proven to be. [Paul Hager (hag...@iuvax.cs.indiana.edu)] -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
Nice. How old is emacs btw? from iPhone On Nov 2, 2013, at 18:05, Tony Mechelynck antoine.mechely...@gmail.com wrote: Happy Birthday To You! Happy Birthday To You! Happy Birthday dear Vi-im! Happy Birthday To You! and Many Happy Returns of the Day! Vim is 12 years old today: its first public release (Vim 1.14 for the Amiga) happened on 2 November 1991 on Fish disk #591. Best regards, Tony. -- As soon as you are willing to discard observational data because it conflicts with religion, you are giving up any hope of ever really understanding the universe. As soon as you pick religion as the touchstone of reality, then we have to start discussing how one can demonstrate the correctness of one religion over another when different *religions* disagree. --Wilson Heydt (whhe...@pacbell.com) The answer is simple: kill the heretics. History shows us that this is the actual solution that competing religions apply -- trial by combat or trial by ordeal. God is the final arbiter. What a sad waste of human potential it has proven to be. [Paul Hager (hag...@iuvax.cs.indiana.edu)] -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
On 02/11/13 11:11, Ping wrote: Nice. How old is emacs btw? from iPhone Not the wildest. Maybe Wikipedia could tell you, and if the wiki in your own language doesn't say, try the English one. Best regards, Tony. -- Really heard in court in the U.S.A.: Q.: That myasthenia gravis, does it affect your memory? A.: Yes, it does. Q.: In what way does it affect your memory? A.: I forget. Q.: Could you give us an example of something that you've forgotten? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
On 11/2/2013 3:20 AM, Tony Mechelynck wrote: On 02/11/13 11:11, Ping wrote: Nice. How old is emacs btw? from iPhone Not the wildest. Maybe Wikipedia could tell you, and if the wiki in your own language doesn't say, try the English one. Best regards, Tony. *Emacs* / http://en.wikipedia.org/wiki/Help:IPA_for_English? http://en.wikipedia.org/wiki/Help:IPA_for_English#Keyi? http://en.wikipedia.org/wiki/Help:IPA_for_English#Keym http://en.wikipedia.org/wiki/Help:IPA_for_English#Keyæ http://en.wikipedia.org/wiki/Help:IPA_for_English#Keyk http://en.wikipedia.org/wiki/Help:IPA_for_English#Keys http://en.wikipedia.org/wiki/Help:IPA_for_English#Key/ http://en.wikipedia.org/wiki/Help:IPA_for_English and its derivatives are a family of text editors http://en.wikipedia.org/wiki/Text_editor that are characterized by their extensibility http://en.wikipedia.org/wiki/Extensibility. The manual for one variant describes it as the extensible, customizable, self-documenting, real-time display editor.^[2] http://en.wikipedia.org/wiki/Emacs#cite_note-2 Development began in the mid-1970s and continues actively as of 2013. Emacs has over 2,000 built-in commands and allows the user to combine these commands into macros http://en.wikipedia.org/wiki/Macro_%28computer_science%29 to automate work. The use of Emacs Lisp http://en.wikipedia.org/wiki/Emacs_Lisp, a variant of the Lisp http://en.wikipedia.org/wiki/Lisp_%28programming_language%29 programming language, provides a deep extension capability. The original EMACS was written in 1976 by Richard Stallman http://en.wikipedia.org/wiki/Richard_Stallman and Guy L. Steele, Jr. http://en.wikipedia.org/wiki/Guy_L._Steele,_Jr. as a set of /Editor MACroS/ for the TECO http://en.wikipedia.org/wiki/Text_Editor_and_Corrector editor.^[3] http://en.wikipedia.org/wiki/Emacs#cite_note-3 ^[4] http://en.wikipedia.org/wiki/Emacs#cite_note-4 ^[5] http://en.wikipedia.org/wiki/Emacs#cite_note-5 ^[6] http://en.wikipedia.org/wiki/Emacs#cite_note-MACSimizing_TECO-6 It was inspired by the ideas of the TECO-macro editors TECMAC and TMACS.^[7] http://en.wikipedia.org/wiki/Emacs#cite_note-7 Emacs became, along with vi http://en.wikipedia.org/wiki/Vi, one of the two main contenders in the traditional editor wars http://en.wikipedia.org/wiki/Editor_war of Unix http://en.wikipedia.org/wiki/Unix culture. The word emacs is often pluralized as /emacsen/ ^[/importance? http://en.wikipedia.org/wiki/Wikipedia:INDISCRIMINATE/] ,by analogy with boxen http://en.wiktionary.org/wiki/boxen and VAXen http://en.wikipedia.org/wiki/VAX.^[8] http://en.wikipedia.org/wiki/Emacs#cite_note-8 The most popular, and most ported, version of Emacs is *GNU Emacs,* which was created by Stallman for the GNU Project http://en.wikipedia.org/wiki/GNU_Project.^[9] http://en.wikipedia.org/wiki/Emacs#cite_note-9 XEmacs http://en.wikipedia.org/wiki/XEmacs is a common variant that branched http://en.wikipedia.org/wiki/Fork_%28software_development%29 from GNU Emacs in 1991. Both of the variants use Emacs Lisp and are for the most part compatible with each other. v/r, Greg -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
Tony Mechelynck antoine.mechely...@gmail.com a écrit: Happy Birthday To You! Happy Birthday To You! Happy Birthday dear Vi-im! Happy Birthday To You! and Many Happy Returns of the Day! Vim is 12 years old today: its first public release (Vim 1.14 for the Amiga) happened on 2 November 1991 on Fish disk #591. You meant: Vim is 22. It has come of age some time ago :) Happy birthday anyway! Whenever I must type something without Vim (and quite often when typing something with it), I am reminded of how wonderful modal editing is... Best, Paul -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
On 02.11.13 12:32, Paul Isambert wrote: You meant: Vim is 22. It has come of age some time ago :) Now if wiki-google could just tell us how much that changes the ratio of users younger than Vim, to those older. At least Vim is allowed to drink at its birthday party. Erik -- If the theological answer to all questions had ever actually prevailed in the world the progress of the race would have come to an end, and there would be no difference today between a good European and a good pygmy in the African jungles. Everything that we are we owe to Satan and his bootleg apples. - H.L. Mencken -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Happy Birthday Vim
On 02/11/13 12:32, Paul Isambert wrote: Tony Mechelynck antoine.mechely...@gmail.com a écrit: Happy Birthday To You! Happy Birthday To You! Happy Birthday dear Vi-im! Happy Birthday To You! and Many Happy Returns of the Day! Vim is 12 years old today: its first public release (Vim 1.14 for the Amiga) happened on 2 November 1991 on Fish disk #591. You meant: Vim is 22. It has come of age some time ago :) Happy birthday anyway! Whenever I must type something without Vim (and quite often when typing something with it), I am reminded of how wonderful modal editing is... Best, Paul Thanks for correcting my math. It shows how much I need sleep, or strong tea, or both. ;-) Best regards, Tony. -- There was a young student from Yale Who was getting his first piece of tail. He shoved in his pole, But in the wrong hole, And a voice from beneath yelled: No sale! -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Can't type Czech character u with ring above + entering unicode is broken
Hello, Could someone please post an answer to my struggle with entering Czech with the new gvim 7.4 on Windows 7 on Stack Exchange's Super User group/forum: http://superuser.com/questions/668720/czech-language-input-method-and-font-support-in-gvim-7-4-on-windows-7 The contents of that post follow: -- I would like to reopen a question related to the following: (Czech) character set support in gvim 7.3 on Windows 7 Basically, in that post I noticed that some Czech characters were being displayed as black squares. So I posted the question and noticed that the problem seemed to go away by changing the font. I thought that solved the problem because the characters in the file I was using displayed correctly. However, I have noticed the following: while some Czech characters display correctly by changing the font from the Gvim menu, others do not display correctly: For instance when I paste the character Ů (Latin capital letter u with ring above) or ů (Latin small letter u with ring above), no font displays the resulting character correctly. For instance, the Fixedsys font displays a black square and a small u, respectively, while Lucida Console displays a capital U and a small U, respectively. I have tried all fonts available from the gvim drop-down menu, and none seem to work for this particular case. The problem does not end here. The input method for unicode characters produces the wrong characters: CTRL-V u0160 should produce the Czech character (Š) but the backquote (') is inserted instead. CTRL-V u016e should produce the Czech character (Ů) but the n character (n) is inserted instead. And the list goes on. As if that were not enough, there is a list of alternative input method key combinations at the following site (which is a list of digraphs): http://code.google.com/p/vim/source/browse/runtime/doc/digraph.txt but despite having the latest verion of gvim, when I type :digraphs, this list does not show up. Only the old list from gvim 7.3 shows up, which does not include these. For instance CTRL-K U0 and CTRL-K u0 both produce the character zero instead of the following: Ů U0 016E 0366 LATIN CAPITAL LETTER U WITH RING ABOVE ů u0 016F 0367 LATIN SMALL LETTER U WITH RING ABOVE To summarize, despite gvim 7.4 being recently released, none of the distributed fonts are compatible with the Czech language, inserting unicode via CTRL-V seems to produce the wrong characters, and digraph support is incomplete. Thank you for your answers. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Insert comand output on current text
On Friday, November 1, 2013 2:44:35 PM UTC-5, andalou wrote: If I go after the end of enlace and do :1,.s/^# //n I get, say: 8 matches on 8 lines then I'd like to have ch007.html after enlace. If the above command outputs: 35 matches on 35 lines then I'd like to have ch034.html after enlace. OK, now THAT is a much better problem description. We can work with that. I suppose, I can do it manually. Thanks anyway. My comment about doing it manually was because your initial problem description gave NO indication as to where ch007 came from, nor how you wanted to insert it. Actually, you STILL give zero indication how you want to insert it. How do you determine where in the line to insert the number? To get everything ready for insertion, do: :redir = var :1,.s/^# //n :redir END :let @=ch.printf(%03d,(substitute(var, '^\(\d\+\).*', '\1', '')-1))..html Now you can paste with p and you'll get ch007.html or similar at the cursor. If that's not what you want to do for insertion, you need to share where the text should be inserted, what you want to do to insert it, etc. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Vim Minecraft
Wow, that's really dope! Haha! Wallpaper! Jacky Alciné home.jalcine.me - blog.jalcine.me - linkedin.jalcine.me On Sat, Nov 2, 2013 at 12:44 PM, Rodrigo Campos Guzman rodrigo...@gmail.com wrote: My nephew made me a Vim logo in Minecraft. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Vim Minecraft
That is awesome, a sure way to engage the next generation of Vim users! -- Steve Hal [ digitect dancingpaper com ] On Sat, Nov 2, 2013 at 12:44 PM, Rodrigo Campos Guzman rodrigo...@gmail.com wrote: My nephew made me a Vim logo in Minecraft. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Save default font on Gvim on Windows 7.
On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. Has this been fixed in Gvim 7.4 or does this bug persist? Or does anyone know of a better way to set the default font? Cause the FixedSys font sucks as it cannot display Czech characters, and I don't want to have to go to the menu to change it every time I open a file that contains Czech characters. Thanks. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 2013-11-02 12:35, John Sonderson wrote: On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. You need to either put it in your _gvimrc (which gets processed after the GUI has started up) rather than your _vimrc (which gets processed before the GUI has started up), or put it in an autocmd in your _vimrc: autocmd GUIEnter * set guifont=YourFontSettingHere that will fire once the GUI has started. -tim -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Patch for tagselect.vim
I just started using Hari Krishna Dara's tagselect.vim plugin. It captures the output of the :tjump and :tselect commands and displays them in a buffer so that you can more easily search and navigate the list. I noticed that every now and then, instead of jumping directly to a single tag, the Tjump command would open a window containing just the name of the command and the name of the file being jumped to. I tracked the problem down to the test at line 14 of TagSelectMain(): This means, there was only one hit, and Vim must have already jumped to the jump. Don't do anything else. if a:cmd =~ 'jump' results =~ '^\_s*$' return 0 endif As the comment says, this test should succeed if Vim has already jumped to the jump. However, in Vim 7.4 (and Vim 7.2), if the jump is to a file not already opened, Vim prints the name of the opened file after it is opened and this name goes into the 'results' variable, causing the test to fail. I noticed that this file name is always enclosed in double-quotes, so I fixed the problem by changing the test to this: if a:cmd =~ 'jump' results =~ '^\_s*$\|^\_s*' A patch is attached. I sent the above problem description to the author a week ago and have not received a reply. The latest version of the plugin, 1.2.0, was last changed in June of 2005 and still contains a TODO list, which suggests that the author has stopped working on it and has probably stopped supporting it. In fact, I haven't seen anything from Hari Krisha Dara on the vim_use or vim_dev lists in years. He used to be a regular, active contributor. So it seems we are back to discussing what to do with abandoned plugins. Does anyone know what happened to Hari Krishna Dara? Any suggestions for what should be done with tagselect.vim? Is there a better plugin for this purpose that I've missed? Regards, Gary -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --- orig/tagselect.vim 2012-12-26 20:01:17.0 -0800 +++ plugin/tagselect.vim 2013-10-25 13:31:12.261770130 -0700 @@ -155,7 +155,7 @@ endif This means, there was only one hit, and Vim must have already jumped to the jump. Don't do anything else. - if a:cmd =~ 'jump' results =~ '^\_s*$' + if a:cmd =~ 'jump' results =~ '^\_s*$\|^\_s*' return 0 endif
What are the steps to get 256 colors in vim inside ConEmu?
Hello, I came across this thread from January on getting 256 colors in Vim on Windows inside ConEmu: https://groups.google.com/forum/#!topic/vim_dev/0H0qM1LJfuk/discussion Searching for ConEmu in http://vim.wikia.com/ got no hits. So is anyone successfully using vim in ConEmu with 256 colors? If so, what are the steps to make this happen? Thanks, --Suresh -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 2013-11-02, Tim Chase wrote: On 2013-11-02 12:35, John Sonderson wrote: On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. You need to either put it in your _gvimrc (which gets processed after the GUI has started up) rather than your _vimrc (which gets processed before the GUI has started up), or put it in an autocmd in your _vimrc: autocmd GUIEnter * set guifont=YourFontSettingHere that will fire once the GUI has started. That will work, but I set the font for Windows in my ~/_vimrc, not in a ~/_gvimrc and not from an autocommand, just set guifont=Courier_New:h10:cANSI Regards, Gary -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 02/11/13 20:58, Gary Johnson wrote: On 2013-11-02, Tim Chase wrote: On 2013-11-02 12:35, John Sonderson wrote: On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. You need to either put it in your _gvimrc (which gets processed after the GUI has started up) rather than your _vimrc (which gets processed before the GUI has started up), or put it in an autocmd in your _vimrc: autocmd GUIEnter * set guifont=YourFontSettingHere that will fire once the GUI has started. That will work, but I set the font for Windows in my ~/_vimrc, not in a ~/_gvimrc and not from an autocommand, just set guifont=Courier_New:h10:cANSI Regards, Gary Indeed, 'guifont' is one of those settings which are used only after the GUI starts but can be set before it does, and will be remembered until they are needed. On windows I would use ... :cDEFAULT though. :cANSI is IMHO needlessly limited and, taking it at face value, it conflicts with using any codepoint above U+007F, including not only non-Latin letters but even accented letters as used in practically every language other than English (and even in English, my Oxford's Dictionary lists some words with accented letters like garçon, cliché, risqué, øre, and more). The 'guifont' setting has a number of different incompatible settings. If you only use Vim on Windows this is not of much concern to you, but there are at least two very different formats in current use on Linux, and there used to be one more. See http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI Best regards, Tony. -- Someone did a study of the three most-often-heard phrases in New York City. One is Hey, taxi. Two is, What train do I take to get to Bloomingdale's? And three is, Don't worry. It's just a flesh wound. -- David Letterman -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: What are the steps to get 256 colors in vim inside ConEmu?
On 02/11/13 20:56, Suresh Govindachar wrote: Hello, I came across this thread from January on getting 256 colors in Vim on Windows inside ConEmu: https://groups.google.com/forum/#!topic/vim_dev/0H0qM1LJfuk/discussion Searching for ConEmu in http://vim.wikia.com/ got no hits. So is anyone successfully using vim in ConEmu with 256 colors? If so, what are the steps to make this happen? Thanks, --Suresh I don't know about ConEmu, but: If it is a console emulator installed on your system, the link near the bottom of this message may help you. If it is a console emulator *not* installed on your system, and you're looking for a way to make Vim really use 256 colors when in consoloe mode, it may also help you. Here is the link: http://vim.wikia.com/wiki/Using_GUI_color_settings_in_a_terminal Best regards, Tony. -- Young men want to be faithful and are not; old men want to be faithless and cannot. -- Oscar Wilde -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Spellchecker doesn't work in all latex files
I'm using latex and I have the problem that spellcheck works for main.tex, but doesn't work for section1.tex, which is included by main.tex. I'm not sure but I think the problem is that the spellchecker only works between \begin{document} and \end{document}. This wouldn't be problematic if I have a single latex file, but for big latex projects it is common practice to split them across files. Personally I think it would be best if spell checking was enabled everywhere, except inside a command. So \ref{ref} and \cite{citation}, begin{things} should be ignored and everything else should be spellchecked. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Insert comand output on current text
Ben has answered your question directly (I want to write the output of ...) using redir, but a more natural (to me) approach for this would be (assuming you want the ch007.html text at the current line) :let n = -1 :1,.g/^# /let n += 1 '' :put =printf('ch%03d.html, n) The :g leaves the cursor at the last match so '' is used to go back to where you started. (C programmers know about printf, but in case you don't %03d means print an integer in a field 3 characters wide with leading zeroes.) Regards, John Little -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Can't type Czech character u with ring above + entering unicode is broken
On 02/11/13 17:55, John Sonderson wrote: Hello, Could someone please post an answer to my struggle with entering Czech with the new gvim 7.4 on Windows 7 on Stack Exchange's Super User group/forum: http://superuser.com/questions/668720/czech-language-input-method-and-font-support-in-gvim-7-4-on-windows-7 The contents of that post follow: -- I would like to reopen a question related to the following: (Czech) character set support in gvim 7.3 on Windows 7 Basically, in that post I noticed that some Czech characters were being displayed as black squares. So I posted the question and noticed that the problem seemed to go away by changing the font. I thought that solved the problem because the characters in the file I was using displayed correctly. However, I have noticed the following: while some Czech characters display correctly by changing the font from the Gvim menu, others do not display correctly: For instance when I paste the character Ů (Latin capital letter u with ring above) or ů (Latin small letter u with ring above), no font displays the resulting character correctly. For instance, the Fixedsys font displays a black square and a small u, respectively, while Lucida Console displays a capital U and a small U, respectively. I have tried all fonts available from the gvim drop-down menu, and none seem to work for this particular case. The problem does not end here. The input method for unicode characters produces the wrong characters: CTRL-V u0160 should produce the Czech character (Š) but the backquote (') is inserted instead. CTRL-V u016e should produce the Czech character (Ů) but the n character (n) is inserted instead. And the list goes on. As if that were not enough, there is a list of alternative input method key combinations at the following site (which is a list of digraphs): http://code.google.com/p/vim/source/browse/runtime/doc/digraph.txt but despite having the latest verion of gvim, when I type :digraphs, this list does not show up. Only the old list from gvim 7.3 shows up, which does not include these. For instance CTRL-K U0 and CTRL-K u0 both produce the character zero instead of the following: Ů U0 016E 0366 LATIN CAPITAL LETTER U WITH RING ABOVE ů u0 016F 0367 LATIN SMALL LETTER U WITH RING ABOVE To summarize, despite gvim 7.4 being recently released, none of the distributed fonts are compatible with the Czech language, inserting unicode via CTRL-V seems to produce the wrong characters, and digraph support is incomplete. Thank you for your answers. Works for me on Linux with gvim 7.4.055 for GTK2/Gnome2, :set guifont=Bitstream\ Vera\ Sans\ Mono\ 8 encoding=utf-8 Warning: The 'guifont' setting for GTK2 is extremely different from that for Windows, see the link at the bottom of this post to understand how they match. This could be a font problem or an encoding problem, or even a 'guifont' parameter problem. Or it could be any combination of the three. First, the encoding problem: Make sure you set 'encoding' to UTF-8 at startup without losing reciprocal understanding with the OS, see http://vim.wikia.com/wiki/Working_with_Unicode Second, check your 'guifont' setting. On Windows, I recommend ending it with :cDEFAULT (not :cEASTEUROPE and certainly not :cANSI) in order to leave Vim the widest freedom possible in choosing the family of fonts that fits your needs best. Third, the font problem. If, after fixing both of the above if they needed it, you still find that none of the installed fonts (as shown by :set gfn=* without the quotes) fits your needs, don't panic! There are lots of TrueType and OpenType fonts available for free all over the Net, and some of them are even monotype fonts (which is the only kind that Vim will accept). There are so many, and at so varied places, that I can't even start listing them. Maybe Google can be your friend in this case. See also http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI And if, after doing your best to fix all three of the above to the best of your abilities, you still have the problem, well again, do like hitch-hikers in the Galaxy: Don't panic! Come back here, and tell us blow-by-blow all that you did and what the results were after each step. Best regards, Tony. -- Oh, no! NOT the Spanish Inquisition! NOBODY expects the Spanish Inquisition!!! -- Monty Python sketch -- Oh, no! NOT another option! -- Discussion in vim-dev mailing list -- -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com.
Re: Save default font on Gvim on Windows 7.
Thanks for the clarification. Is there a place where I can find the string to substitute in place of YourFontSettingHere though? Do I need to enclose the string in double quotes or use some other quotation mechanism? I would like to use the Lucida Console font with a Normal font style and a size of 14. Exactly how do I specify these? Thanks a lot! On Sat, Nov 2, 2013 at 8:47 PM, Tim Chase v...@tim.thechases.com wrote: On 2013-11-02 12:35, John Sonderson wrote: On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. You need to either put it in your _gvimrc (which gets processed after the GUI has started up) rather than your _vimrc (which gets processed before the GUI has started up), or put it in an autocmd in your _vimrc: autocmd GUIEnter * set guifont=YourFontSettingHere that will fire once the GUI has started. -tim -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 2013-11-02 12:58, Gary Johnson wrote: You need to either put it in your _gvimrc (which gets processed after the GUI has started up) rather than your _vimrc (which gets processed before the GUI has started up), or put it in an autocmd in your _vimrc: autocmd GUIEnter * set guifont=YourFontSettingHere that will fire once the GUI has started. That will work, but I set the font for Windows in my ~/_vimrc, not in a ~/_gvimrc and not from an autocommand, just set guifont=Courier_New:h10:cANSI I hadn't tested it stand-alone in the vimrc, as the OP had mentioned that it hadn't worked for him when put there. If it's *supposed* to work there, then it might require some different debugging. -tim -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 2013-11-02, Tony Mechelynck wrote: On 02/11/13 20:58, Gary Johnson wrote: That will work, but I set the font for Windows in my ~/_vimrc, not in a ~/_gvimrc and not from an autocommand, just set guifont=Courier_New:h10:cANSI Regards, Gary Indeed, 'guifont' is one of those settings which are used only after the GUI starts but can be set before it does, and will be remembered until they are needed. On windows I would use ... :cDEFAULT though. :cANSI is IMHO needlessly limited and, taking it at face value, it conflicts with using any codepoint above U+007F, including not only non-Latin letters but even accented letters as used in practically every language other than English (and even in English, my Oxford's Dictionary lists some words with accented letters like garçon, cliché, risqué, øre, and more). I chose Courier_New for my Windows font setting specifically because it contains glyphs for some Unicode codepoints not in Fixedsys, which I otherwise like. I just copied the cANSI part from someplace; I don't remember where. If using cDEFAULT will make even more codepoints available, that would be great. I'll try it when I get to work on Monday. Thank you. Regards, Gary -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On 02/11/2013 07:45 p.m., John Joche wrote: Thanks for the clarification. Is there a place where I can find the string to substitute in place of YourFontSettingHere though? Do I need to enclose the string in double quotes or use some other quotation mechanism? I would like to use the Lucida Console font with a Normal font style and a size of 14. Exactly how do I specify these? set guifont=Lucida\ Console:h14:cANSI -- Cesar -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Save default font on Gvim on Windows 7.
On Saturday, November 2, 2013 2:35:03 PM UTC-5, John Sonderson wrote: On Windows 7 it is impossible to save the default Gvim font from the Gvim program. Closing Gvim will cause it to completely forget about all font settings, and it is not possible to set them in the _vimrc file. Has this been fixed in Gvim 7.4 or does this bug persist? Or does anyone know of a better way to set the default font? Cause the FixedSys font sucks as it cannot display Czech characters, and I don't want to have to go to the menu to change it every time I open a file that contains Czech characters. Thanks. Setting guifont in the _vimrc works just fine in Vim 7.4 on Windows 7. I've been using 7.4 since it came out of beta on Windows 7, and I set my font to DejaVu Sans Mono in my _vimrc. To set the font, I always use: :set guifont=* This brings up a dialog for me to select the font as I like it. Then I can :echo getfontname() to see what that turns into as a Vim option value. -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
jump to true beginning of line
When editing code that is indented can I jump to the true beginning of a specific line (say line 10) in one shot? I know 10gg and :10 but both of those take me to the first non-whitespace character of the line rather than the 0th character. I suspect this is a stupid question, but Googling and help are not helping! c -- Chris Lott ch...@chrislott.org -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Insert comand output on current text
On 02/11/2013 01:06 p.m., Ben Fritz wrote: [...] My comment about doing it manually was because your initial problem description gave NO indication as to where ch007 came from, nor how you wanted to insert it. Actually, you STILL give zero indication how you want to insert it. How do you determine where in the line to insert the number? To get everything ready for insertion, do: :redir = var :1,.s/^# //n :redir END :let @=ch.printf(%03d,(substitute(var, '^\(\d\+\).*', '\1', '')-1))..html Now you can paste with p and you'll get ch007.html or similar at the cursor. If that's not what you want to do for insertion, you need to share where the text should be inserted, what you want to do to insert it, etc. Many thanks Ben. It is what I wanted. Regards, -- Cesar -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: jump to true beginning of line
On 2013-11-02 18:41, Chris Lott wrote: When editing code that is indented can I jump to the true beginning of a specific line (say line 10) in one shot? I know 10gg and :10 but both of those take me to the first non-whitespace character of the line rather than the 0th character. Not that I know of out of the box, but if you're okay with typing 2 characters anyway (gg), you can use 10G0 which does a 10G to go to the given line, then 0 to go the to first (your 0th) column. This could be mapped something like :nnoremap G G0 Despite its description in the help, 'nostartofline' doesn't seem to respect being in the first column if your jump lands you on a line with leading whitespace. I tested this with 'nosol' set ad line 19 containing leading indentation before characters. Going to the first column of a previous line and issuing 19G landed me on the first character on line 19 after the indent, not the first column as I would have expected. -tim -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Insert comand output on current text
On 02/11/2013 05:20 p.m., John Little wrote: Ben has answered your question directly (I want to write the output of ...) using redir, but a more natural (to me) approach for this would be (assuming you want the ch007.html text at the current line) :let n = -1 :1,.g/^# /let n += 1 '' :put =printf('ch%03d.html, n) The :g leaves the cursor at the last match so '' is used to go back to where you started. (C programmers know about printf, but in case you don't %03d means print an integer in a field 3 characters wide with leading zeroes.) Regards, John Little Thanks Ben and John. Best regards, -- Cesar -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Vim Minecraft
On Sat, 2 Nov 2013 09:44:16 -0700 (PDT) Rodrigo Campos Guzman rodrigo...@gmail.com wrote: My nephew made me a Vim logo in Minecraft. Heh, very nice. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://www.shlomifish.org/puzzles/ talexb “Hey, I have a flat tire. Can you help me change it with a can opener and a pound of sesame seeds?” — talexb on parsing HTML or XML with regular expressions. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.