How to add keymap scripts to main vim distribution?

2008-03-25 Fir de Conversatie cris

Hi guys.

I've created two dvorak oriented keympa-files for russian and
ukrainian peoples. These scripts have common value and can be used by
anyone who utilize english dvorak layout with keymap options for
russian and ukrainian languages. I've upload it to files-section of
this mail-group(ukrainian-dvorak.vim, russian-dvorak.vim).

Is it possible to add these files into main vim distribution?

--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: How to add keymap scripts to main vim distribution?

2008-03-25 Fir de Conversatie Tony Mechelynck

cris wrote:
 Hi guys.

 I've created two dvorak oriented keympa-files for russian and
 ukrainian peoples. These scripts have common value and can be used by
 anyone who utilize english dvorak layout with keymap options for
 russian and ukrainian languages. I've upload it to files-section of
 this mail-group(ukrainian-dvorak.vim, russian-dvorak.vim).

 Is it possible to add these files into main vim distribution?

Send them to Bram [EMAIL PROTECTED] and, if he thinks they are good 
enough, he may include them in the runtime files.

In the meantime, keep them in the keymap subdirectory of some directory 
early in 'runtimepath' but _not_ in $VIMRUNTIME/keymap where they'll 
appear, if you regularly update your runtime files, if and when Bram 
decides to include them in the distribution. (When they do, you can 
delete them from the other location.)


Best regards,
Tony.
-- 
Bipolar, adj.:
Refers to someone who has homes in Nome, Alaska, and Buffalo,
New York

--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: How to add keymap scripts to main vim distribution?

2008-03-25 Fir de Conversatie cris

 Send them to Bram [EMAIL PROTECTED] and, if he thinks they are good
 enough, he may include them in the runtime files.

Thanks, already done this.
--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Vim script line continuation?

2008-03-25 Fir de Conversatie Dasn

Well, it seems the new line continuation can be placed weirdly, which
will make the vim script syntax file even messy when considering the
line continuation. Any comments?

$ cat test.vim
e
\c
\h
\o
\ l
\e
\n(hello)
q

$ ex -Nu NONE -S test.vim
5

-- 
Dasn


--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---



Re: Vim script line continuation?

2008-03-25 Fir de Conversatie Ben Schmidt

Tony Mechelynck wrote:
 Dasn wrote:
 Well, it seems the new line continuation can be placed weirdly, which
 will make the vim script syntax file even messy when considering the
 line continuation. Any comments?

 $ cat test.vim
 e
 \c
 \h
 \o
 \ l
 \e
 \n(hello)
 q

 $ ex -Nu NONE -S test.vim
 5

 
 So? You can also indent your scripts weirdly, e.g. reducing the indent 
 after an if command, or even messily, e.g. indenting your lines by the 
 result of tossing a 20-side die, regardless of syntax. To the best of my 
 knowledge, in neither case did anyone ever recommend it.
 
 The vim-script syntax disregards all spaces and the preceding linebreak 
 preceding a backslash which is the first non-blank on a line; it also 
 disregards indenting (which is only there to make the script more 
 readable to human people). That doesn't mean there is no such thing as 
 good script writing style, which would be stricter than going by 
 anything the parser would accept. In the same way, it _is_ possible to 
 write C or CSS by removing all indent, all comments, all unnecessary 
 spaces, and filling the lines to, let's say, the longest possible length 
 shorter than 160 characters; the C compiler or the browser won't give an 
 error, but I would never call that good programming style.

And indeed, it is worth posting the link for those who are not already familiar 
with the International Obfuscated C Code Contest.

http://www.ioccc.org/

Cheers,

Ben.





--~--~-~--~~~---~--~~
You received this message from the vim_dev maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---