Re: Vim explained in 6 Kbyte - Translation

2023-11-12 Thread Tom M
ll the rest has "Vim". Is it an problem of the translation to Arabic or did Google do incorrect translation to English? Or am I missing something? Tom On Monday, October 2, 2023 at 6:35:04 PM UTC+2 Christian Brabandt wrote: > > On Mo, 02 Okt 2023, Harvey R wrote: > > &g

Re: vim9 Equivalence of __FILE__, __LINE__, and __FUNCTION__ usage in C++

2023-07-08 Thread Tom M
I don't think Vim 9 script has the kind of introspection you are asking for. The v:throwpoint variable might help, as mentioned in :help throw-variables. Tom -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

how to ignore a dir for vimgrep but not for cmdline completion

2023-06-19 Thread Tom M
Hi all, Is there a way to ignore a dir when searching with vimgrep and not ignored when doing command line autocompletion? The wildignore option makes vim ignore the dir in both cases. Thanks in advance, Tom M -- -- You received this message from the "vim_use" maillist. Do not top-

Save terminal buffer with colors?

2023-04-12 Thread Tom M
. Then later it's easy to open that file in a browser and read the lines with original colors. Search some info in it. Having something similar in vim terminal would be nice. Thanks for your answers. Regards, Tom M -- -- You received this message from the "vim_use" maillist. Do not top-

Re: Upgrade to recent version broke vimrc -- doesnt recognize unix style environmental variables

2021-02-19 Thread tom
at 5:42 PM Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On Tue, Feb 16, 2021 at 8:03 AM tom wrote: > > > > I was working in vim and tried to sort something. The sort didn't work > as I expected. > > > > I thought I would upgrade to ver

Upgrade to recent version broke vimrc -- doesnt recognize unix style environmental variables

2021-02-15 Thread tom
the dreaded "E303: Unable to open swap file" I fixed it this way set backupdir=c:\\Users\\myuser\\Documents\\home\\vim\\backup,c:\\TMP Regards Tom Bodine -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are r

Re: Autocommand script

2020-08-22 Thread Tom Ryder
call MyFunction() endif -- Tom Ryder <https://sanctum.geek.nz/> Maybe we can bring back the light. -- -- 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/

Re: Error editing perl source file with filetype plugin indent on in my _vimrc

2020-04-18 Thread Tom M
ig. So that we see whether the problems has something to do with the space in "C:\Users\Knute Johnson\AppData\Local\Temp". Tom -- -- 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

Re: gx strange behavior

2020-04-06 Thread Tom M
> I forgot to mention that also when typing > > :!xdg-open http://www.vim.org & > > > nothing happened. Running "xdg-open http://www.vim.org &" in a terminal - outside of Vim/gVim - does work? If not, what messages and what exit code does it give? Tom --

Re: gx strange behavior

2020-04-05 Thread Tom M
didn't look into the netrw plugin but I suppose there is a way to configure it so that the gx command launches xdg-open via a background job (the ampersand form). Tom -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text yo

Re: .vimrc problem with "autocmd" section, how to resolve?

2020-03-30 Thread Tom M
are their output with the other systems where the problem does not exist. By the way, what is the version of the other (older) vim? Tom M -- -- 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 inform

Re: automatic redraw for multi-line syntax highlighting patterns

2020-01-13 Thread Tom M
uot;syn sync fromstart". Am I missing > something else in the syn-sync setup? As stated above, the syntax highlighting is not updated to reflect the changed text even with "syn sync fromstart". So this definitely looks like a bug. Should I open a ticket in the issue tracker? Tom

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-28 Thread Tom M
tart". Am I missing something else in the syn-sync setup? Thanks, Tom -- -- 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

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
On Sat, Dec 28, 2019 at 12:32 AM Tom M <7to...@gmail.com> wrote: > Hi, > > the docs state (:help syn-multi-line) that syntax highlighting with > multi-line patterns "mostly works as expected". I am not sure if this > "mostly" includes automatic highlight

automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
quot;always works"? Or am I missing something? This is Vim 8.1.2337 (Huge version with GTK2 GUI) on Debian GNU/Linux, started with: vim --clean -S ~/tmp/s.vim Thanks in advance for all your insights, Tom -- -- You received this message from the "vim_use" maillist. Do not top-post!

Ex command for deleting folds?

2019-12-10 Thread Tom M
ot;:%normal zD" if I want to delete all folds? Thanks in advance, Tom -- -- 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

Re: [OT(?)] Ubuntu 18 now defaults to 4-space tabs

2019-09-12 Thread Tom M
ery file. > > > Thanks! > To see what's going on when pressing Tab (and possibly propose a solution for your issue), it would be good to know the values of some settings. Open a python file, run the following and post the result: :verbose set sts? ts? et? rtp? Tom M -- -- You r

Re: GVIM: alt/meta keys: inconsistent results for getchar(0)

2019-02-21 Thread tom
I don't see how you can get a modifier sequence without anything following. Would require some debugging. I submitted a bug report as a reminder. Regards -- -- 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

Re: yank and put not vmapping in debian stretch PROBLEM SOLVED

2018-08-18 Thread tom arnall
i installed 'vim-gtk'. the command 'vim' then produced a system which enables the mapping On 7/22/18, tom arnall wrote: > i can't get yank or put to map to a kb shortcut in visual mode. i'm > running debian stretch. > -- -- You received this message from the "vim_use" m

Re: yank and put not vmapping in debian stretch

2018-07-23 Thread tom arnall
ual result is no change; expected that editor would put 'now is the time' in the document) Thanks again for your help, Tom Arnall On 7/22/18, Tony Mechelynck wrote: > On Mon, Jul 23, 2018 at 3:40 AM, tom arnall wrote: >> i can't get yank or put to map to a kb shortcut in visual mode. i'

Re: yank and put not vmapping in debian stretch

2018-07-22 Thread tom arnall
will do. thanks very much for your offer of help. On 7/22/18, Tony Mechelynck wrote: > On Mon, Jul 23, 2018 at 3:40 AM, tom arnall wrote: >> i can't get yank or put to map to a kb shortcut in visual mode. i'm >> running debian stretch. > > This problem description is so va

yank and put not vmapping in debian stretch

2018-07-22 Thread tom arnall
i can't get yank or put to map to a kb shortcut in visual mode. i'm running debian stretch. -- -- 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

can't get vmap to work

2018-07-21 Thread tom arnall
here it is: :vmap "+y then when i donothing happens -- -- 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

Re: VIM Advanced text string search HELP

2018-05-25 Thread Tom M
? %s#\(Locationfile://\)/\(Volumes\)/\(OLDDRIVE\)/\(OTHERFOLDER\)/.*/\(.*\)\(\)#\1/NewVolume/NEW_SSD/NEWFOLDER2018/\5\6# First try on one line (without the '%') to see if the result is precisely what you need. Tom -- -- You received this message from the "vim_use" maillist. Do n

Re: Fixate window layout?

2017-03-22 Thread tom
Read: :help mksession I'm sorry I don't understand how mksession or mkview could help in this situation. I guess my problem description was imprecise. I don't want to maintain a certain layout across sessions or even maintain a specific layout. I want __certain__ windows not to change

Re: annoying PasteStart/PasteEnd

2017-01-24 Thread Tom Snee
On Tuesday, January 24, 2017 at 8:51:08 AM UTC-5, Bram Moolenaar wrote: > Does this still happen when you start Vim with: > > vim -u NONE -N > > When not resetting t_BE, of course. It happens for me, but only when I paste in command line mode. Changing t_BE makes no difference. I use

Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Tom M
e "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 >

Re: Word completion seems to have problem

2014-07-30 Thread tom arnall
30, 2014 4:27:11 PM UTC+12, tom arnall wrote: how did you learn this? i want to become more I checked the vim help: :help 'complete Note that there's a trick there; if there's a conflict between an option name and someother topic (as with :help complete), prefixing the option name

Re: Word completion seems to have problem

2014-07-30 Thread tom arnall
you mean, 'when all else fails, read the instructions?' ;o) On 7/30/14, Christian Brabandt cbli...@256bit.org wrote: Hi tom! On Mi, 30 Jul 2014, tom arnall wrote: thanks. how did you learn the ' trick? Open the help window and read the paragraph starting with Get specific help: Best

Re: Word completion seems to have problem

2014-07-29 Thread tom arnall
John, works! thanks. how did you learn this? i want to become more knowledgeable of such details but often i can't find an answer in the vim documentation. Tom - On the sea of life, the occasional loss of a boat is inevitable. On 7/28/14, John Little john.b.lit...@gmail.com wrote

Word completion seems to have problem

2014-07-28 Thread tom arnall
Word completion seems to have problem: In this line: wordTom,wordDick, wordD When I try to complete 'wordD' with c-p or c-n I get: Keyword completion: pattern not found But, when I put instead this in the file (i.e., move 'wordD' to the next line): wordTom,wordDick

puzzling mapping behavior

2014-05-25 Thread tom arnall
this mapping: nmap c-y 0i``CResc:%s/\s\*\n\s\*\n\s\*\n/\r\r/gCR/^``CR produces what seems to me an incorrect behavior. if the %s doesn't find anything, the cursor ends up on the line after the `` mark. until recently it would land on the first ` mark, i.e., where i want it. adding

Re: undo/redo problem

2013-09-22 Thread tom arnall
the :earlier command seems to solve my problem. belated thanks to all for yr generous attention. The basic truths are self-evident, but 'self-evident' does not mean 'obvious'. Spinoza, approx. On 9/18/13, Dominique Pellé dominique.pe...@gmail.com wrote: tom arnall wrote

Re: /^\[\w]

2013-09-18 Thread tom arnall
On 9/17/13, Gary Johnson garyj...@spocom.com wrote: On 2013-09-17, tom arnall wrote: with nomagic /^\[\w]does not get every match. it skips random intervals of matching lines with every try. que pasa? For example, Regards, Gary In the process of getting an example, I found

undo/redo problem

2013-09-18 Thread tom arnall
I am having a problem with redo/undo behavior. Every week or so, I will accidentally wipe out some text and when I try to get it back with undo and/or redo, it never reappears, no matter what direction I go. My undo level is 5000. History is at default. -- -- You received this message from the

why does /\[^\s] not find the character 's'?

2013-08-11 Thread tom arnall
:32:35) Included patches: 1-330 Regards, Tom Arnall Ensenada, Baja California Will it never cease, this obsession with wrecking wet dreams? Francis Knight -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: why does /\[^\s] not find the character 's'?

2013-08-11 Thread tom arnall
eee! got it! didn't understand vim regex well, and magic not at all! i thought it was on and ;o) tx kindly, tom On Sunday, August 11, 2013 6:38:56 PM UTC-7, tom arnall wrote: greetings! when i do a search using:      /\[^\s] it behaves as it shd, i.e., it finds

Folds

2012-04-02 Thread Tom
Hello. Often doing programming I come across the case that I would like to have folds for Class and/or API code. e.g; [code] // Javascript function MyClass() { } /** * Some API Docs */ MyClass.prototype.someMethod = function() { }; ... [/code] What I usually do here is create a manual fold

Re: :e handles one file

2011-08-23 Thread Tom
Scripting solutions aside, I thought the mailinglist would be a good place to talk with developers of vim (or policy makers) on their view on this. Do they post here? On Tue, Aug 23, 2011 at 5:51 AM, ZyX zyx@gmail.com wrote: Reply to message «Re: :e handles one file», sent 01:15:56 23

MiniBufExpl on the left

2011-08-23 Thread Tom
Hi, I've been using MiniBufExpl for a long time but recently discovered it's possible to put it on the left side instead of the top. This is handy for me since I also use NERDTree and the two seems to be conflicting a bit for which gets the most outer split when NERDTree is on the left. I'd love

Re: :e handles one file

2011-08-23 Thread Tom
of .. lots of stuff most people don't need anymore.. If other systems rely on old software, then just dont use the new version (maybe update the systems?).. On Tue, Aug 23, 2011 at 11:36 AM, Christian Brabandt cbli...@256bit.org wrote: On Tue, August 23, 2011 10:02 am, Tom wrote: Scripting solutions

:e handles one file

2011-08-22 Thread Tom
I know :args can load multiple files in multiple buffers but why would you explicitly make :e only handle one, then complain if there's more then one argument and create other commands to do what you're trying to prevent with the first command? That seems a bit illogical... Would it be a good

Re: JS edition of VIM

2011-07-31 Thread Tom
Maybe you should look to extend Cloud9 On Sat, Jul 30, 2011 at 5:31 AM, Kai Zhang zk65900...@gmail.com wrote: Hello, everyone! I am wondering if there is a javascript edition of vim. I have found JSVIM, but it is too simple. Since web application is more and more popular, I think we need a

Adding tag support for a new language to FuzzyFinder

2011-06-14 Thread Tom Locke
? Thanks Tom -- 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

Editing PHP with Vim

2011-04-26 Thread Tom
this is the most common use case for webdevelopment with PHP and Vim end because these languages already are supported by vim. I see it as a bug in vim (i.e. fix it at the vim level, not with a plugin) that I can't indent HTML in PHP files. Is this correct? Greetings, Tom Wieland -- You received

Re: Editing PHP with Vim

2011-04-26 Thread Tom
Right, so I propose to fix it (once and for all). Is there a ticket system for vim? Would this be accepted as a ticket to be fixed in the future? On Tue, Apr 26, 2011 at 4:50 PM, Ben Fritz fritzophre...@gmail.com wrote: On Apr 26, 7:13 am, Tom tom.wiel...@gmail.com wrote: I see it as a bug

Re: so many things I can't find in my vim installation :-{

2011-04-14 Thread Tom
pathogen is a good option aswell On Thu, Apr 14, 2011 at 11:58 AM, Marco net...@lavabit.com wrote: On 2011-04-14 eNG1Ne communicator@gmail.com wrote: Every now and then I look up from what I'm doing and think there might be a better way. In this hopeful spirit, I just ran :help plugins

Re: why not remove www? Currently http://vim.org/ doesn't work

2011-04-09 Thread Tom
While we're at the topic of the site; It's really really dated. I'd make at least the plugin section a git/svn/hg repo host or tie in to github and other services and include user feedback (comments maybe, tickets would be better). Time to step into 2011 and leave 1999 behind? On Sat, Apr 9, 2011

Re: plugin description / installation hints based on archive/repo?

2011-04-07 Thread Tom Link
on vim.sf.net. Maybe the plugin creation page could suggest a text block for the installation instructions based on the file type? Maybe vimball.vim could display install/plugin.txt after extraction? Regards, Tom -- You received this message from the vim_use maillist. Do not top-post! Type your reply

empty buffers

2011-04-06 Thread Tom
Hello. How do I get rid of empty buffers in vim alltogether? I never have a use for them and find myself always deleting them because they are in my buffer list. Greetings, Tom -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

vim hompage: script rating vs. google search

2011-03-25 Thread Tom Link
with rating= in the google search if that's possible or, better, to change the rating only by POST requests. Regards, Tom -- 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

Re: which plugin management system to use?

2011-03-21 Thread Tom Link
include programming language, other requirements, and integration with vim to the list. Regards, Tom -- 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

Re: which plugin management system to use?

2011-03-21 Thread Tom Link
for a scriptable external solution. Regards, Tom -- 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

Re: script to download scripts from vim.org

2011-03-17 Thread Tom Link
complete list of similar tools up to date? Regards, Tom -- 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

Re: Introducing Vnews, a Vim-based newsfeed reader

2011-03-13 Thread Tom Link
in and on a mysql server running (but well, not necessarily on the same machine). :-) Anyway, great idea although for a lightweight solution I would prefer a text based (xml, yaml) or sqlite-based data store, or do you plan for concurrent users? Ciao, Tom -- You received this message from the vim_use

Re: Vim homepage - improvements I'd like to implement. Comment please

2011-01-01 Thread Tom Link
), Tom -- 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

Re: Vim homepage - improvements I'd like to implement. Comment please

2011-01-01 Thread Tom Link
solution would be a yearly inflation. Regards, Tom -- 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

Re: Vim homepage - improvements I'd like to implement. Comment please

2011-01-01 Thread Tom Link
brilliantly written those plugins may be, given the limitations of vimscript from back then, I think their ratings should be moderately devalued. Regards, Tom -- 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

Re: how to info vim the ruby/lua intepreter path under windows

2010-12-30 Thread Tom Link
but there's currently no way that I can add the path to my system it's pretty locked up. Let's blindly assume you're using windows. You should always be able to set per use environment variables. Or you could create a bat script that sets the environment variables and runs vim. HTH -- You

Re: How to get a nice vertical list of open buffers (ordered by mru) that I can easily navigate to by typing drill down?

2010-12-28 Thread Tom Link
- A quick popup of my open buffers listed by most recently used and can be cut back by me just starting to type the name of the file, or I can navigate by arrows to the file I want tselectbuffer[1] can be configured to work this way. HTH Tom [1] http://www.vim.org/scripts/script.php

Re: How to recall what bookmarks I defined?

2010-12-28 Thread Tom Link
Thanks Tom!  I found quickfixsigns does not correct refresh its status bar, showmarks does not work at all, and workmarks does not do global marks. Could you please describe how it doesn't correctly refresh the signs? I know that an earlier version had problems with global marks. I uploaded

Re: How to recall what bookmarks I defined?

2010-12-27 Thread Tom Link
. It seems that over on vim.org there are at least two plugins called showmarks that achieve something similar. I personally also find that plugins like wokmarks and (my own :-) tmarks make it easier to deal with marks. YMMV and, again, maybe other plugins suit your editing habits better. HTH Tom

Re: cygwin startup time

2010-12-19 Thread Tom Link
awk 'BEGIN{FS=OFS=|}{print $1,$3}' c:/columns.txt awk: ^ invalid char ''' in expression The error message seems badly formatted. At which column is the ^ placed? Anyway, the following characters could cause problems in that expression: |, , ' You should be able to solve the problem by properly

Re: Slow vim loading , how to find it out

2010-12-17 Thread Tom Link
it's using over half of all startup time In this case it won't work because you probably want to load the plugin on every startup, but you can use plugins like asneeded, tplugin to load plugins on demand (e.g. when invoking a command for the first time) or vim-addon-manager or pathogen to enable

Re: cygwin startup time

2010-12-16 Thread Tom Link
Startup takes env. 20-30 seconds. Cygwin sometimes can be slow, even on my old notebook with its very slow hard disk, it doesn't take that long though to open a terminal window. IMHO you might want to review your .bashrc, .bash_profile, .profile, .login files -- or whatever bash is loading for a

Re: are includes possible in vim files?

2010-12-12 Thread Tom Link
would be defined in the file autoload/mymenu/sub.vim, which is automatically sourced when the function is called). If you really want to use commands, define them in in a plugin file (e.g. plugin/mymenu_cmds.vim), which will be sourced on startup. Regards, Tom -- You received this message from

Re: Problem with character encoding

2010-12-07 Thread Tom Link
the string before pasting it in a instance of vim where enc is utf8. Regards, Tom -- 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

Re: how to unit-test vim scripts?

2010-12-04 Thread Tom Link
option values. Campbell wrote pluginkiller that tries to deal with this issue (http://www.vim.org/scripts/ script.php?script_id=1489) but this approach IMHO gets you only so far. Regard, Tom -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: Emacs' Org-mode clone for Vim

2010-11-27 Thread Tom Link
1. Do not pollute buffer and global scopes with lots of variables: either use two dictionaries (one global and one buffer) which will hold all of them (for example, see how it is implemented in vim-addon-manager), or do as I do: purge out all global and buffer variables, use

Re: Trying to find what plugin is giving me an error

2010-11-25 Thread Tom Link
,BufWritePre,BufWritePost,Filetype *.php Or try: 12verb write And watch what causes the error. HTH, Tom -- 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

Re: Saving global variables in session files

2010-11-17 Thread Tom Link
. Such plugins load a project- specific viml file, e.g. /path/to/project/.lvimrc. You could define a SessionLoadPost autocommand that does something. The session is saved in v:this_session. Regards, Tom [1] http://www.vim.org/scripts/script.php?script_id=441 -- You received this message from

Re: Make it work like a typewriter?

2010-11-07 Thread Tom Link
://groups.google.com/group/vim_use/browse_frm/thread/b88f5b3acac2aff9/35ab0bbb20d7b531 Regards, Tom -- 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

Re: comment based anchor tags

2010-11-04 Thread Tom Link
to ctags. Regards, Tom -- 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

Re: execute command in [vim]grep-results ?

2010-10-26 Thread Tom Link
that gives the list of files in the qfl/loclist right away. BTW, you should probably add matches for word boundaries to your regexp (\define\) in order not to replace defineFoo with defFoo. Regards, Tom [1] http://www.vim.org/scripts/script.php?script_id=2033 -- You received this message from

Re: grep quickfix window question

2010-10-18 Thread Tom Link
on environment factors (the file system). Regards, Tom -- 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

Re: grep quickfix window question

2010-10-18 Thread Tom Link
sensitive (which I personally would prefer) or case insensitive no matter which FS or OS you use. Regards, Tom -- 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

Re: How to filter input in a buffer in a script?

2010-10-10 Thread Tom Link
synchronously (in this case your will probably have to read the characters with getchar() in a loop) or asynchronously (in this case you could also use buffer local maps and map all unwanted keys to something that doesn't do anything at all). Regards, Tom [1] http://www.vim.org/scripts/script.php

Re: Question about environment variables in vimscript

2010-10-01 Thread Tom Link
be slightly different you might need to specify more precisely which OS you use and what you're trying to achieve. Regards, Tom -- 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

Re: Why Vimball archives are evil?

2010-09-28 Thread Tom
I'd prefer either: An 'all-in' solution: - vim.org gets a repository of plugins. - vim gets a package/plugin manager just like Firefox, Chrome, your-linux-distro-of-choice to update, find, install and uninstall plugins. You'd no longer have to use the site for this - every use of the site

Re: Why Vimball archives are evil?

2010-09-28 Thread Tom Link
taking a closer look at plugins that aren't available as git repository. Regards, Tom -- 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

Re: Why Vimball archives are evil?

2010-09-26 Thread Tom Link
the plugin: TPlugin vim-surround Regards, Tom -- 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

Re: Why Vimball archives are evil?

2010-09-25 Thread Tom Link
the impression that it solves the same problem as tplugin (which could be described with 3 too). tplugin-loader doesn't rely on extra work on part of the developer (1) though, which is why it probably isn't? But maybe I just don't get it. Regards, Tom -- You received this message from the vim_use

Re: Why Vimball archives are evil?

2010-09-25 Thread Tom Link
to solve this problem. Regards, Tom -- 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

Re: Why Vimball archives are evil?

2010-09-24 Thread Tom
, Tom Wieland On Fri, Sep 24, 2010 at 10:43 PM, Israel Chauca F. israelvar...@fastmail.fm wrote: That's it, I'd like to know the reasons behind so much opposition against plugins being released as vimball archives. Thanks! Israel -- You received this message from the vim_use maillist. Do

Re: Why Vimball archives are evil?

2010-09-24 Thread Tom Link
pathogen, vimpluginloader by ZyX (that AFAIK integrates with Marc's vim-addon-manager), (shameless plug) my own tplugin, and maybe others. Regards Tom -- 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

Re: narrow region with a filter ?

2010-09-20 Thread Tom Link
a command :FoldNonMatching Regards, Tom -- 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

Re: Mark selection for replace

2010-09-13 Thread Tom
Hi, if you use visual mode to select something and go to the command line you will see it open with :',' which is from and to your visual selection. You could do a :','s// to do a replace on that section. gr, Tom On Mon, Sep 13, 2010 at 3:25 PM, Dotan Cohen dotanco...@gmail.com wrote: How

Re: Determine whether vim is loading or whether the VimEnter event was already fired

2010-09-12 Thread Tom Link
Hi, has(vim_starting) It's probably worth mentioning that vim_starting is set to 0 before the VimEnter event is triggered: autocmd VimEnter * echom has('vim_starting') = 0 But that's ok. Regards, Tom -- You received this message from the vim_use maillist. Do not top-post! Type your reply

Determine whether vim is loading or whether the VimEnter event was already fired

2010-09-04 Thread Tom Link
or :runtime command? Regards, Tom -- 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

Re: Determine whether vim is loading or whether the VimEnter event was already fired

2010-09-04 Thread Tom Link
name that matches any group? Something like au! * VimEnter or au! ALL VimEnter Regards, Tom -- 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

Re: fixed grammatical errors in vim help files using LanguageTool

2010-08-30 Thread Tom Link
Hi, Done. LanguageTool.vim plugin now populates the location list. So you can use commands such as :lopen, :lne, etc. Cool. Thanks a lot. Regards, Tom -- 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

Re: Vim RE and lazy operator

2010-08-30 Thread Tom Link
You mean, non-greedy? For part after @ you can use non-greedy \{-1,} instead of \+, but this will not help you with part before @. Here you must just replace dot with [^@]. This one should work too: s/\zs.\...@.\{-}\ze/.../g -- You received this message from the vim_use maillist. Do not

Re: Writing a configuration file in vim script

2010-08-29 Thread Tom Link
the '!' argument in :help 'viminfo'. Regards, Tom -- 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

Re: fixed grammatical errors in vim help files using LanguageTool

2010-08-29 Thread Tom Link
. Regards, Tom -- 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

Re: internal vim command to check file existence ?

2010-08-28 Thread Tom Link
        Is there any commands can be used to check if a file exists ? In many cases, you can use filereadable() or filewritable(). Cheers, Tom -- 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

Lua plugin for vim

2010-08-24 Thread Tom
Hi! I'm wondering if there's any examples or (un)finished code out there that use the new lua api for vim. gr, Tom Wieland -- 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

sort words within a line

2010-08-24 Thread Tom
How does one sort words with a line ? As example I have these numbers in a line: 400, 250, 125, 600 I want to sort them so they will be 125, 250, 400, 600 I have tried the visual command then !sort but that doesnt do it. Thanks Tom -- You received this message from the vim_use maillist. Do

Re: sort words within a line

2010-08-24 Thread Tom
On Tue, Aug 24, 2010 at 09:51:56PM +0200, Christian Brabandt wrote: Hi Tom! On Di, 24 Aug 2010, Tom wrote: How does one sort words with a line ? As example I have these numbers in a line: 400, 250, 125, 600 I want to sort them so they will be 125, 250, 400, 600 I have

Re: Tips for remembering command's of scripts

2010-08-15 Thread Tom Link
I'm using the latest release of vim73 on Win XP and ruby 19. By editing of vimdedoc.rb I'm getting the following errors: Error detected while processing C:\Programmi\Vim\vim73f\ftplugin\ruby.vim: Looks like a problem with vim's ruby ftplugin to me. You might want to post

Re: VIM Recent Script Updates - RSS Feed request

2010-08-11 Thread Tom Link
 http://feed43.com/vim-scripts.xml script:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) The problem is known. The home site of vim shows the following message: [11-Aug-2010] Sourceforge is currently experiencing sporadic problems with their project

  1   2   3   >