Re: How to easily enable Lua in Vim 7.4 (would possibly like to avoid building it from source if possible)
On Tuesday, August 25, 2015 at 6:46:13 AM UTC+2, Ben Fritz wrote: On Monday, August 24, 2015 at 7:43:22 PM UTC-5, Annis Monadjem wrote: My Vim 7.4 Lua is disabled. I need to enable Lua in Vim so that I can setup neocomplete. Is there a way to enable Lua without removing/reinstalling my current Vim installation. If I happen to built source from scratch I'm aware about http://vim.wikia.com/wiki/Building_Vim;, however any further detail hints/specification are greatly appreciated (I'm still a beginner). Thanks in advance That depends on what you mean by disabled. If you have Lua support compiled in (with a '+' by the Lua options in :version output) then you just need to install the correct version of Lua to match what Vim was compiled with, and possible set up some paths. If you do NOT have Lua support compiled in already, then you must compile your own or get a different installation that already has it. Try some of these if you're on Windows: http://vim.wikia.com/wiki/Where_to_download_Vim 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/d/optout.
Re: vim - how to enable searching in vim editor and finding/highlighting pattern that is only in non-commented block/line
On Sun, Aug 23, 2015 at 7:02 PM, 'Annis Monadjem' via vim_use vim_use@googlegroups.com wrote: Hi, I am looking for a way to search in vim editor and to find text highlighted only for pattern found in non-commented blocks/lines. ... Is there a more productive way of searching/highlighting patterns of text that appear in a file only in non-commented blocks/lines. Annis, It depends on what level of functionality you are looking for. My plugin, SrchRplcHiGrp.vim - Search and Replace based on a highlight group *http://www.vim.org/script.php?script_id=848 http://www.vim.org/script.php?script_id=848* SR = Search and/or Replace This plugin defines some commands to allow you to: 1. Search for characters with a particular syntax highlight group 2. Search and replace characters with a particular syntax highlight group Allows you to choose the syntax group for comments and then perform searches that are either contained within that syntax group or outside of that syntax group. Have a quick look at that plugin page, there is an example at the bottom, where I specifically look for things that are NOT comments. HTH, David -- -- 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/d/optout.
Re: vim suitable for professional software development?
Hey, thanks a lot for the explanation. regards Am 24.08.2015 15:00 schrieb Stefan Klein: Hi, 2015-08-24 14:33 GMT+02:00 taschent...@posteo.de: You've said Vim plugins will never be as complete as Eclipse (eg refactoring). Could you elaborate that point, please? Eclipse understands the java code you write. That is, if you have 2 variables i in different context, Eclipse know these are 2 different variables that just happend to be named the same. Also Eclipse knows or can find all places where i (but not the other i) is used. So it's very easy to say 'eclipse, please rename i to j' and eclipse will do so, it will find all places where this exact i (and not the other i) is used. This would require to implement at least a partial java compiler as a vim plugin, so it is not practical. (eclipse in fact implements a java compiler) A pure editor is limited to find all places where the text i is used, so it would find the 2nd complete different i too. regards, Stefan P.S.: +1 on use what my (potential) colleagues use -- -- -- 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/d/optout.
Re: vim - how to enable searching in vim editor and finding/highlighting pattern that is only in non-commented block/line
Is there a more productive way of searching/highlighting patterns of text that appear in a file only in non-commented blocks/lines. The commands at :help include-search do exactly that. :ilist foo will list: bar baz foo foo bar baz but not: // foo does this The d variants of those commands are particularly useful for programming. This might need a bit of setup, though, but not much. FWIW, I wrote http://www.vim.org/scripts/script.php?script_id=5214 to be able to use the quickfix list/window with :ilist, :dlist and friends. -- -- 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/d/optout.
Re: Showmarks problems
On Di, 25 Aug 2015, Tim Johnson wrote: - Version info :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 25 2015 13:38:04) MacOS X (unix) version Included patches: 1-729 Huge version without GUI. NOTE : features set to +signs NOTE : Upgrade via macports What was the previous version? - Message : Error detected while processing CursorHold Auto commands for *: E11: Invalid in command-line window; CR executes, CTRL-C quits: checktime Error detected while processing function SNR60_ShowMarks: line 39: E885: Not possible to change sign ShowMark72 Error detected while processing function SNR60_ShowMarks: line 39: E885: Not possible to change sign ShowMark72 - I _am able_ to set marks and have them displayed in the signs column, just wondering why the messages, this just started with this upgrade I think, this is caused by patch 7.4.275 and has been discussed here before: https://groups.google.com/d/msg/vim_use/ROKJV2Bt3GU/j2kyr6jGlMMJ Looks like you have asked the same question before. Best, Christian -- Wenige sind weise genug, fördernden Tadel trügendem Lobe vorzuziehen. -- François de La Rochefoucault -- -- 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/d/optout.
Showmarks problems
- Version info :version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 25 2015 13:38:04) MacOS X (unix) version Included patches: 1-729 Huge version without GUI. NOTE : features set to +signs NOTE : Upgrade via macports - Message : Error detected while processing CursorHold Auto commands for *: E11: Invalid in command-line window; CR executes, CTRL-C quits: checktime Error detected while processing function SNR60_ShowMarks: line 39: E885: Not possible to change sign ShowMark72 Error detected while processing function SNR60_ShowMarks: line 39: E885: Not possible to change sign ShowMark72 - I _am able_ to set marks and have them displayed in the signs column, just wondering why the messages, this just started with this upgrade thanks -- Tim http://www.akwebsoft.com, http://www.tj49.com -- -- 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/d/optout.
ANN: SrchRplcHiGrp version 7
What is it? --- SrchRplcHiGrp.vim - Search and Replace based on a highlight group *http://www.vim.org/script.php?script_id=848 http://www.vim.org/script.php?script_id=848* SR = Search and/or Replace This plugin defines some commands to allow you to: 1. Search for characters with a particular syntax highlight group 2. Search and replace characters with a particular syntax highlight group See web page for more details on the commands available. Changes Changed SRSeach. It will first look for the next item that has the syntax group chosen via SRChooseHiGrp. It will also take an optional regular expression and not only find that syntax group, but also match the regular expression. Added SRSearch!, which will find the next item that is NOT what was chosen via SRChooseHiGrp. Same applied with the regular expression, so if I put my cursor on a comment and :SRChooseHiGrp. Then ran :SRSearch! something It will find the word something that is NOT in a comment. I am always open to suggestions, just email me. See :h dbext.txt for contact details. David -- -- 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/d/optout.