.
So, Edward, please post to this list if/when your friend has something
that we may try out :-)
Thomas Svensen
Senior Solutions Engineer
FAST
tokenizer would work the same way, and by the
original name, line feed in fact /does/ mean a new line on a
serialized terminal.
But that's arguing semantics when the core of the problem is known
now. I apologize for having a different set of mind and not
understanding the problem instantly.
Thomas
2007/5/15, Micah Cowan [EMAIL PROTECTED]:
Thomas Michael Engelke wrote:
But that's arguing semantics when the core of the problem is known
now. I apologize for having a different set of mind and not
understanding the problem instantly.
This is not a fair remark, considering I pointed out
2007/5/14, Andy Wokula [EMAIL PROTECTED]:
Thomas Michael Engelke schrieb:
:set fileformats?
gives
fileformats=dos,unix, so both formats are available, yet the
detection and switching does not seem to work.
Are you sure _every_ line ends in ^M?
Positive. Every single line shows an ^M
2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]:
Thomas Michael Engelke wrote:
2007/5/14, Andy Wokula [EMAIL PROTECTED]:
Thomas Michael Engelke schrieb:
:set fileformats?
gives
fileformats=dos,unix, so both formats are available, yet the
detection and switching does not seem to work
2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]:
Thomas Michael Engelke wrote:
2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]:
Thomas Michael Engelke wrote:
2007/5/14, Andy Wokula [EMAIL PROTECTED]:
Thomas Michael Engelke schrieb:
:set fileformats?
gives
fileformats=dos,unix, so
I moved tmru.vim into ~/.vim/plugin, but where do I install tlib.vba?
Open the file in vim and type: :so %
See http://www.vim.org/scripts/script.php?script_id=1502 for details.
With 7.0, you might need to install a current version of vimball first.
(I'm not sure about that though.)
? And why doesn't the interpretation change when
I change fileformat? binary is set to nobinary, as I read in the
help that this might cause problems.
Regards,
Thomas Engelke
Berlin, Germany
--
GPG-Key: tengelke.de/thomas_michael_engelke.asc
:set fileformats?
gives
fileformats=dos,unix, so both formats are available, yet the
detection and switching does not seem to work.
2007/5/14, Yongwei Wu [EMAIL PROTECTED]:
Hi Thomas,
On 14/05/07, Thomas Michael Engelke [EMAIL PROTECTED] wrote:
Hello!
I just opened one of the files we
Luis A. Florit wrote:
* El 07/05/07 a las 10:37, Thomas chamullaba:
For scripts you can also use:
http://feed43.com/vim-scripts.xml
This is an inofficial feed using a free screen scraping service (which
explain the small ad in the item footer) though.
For scripts you can also use:
http://feed43.com/vim-scripts.xml
Regards,
Thomas.
. If this is intended to be so, I think this should be noted
in the help -- AFAIK it currently isn't.
Regards,
Thomas.
Using : both for scopes and Sublist is not ideal. But it's hard to
think of something that is better.
Ruby uses .. for this (eg a[2..-1]), which has a mathematical touch.
Putting spaces before and after the colon is perfectly ok for me though
-- now that I know it.
Also would it be _recommended_ to ever use a window-local variable
without
the w: prefix? ... IMHO not.
Well, it would make it easier for the user to configure scripts. I'm
myself not convinced that it's a good idea to allow this for all
variables, though. But I think it could be useful in
:while getline(line(.)) =~ 'pattern'
: norm j
:endwhile
mb
:'a,'b command
Thanks,
Kevin.
Ciao,
Thomas
--
Thomas Köhler Email: [EMAIL PROTECTED]
WWW: http://gott-gehabt.de
IRC: tkoehler
No. Delete the buffer, but keep the window open.
Something like http://www.vim.org/tips/tip.php?tip_id=1078
Regards,
Thomas.
. Hence what you want to do is use:
/usr/bin/gview -c set ft=man nomod nolist titlestring=$1 -
-- Thomas Adam
___
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today
http
(a\nb)', 'abbr': 'a'})
So I imagine the text stump would then be removed and the function
called with the cursor at the position where the text should begin or so.
Regards,
Thomas.
,
Thomas
--
Thomas Köhler Email: [EMAIL PROTECTED]
WWW: http://gott-gehabt.de
IRC: tkoehler
PGP public key available from Homepage!
signature.asc
Description: Digital signature
Hi,
Is a compiler plugin for the ARM compiler (armcc) already available?
(Couldn't find it in the Vim site)
I am basically looking for the errorformat for the ARM compiler.
Regards,
Sibin
DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before
,
Thomas
--
Thomas Köhler Email: [EMAIL PROTECTED]
WWW: http://gott-gehabt.de
IRC: tkoehler
PGP public key available from Homepage!
signature.asc
Description: Digital signature
autocmd BufRead,BufWrite * if ! bin | silent! %s/\s\+$//ge | endif
Thanks. I think this is about what I was looking for.
Regards,
Thomas.
Hi,
Is a compiler plugin for the ARM compiler (armcc) already available?
(Couldn't find it in the Vim site)
I am basically looking for the errorformat for the ARM compiler.
Regards,
Sibin
DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before
a way to do this?
I understand this could also be considered a finesse/feature, but I
personally would like to have to choice to treat lines containing only
whitespace characters as empty lines.
Thanks,
Thomas.
was just wondering if there maybe already is a (buffer local) option
to do this.
Regards,
Thomas.
of setting
b:did_ftplugin and not b:did_ftplugin_X?
Regards,
Thomas.
-right
zz gets inserted.
Is there a work-around?
Regards,
Thomas.
and then prepend c-o to the command if
that's the case. It works without destroying the selection but it looks
strange to me.
Regards,
Thomas.
___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo
-Original Message-
From: Eric Leenman [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 25, 2007 3:40 PM
To: vim@vim.org
Subject: How to cut, copy and paste the VIM-way
Hi,
I'm used to cut, copy and paste the windows-way.
Meaning, selecting text and then press CTRL-X, CTRL-C or CTRL-V.
In
Let me rephrase my question:
Is it possible to display the omni-completion menu in normal mode, eg
from a function called in normal mode?
I don't want to set omnifunc or completefunc for this.
Regards,
Thomas.
: Leenman
Country: Holland
There are some plugins that do this:
http://www.vim.org/scripts/script_search_results.php?keywords=skeleton
http://www.vim.org/scripts/script_search_results.php?keywords=template
Regards,
Thomas.
finally
let omnifunc = omnifunc
endtry
endf
How would the DISPLAY MENU part look like?
Regards,
Thomas.
-scraping service. You could use this
feed: http://feed43.com/vim-scripts.xml
Not sure yet, if this really works.
Regards,
Thomas.
___
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
.
Since I can map some multibyte characters, there is in my opinion no
issue with the encoding.
The question is: why is it possible to map U+2200 but not U+2019?
Regards,
thomas
/.getbufvar(%,current_syntax)..vim
autocmd FileType * execute setlocal
complete+=.k$VIMRUNTIME/syntax/.getbufvar(%,current_syntax)..vim
Regards,
Thomas.
-Original Message-
From: cga2000 [mailto:[EMAIL PROTECTED]
Sent: Monday, February 26, 2007 10:28 PM
To: vim@vim.org
Subject: Re: How do I make the current working directory follow the active
document in Gvim?
On Sun, Feb 25, 2007 at 07:57:39PM EST, A.J.Mechelynck wrote:
[..]
- To
the final path is
\Cd-server\HKR_304B\install.inf. It would save the file now to
localharddisc:\Cd-server\HKR_304B\install.inf, which is hardly what
I tried to do :)
Thanks.
Thomas
--
GPG-Key: tengelke.de/thomas_michael_engelke.asc
I'd like to know if any ports of vim to them are supported out of the box
The Sharp Zaurus (no new products to be expected) and the Nokia N800 are
linux-based devices and to my knowledge run vim if this is what you
wanted to know.
Hi all,
I am stuck in one of my scripting attempts!
The context :
Suppose I want to delete the string bio from the following line The
biosphere is huge and I want to do it in this way -
/biosCR
vCR
//eCR
dCR
Now I want to do the same thing, but conditionally...basically I want to use
the :if
I really do need this.
Regards,
Sibin
-Original Message-
From: Charles E Campbell Jr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2007 12:31 AM
To: Sibin P. Thomas
Cc: vim@vim.org
Subject: Re: search command in visual mode - how to?
Sibin P. Thomas wrote:
Hi all,
I am
(or possible an earlier version, too?) can do
those context menus that pup up in the editing area rather than at the
command line below.
Can anybody give me a hint on how to rewrite the mapping so I get such
a conext menu instead of a numbered list?
Thank you,
Thomas
--
GPG-Key: tengelke.de
2007/2/6, Vigil [EMAIL PROTECTED]:
Hopefully this will be available on google videos.
Yes, as a german it's an awfully long way just to meet Bram once. I
hope to see this lecture pop up as a Torrent or or Goggle Video.
2007/2/8, Marc Weber [EMAIL PROTECTED]:
On Thu, Feb 08, 2007 at 01:30:37PM +0100, Thomas Michael Engelke wrote:
Can anybody give me a hint on how to rewrite the mapping so I get such
a conext menu instead of a numbered list?
Get the word under the cursor using expand('cword')
See completion
to the actual OS implementation. So
yanking to the register * should do the trick.
Thomas
--
GPG-Key: tengelke.de/thomas_michael_engelke.asc
Hi all,
How can one visually select a pattern which is searched for?
In the following text :
get_register_primitive 7
get_register_test_case_primitive 8
parameters
address--- variable
-
set_register_primitive 11
parameters
set_reg--- variable
), I want to visually select only the part
highlighted by the search operation.
Regards,
Sibin
-Original Message-
From: Michael Brailsford [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 10:10 PM
To: Sibin P. Thomas
Subject: Re: how do u visually select a search pattern?
:set
?
Regards,
Sibin
-Original Message-
From: Tim Chase [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 10:40 PM
To: Sibin P. Thomas
Cc: Vim Mailing List
Subject: Re: how do u visually select a search pattern?
I would like to search for the pattern para\_.\{-}variable.
When I am
Hello,
I'm trying to use a regex for searching in a file. I noticed that
inside square brackets \w seems to loose all magical matching
abilities. Is there a way to reverse that loss or do I have to specify
everything inside [] explicitly?
Regards,
Thomas Engelke
Berlin, Germany
--
GPG-Key
-Original Message-
From: Eddine [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 14, 2007 5:06 PM
To: Vim Mailing List
Subject: How can I do to always opening files into a tab ?
Hello Vimmers !
I got few questions for vim under win32 (XP)
- How can I do to _always_ open files into its
Hi,
In the following, command line expansion works in gvim but not in vim:
set nocompatible
set wildmenu
amenu test.etc\..1 :echo 1cr
emenu test.{press tab}
This presents no possible completion in vim, but correctly shows the
submenu in gvim.
Regards,
Thomas.
set nocompatible
set wildmenu
amenu test.etc\..1 :echo 1cr
emenu test.{press tab}
This presents no possible completion in vim, but correctly shows the
submenu in gvim.
It works fine for me. Could there be something else that matters?
I tried this with the terminal version on linux
2007/1/10, Jürgen Krämer [EMAIL PROTECTED]:
Hi,
Thomas Michael Engelke schrieb:
I have a problem with indendation of a piece of Progress code. It's
representative of a bit of indendation problems I have now and again,
always indenting way too far without any visible cause. I hope someone
(, %) doesn't help.
Regards,
Thomas.
into the interpreter.
Regards,
Thomas.
[1] http://www.vim.org/scripts/script.php?script_id=1730
Looking back, now that Vim script has become much more complex, a bit
more type checking would be good.
A valid point. Mabye this could be done by an assert command/function
that checks its arguments or does nothing depending on an option (maybe
'debug')/flag/variable?
Problem
As mentioned in the documentation, automatic conversion only happens
between numbers and strings, not with Lists and Dictionaries. This is
to avoid mistakes, e.g., trying to concatenate a List and a String.
Something like
let l = [1,2,3]
exec Foo . l
could come handy though -- which
Something like
let l = [1,2,3]
exec Foo . l
could come in handy though -- which isn't possible now.
Although I just realized that lists seem to be passed on by reference
and this would create a new copy if the string presentation of a list
were a parseable list.
Which leads to another
let l = [1,2,3]
exec Foo . l
Which leads to another point: How do I pass a list by reference to Foo
Sorry, I somehow seem to have forgot what the original problem was --
which I should able to solve with the function() call() functions.
for Windows 32 (7th of May 2006).
Any ideas?
Thanks,
Thomas
--
GPG-Key: tengelke.de/thomas_michael_engelke.asc
te-kor84965.p
Description: Binary data
to the
right and paste the block again.
Anybody that can reproduce the problem and/or shed some light on it?
Note: Shift+P works as a workaround.
Regards,
Thomas
--
GPG-Key: tengelke.de/thomas_michael_engelke.asc
2006/12/6, A.J.Mechelynck [EMAIL PROTECTED]:
Thomas Michael Engelke wrote:
Hello,
I have found an oddity in vim which I'm not sure is a bug and/or known.
I have yanked a visual block of some lines of code and try to put it
in somewhere else. There a strange effect happens: depending
Hi,
While we are at the subject of tips for budding Vim scripters -
I had created this mapping --
nmap com ^:if search('\/\*.*\*\/','c',line(.))!=0CR
:.s/\/\*\(.*\)\*\//\1/gCR :elseCR
:.s/\(\s*\)\(.*\)\(\s*\)/\1\/\*\2\*\/\3/gCR :endifCR :nohCR
this command basically toggles C-style commenting
Is it possible to invoke a function in vim automatically?
I'd like to process a text file automatically. I *could* write an
onload for the specific file that calls a functions, saves and exists,
but it does not strike me as very elegant.
Is there anything like
vim -auto -text_file -function
this function to every of those keys in
insert mode.
This is not very elegant, but it would work. I'm not very good in
(g)vim scripting and would like to have some help in writing this
function or a pointer on where I could find a plugin performing this
feat.
Thank you for your time,
Thomas Engelke
* file.txt
* other.txt
Why not simply use gf in such a situation? The (shameless plug) viki
plugin also provides advanced hyperlinking facilities.
Thomas.
This is not new behavior for VIM, but I am finally asking.
I would like to be able to repeat via '.' my last cut/paste action.
For example:
cw5C-V
After I do the above, the repeat function '.' does not work.
This does work on my old 'vi' that I use on Solaris.
Tom Hertneky
The contents of
I thought that this would be easy, but I can not figure it out.
I have had a simple Windows CMD file for a long time to open several files
in VIM.
Each one gets its own window.
Now with V7.0 I would like to have a simple batch file to open the files in
one window, but with tabs.
I have found
.
Regards,
Thomas
just like in perl.
I could not find anything about backreferences in the vim manual.
Thanks in advance,
Thomas
If u have Cygwin then creating a batch file with the following would be the
simplest solution -
set TARGETDIR=C:\something
set SCRIPTDIR=C:\something_else
find %TARGETDIR% -name *.[ch] -exec gvim -s %SCRIPTDIR%\win32_vimscript.vim
{} ;
Basically use find to help u (actually it's just one
I have tested it and it works without any hitch on my system.
(WinXp SP2 with Cygwin)
Regards,
Sibin
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 12:55 PM
To: Sibin P. Thomas
Cc: Yegappan Lakshmanan; vim@vim.org
Subject: Re
I set showbreak to ¦ (some extended character). This works fine for
latin1 etc. but causes troubles when the encoding is utf8. Cursor
position, col() virtcol() values etc. are miscalculated for
(soft)wrapped lines.
Regards,
Thomas.
Hi,
Could someone let me know how to quickly compile my current buffer? I want a
key map like
nmap F5 x to do -- gcc -o current_file.o current_file.c
also another map to make an executable, like
nmap F5 x to do -- gcc -o current_file current_file.c
Also it would be convenient if this
Use
:se exrc in ur _vimrc file
And then create a _vimrc file local to the directory in question.
Check help for more details.
Regards,
Sibin
-Original Message-
From: Andrea Spadaccini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 3:17 PM
To: vim@vim.org
Subject: Execute
when the encoding is eg utf8 and if there is a 16bit character
before the cursor -- the string in front of the cursor then obviously is
longer than one would expect from the value of virtcol().
Do you have a suggestion on how to robustly extract the line right of
the cursor?
Regards,
Thomas.
, it doesn't work with enc=utf8 and
when there are malformed characters (not valid utf8) that are displayed
as xx. Interestingly, virtcol() doesn't work in this situation either.
But you're 99% right I guess. Thanks.
Regards,
Thomas.
appears to be
slightly off position.
Regards,
Thomas.
it so that you could
rely on it.
Thomas.
[1] http://www.vim.org/scripts/script.php?script_id=861
Could someone help me here; I tried what Dave suggested but with no success.
Regards,
Sibin
-Original Message-
From: Sibin P. Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 6:25 AM
...
I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have
installed cygwin
Hi,
I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have
installed cygwin too); but whenever I try to use cscope in Vim I get the
following error -
E623: Could not spawn cscope process.
Has anyone come across this problem before and more
importantly found a solution?
Thanks for the reply, but the problem persists.
Is there somehow I could get hold of the source of this version of cscope?
Regards,
Sibin
-Original Message-
From: David Fishburn [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 6:12 PM
To: Sibin P. Thomas
Cc: vim@vim.org
Subject
that). install.exe appears to be kind of non-working here.
Thomas.
On Tue, 2005-12-06 at 12:32 -0800, David Frey wrote:
Often times I am looking at a file and there is a certain string sitting
infront of me that I want to grep for.
Right now, I go into command mode and type
:grep some_string *.extension
Is it possible to yank some_string and then paste
Hello!
I'm not sure if it was always the case or if this is a recent change
(through vim 7). I am not able to undo anything after saving a file.
Is this normal? What settings are involved? How can I change this
behaviour? The help-file for undo is pretty silent regarding this.
Regards,
Thomas
2006/6/30, Michael Naumann [EMAIL PROTECTED]:
Do you have
:set hidden
If not, you should.
HTH, Michael
On Friday 30 June 2006 11:59, Thomas Michael Engelke wrote:
Hello!
I'm not sure if it was always the case or if this is a recent change
(through vim 7). I am not able to undo anything
--- A.J.Mechelynck [EMAIL PROTECTED] wrote:
Thomas Mellman wrote:
When moving from buffer to buffer using
the :bp and :bn commands, vim normally positions the file and cursor
such that the last line visited is presented in the middle of the
screen and the cursor is on that line
When moving from buffer to buffer using
the :bp and :bn commands, vim normally positions the file and cursor
such that the last line visited is presented in the middle of the
screen and the cursor is on that line.
In certain circumstances, however, it does not do this. In those
.
-- Thomas Adam
___
All new Yahoo! Mail The new Interface is stunning in its simplicity and ease
of use. - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
-- but you're right -- it's most likely par treating various
leaders characters.
The short answer, sadly, is I'm afraid there's no nice way to do
this.
No worries, I'll just have to convert it back by hand. :)
Thank you as always, Tim.
Thomas
The comments section for vimtips is not very reliable (who goes
back every day to see if his tips have got a new comment added to
them?). Since vim-online scripts (unlike tips) require logging in, if
you have a comment you can email the maintainer.
A forum that generates an rss feed for new
to the
next occurance of the word under the cursor
I tried turning off showmatch, but it didn't help.
Is there something special about [ and ]?
I'm currently runnig version 6.3.84
--- Thomas Mellman [EMAIL PROTECTED] wrote:
After upgrading to a new version of VIM a while back, I
have now
-9_.-]\)',
'\=EncodeChar(submatch(1))', 'g')
endf
Cheers,
Thomas.
I had been getting this error (or something very similar) for a while now when
editing PHP files, but now I'm also getting it when editing Cheetah
templates.
-
Error detected while processing
,
Thomas.
somebody verify
this?
Regards,
Thomas.
Hi,
Here is a small patch for AsNeeded that eliminates the need to call
AN(X) for commands. It creates a file called ~/.vim/AsNeeded/ANautoload
that contains lines like:
command! -range -nargs=* Command delcommand Command | ANX Command
Regards,
Thomas.
--- AsNeeded.vim2006-05-10 20
need to be fixed in mod_perl and not
vim, but at this stage I'm just fishing for pointers what might cause
synIDattr() to behave differently. I've verified this behavior in vim
6.3 and the latest 7.0 beta. Any ideas?
Thomas
Windows shortcuts are different things than cygwin symlinks.
There is an option though to make cygwin symlinks be windows shortcuts
but these need some attribute (R I think) to be set. I don't know if
this help in this situation though.
Thomas.
--- Yegappan Lakshmanan [EMAIL PROTECTED] wrote:
Hello,
On 4/22/06, Thomas Mellman [EMAIL PROTECTED] wrote:
For example, I use the '[' and ']' keys to introduce various
shortcuts
(e.g. ]v and [v find the next or previous
occurance of the word under the cursor).
You can use
It explains some useful evaluative techniques that I use.
-- Thomas Adam
___
Yahoo! Photos NEW, now offering a quality print service from just 7p a photo
http://uk.photos.yahoo.com
1 - 100 of 106 matches
Mail list logo