is:
int foo;
uint8_t bar;
TIME baz;
int hello=world;
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
rather like a declaration set. There's
a map specifically supporting that:
\adec
seems like the script wasn't loaded propertly. After restarting gvim,
both \tsp and \adec worked (the latter one having the best result).
great script which I am sure I will get to use alot.
--
Kim Schulz
at every comment and see if
they're useful or not.
What are your ideas?
I think that we should move all comments. it is easier to remove the
useless ones later than it is to add a missing comment later on.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http
in a portable format and put it on the
Vim ftp server.
http://www.schulz.dk/vim/7HabitsForEffectiveT.avi
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
it.
That the main problem I encounter with wiki pages. Another thing is
that we most likely will encounter even more spam than now by moving to
a wiki (spambots are getting through, even when you have captcha and
user login).
just my 5cents
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED
?
Regards,
Guillaume
just yank it into the + register. This is the same as your clipboard.
--
Kim Schulz
?
(
Is this possible without using the Function Keys F1 till F12?
get the vim setup called cream.
http://cream.sf.net
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
=ratingdirection=descendingsearch=search
There might be a problem with the site.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
On Mon, 22 Jan 2007 23:04:14 +0100
Bram Moolenaar [EMAIL PROTECTED] wrote:
I broke it and now fixed it. Sorry for the inconvenience!
No problem... thanks for the info.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262
Arenas Coronado
having RSS feeds of the tips being added makes it easy to catch the
spam just after it has been added without having to go to the homepage
all the time.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262
hi
Is there any other function keywords besids range and dict?
I mean the ones you can add after the argument list in a function
decleration:
function MyFoo(arg1,arg2) keyword
echo foo
endfunction
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http
/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.8/i386-linux/CORE -lperl -lutil -lc
-L/usr/lib/python2.5/config -lpython2.5 -lutil -Xlinker -export-dynamic
-L/usr/lib -ltcl8.4 -lieee -lm
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http
[snip]
Great input Luc! thanks.
On Mon, 04 Dec 2006 00:40:53 +0100
A.J.Mechelynck [EMAIL PROTECTED] wrote:
Kim Schulz wrote:
Hi,
It you should give one (or more) tips to a person who was going to
start creating scripts for vim, then what would it be?
(besides know your :help :-) )
ideas could be:
Do's
tons of bad scripting. What I am asking for i what would
you do different if you should redo one of your first scripts -
programming-wise not functionallity!
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
Hi,
I have been looking for formatexpr examples that show how to write a
simple formatting function. Especially how the v:char is supposed to be
used since this is not that well described in the docs.
Does anyone have such example and can help me?
--
Kim Schulz| Private : http
let pre = pre . '0'
endif
call setline(ending, pre . difsize . \t . getline(ending))
let ending=ending-1
let difsize=difsize-1
endwhile
endfunction
:vmap :call Listing2()cr
I would prefer not to use a global counter.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL
features while
still maintaining a professional, easy to overlook, information packed
page for those just coming for the download and docs.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
Hi
Is there a way to have tab chars in foldtext?
I have tried with
set foldtext=getline(v:foldstart).'^I^I'.v:foldstart
but with no luck. Have also tried with \t and Tab
so is this possible and how?
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http
to the bottom of the file before adding contents. this way
this annoyance isn't activated as often.
Would be super to get rid of this annoyance which I tend consider a
bug - even though it probably has its roots in some line-editing ideas
from old days.
--
Kim Schulz| Private : http://www.schulz.dk
it gives you a superb overview of the code when reading through
it.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
.
absolutely perfect. this er very close to what I had in mind. Except
that I would really like this window to be locked (hence the question
which started this thread).
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http
Hi
I was wondering if there is a way to lock a window such that the
content can only be changed by scripting/commands. Like a preview
window or somthing like that.
is that possible to make in Vim or should I make a feature request to
get it :-)
--
Kim Schulz| Private : http
to be negative - I just wanted to save you some time if
the functionality that I described is what you require.
You are right. I have another idea :-)
Lets just mention all vim related blogs in this thread and then people
can add them to their rss aggregators themself.
--
Kim Schulz| Private
Hi,
Most of you probably know about using tags, tagfiles and the taglist
plugin, but I am courious if anyone has used the tags functionality in
interesting alternative ways? maybe in plugins or simple macros -
I want to know it all :-)
So let me know what neat ideas you have.
--
Kim Schulz
On Fri, 6 Oct 2006 13:32:53 -0500
Aaron Griffin [EMAIL PROTECTED] wrote:
You could probably use C tags from a header file (with the arguments
turned on) to generate a skeleton .c file just an idea.
not a bad idea. Wonder if anyone has done this already.
--
Kim Schulz| Private
On Fri, 6 Oct 2006 11:48:42 -0700
Max Dyckhoff [EMAIL PROTECTED] wrote:
Hari's new plugin LookupFile is a great use of tags, I use it dozens
of times a day!
http://www.vim.org/scripts/script.php?script_id=1581
ahh lovely. Didn't know that one.
--
Kim Schulz| Private : http
I tried was:
:iabbrev for( for
(!cursor!;+++;+++){\n+++\n}C-R=search('!cursor!',b)crc/+/ecr
but this inserts the linenumber where it finds the placeholder.
I would rather like it ro remove the placeholder and move the cursor
there.
any ideas?
--
Kim Schulz| Private : http://www.schulz.dk
. is there a way to go to that place ? I guess it is in
the mark for place of last change, but I just cant get iabbrev to
execute my movement command (other than using left right up
down). Is there any way to do this?
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business
that there's at least something within (the 1 bit), but that
you don't swallow multiple tags if they occur on the same line.
Just a few ideas,
thanks. works like a charm.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262
On Thu, 21 Sep 2006 23:36:19 +0200
Luc Hermitte [EMAIL PROTECTED] wrote:
Hello,
* On Thu, Sep 21, 2006 at 10:43:54PM +0200, Kim Schulz
[EMAIL PROTECTED] wrote:
I want to add placeholders to some templates I have like
+TITLE+ +DATE+ etc.
I then want to map a keyboard shortcut to do
programming language.
for (x =0; xmax; x++){
here you could have written
for (x =0; xmax; x+=1){
The smart part is when it is as a pre-increment
for (x=0;xmax; ++x)
now you cant use your x+=1 anymore (at least not directly).
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL
it must be possible to do
natively in vim too. A large modification - probably, but I am sure
that will be af great help for many programmers using Vim.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http
of
Emacs.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
or more easily available.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
:
hi Pmenu guibg=DarkRed
I agree, the pink is heinous :)
sure, but it is default and what most users see and use.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
On Thu, 24 Aug 2006 10:46:26 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Kim Schulz wrote:
Hi is there a way to make indentation in Vim lock like in emacs so
that if I press tab in the beginning of a line, then it indents the line
to the correct place. Pressing tab multiple times does
On Thu, 24 Aug 2006 11:32:55 +0200, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Kim Schulz wrote:
That is filetype-dependent indent, since how to indent will be
determined by the syntax of the language of the file being edited:
:filetype indent on
or (usually better
that.
--
Kim Schulz
will be shown but these can be
removed via the guioptions in gvim too.
the gnome-keybinding-properties program can be used to bind the
fullscreen feature to any keybinding you want.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190
On Thu, 10 Aug 2006 11:43:56 -0700
Max Dyckhoff [EMAIL PROTECTED] wrote:
He means when using the script that he wrote and which he was
discussing in the same email, which remaps ctrl-w o to do something
else.
and it works perfectly :-) Use it a lot here.
--
Kim Schulz| Private
On Mon, 7 Aug 2006 15:18:09 -0500
Bob Hiestand [EMAIL PROTECTED] wrote:
:help fnamemodify()
thanks. worked perfectly (just had to figure out that I had used :h
instead of :t )
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190
hi
is there an equivalent to bufexists() and bufnr() but for tabs in vim
7?
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
On Sun, 6 Aug 2006 16:42:25 +0200
Kim Schulz [EMAIL PROTECTED] wrote:
hi
is there an equivalent to bufexists() and bufnr() but for tabs in vim
7?
Besides these two functions I am also looking for an equvivalent to
abuf and getbufvar()
--
Kim Schulz| Private : http
On Sun, 06 Aug 2006 17:19:17 +0200
A.J.Mechelynck [EMAIL PROTECTED] wrote:
Kim Schulz wrote:
hi
is there an equivalent to bufexists() and bufnr() but for tabs in
vim 7?
There is no need for an equivalent. bufexists() and bufnr() will
show that a buffer exists, and give its
On Mon, 31 Jul 2006 15:52:01 +0100
C Rose [EMAIL PROTECTED] wrote:
Hi
Is it possible to tell vim 7 to use spell in general, but not for
files with specific filename extensions?
Thanks in advance
maybe somthing like:
set spell
autocmd BufLoad *.c setlocal nospell
--
Kim Schulz
was looking for somthing like the ~=
in perl but didn't seem to find such a thing.
--
Kim Schulz| Private : http://www.schulz.dk
[EMAIL PROTECTED] | Business: http://www.devteam.dk
+45 5190 4262 | Sparetime: http://www.fundanemt.com
48 matches
Mail list logo