Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
62 user(s) are online (55 user(s) are browsing Forums)

Members: 1
Guests: 61

BSzili, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 2 (3) 4 5 »


Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@sTix
I asked Mason about, hope he will ok with. Toolbars icons in the same png format as your initial one, but aos4 native icons (for vim binary, for directory) are in native os4 format, do not remember if mos support it, but we can check

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
@kas1e
@trixie

Sounds good. I need to do some work on the installer to cater for all platforms.

   Report Go to top

Re: VIM the editor
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1803
Thanks!!!

   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3131
@kas1e

Beautiful

   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@All
Ok its done, take it from os4depot:
http://os4depot.net/share/utility/text/edit/vim_mui.lha

Through we can't fix that annoying empty window popup at moment, so it's still there when you run it from workbench.

There is copy of what i put into the news there and on aw.net:


VIM 8.1 with MUI GUI out now and for AmigaOS4!

What is it ? ...

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. Vim is rock stable and is continuously being developed to become even better. Among its features are:

* persistent, multi-level undo tree
* extensive plugin system
* support for hundreds of programming languages and file formats
* powerful search and replace
* integrates with many tools

Please note that this is not a straight port of the upstream version. It includes a full MUI GUI with most of the bells and whistles found in Vim on any of the major platforms.

Check screenshot of AmigaOS4 version (click on image for full size):

Resized Image

Source code is open, hosted on sourceforge (yeah, author aware about other things like github and co, but currently its on sourceforge) and can be found there: https://sourceforge.net/projects/spaden/. There you also can report your bugs if you find any.

The only limitation in GUI mode at moment only 2 (but they are work in progress)

* no scrollbar support
* "replace" gui button doing nothing, it just need some more work by adding more dialogue windowses.

And one little annoying empty window popup when run from workbench (also in progress to be fixed).

To more understand how it all looks / feels like, you can just watch my youtube video (1920x1080 , no phone-camera-point-on-screen porn, real HD one):

https://www.youtube.com/watch?v=UBOuVuGUTZ0

But you should be sure, its not casual text editor. For use it you should know what you do and what VIM is. Because if not, very possible that you even will be not able to quit from the editor at all :)

How to run ...

1. Just unpack vim to any place you want.

2. Make an assign of VIM: to your_path/vim/runtime/ directory.
(You can not make that assign, and just run vim after unpacking, but then it will ask you to assign VIM: anyway, which you still need to point on your_path/vim/runtime/ directory). So better put something like this to your user-startup: Assign VIM: work:vim/runtime >NIL:

3. run "gvim" binary.

What about AmigaOS4 port ? ...

Ola 'sTix' Söder doing good job on making real MUI GUI for VIM as well as keeping whole amiga version of VIM be up2date. Originally he developed it for MorphOS and later for AROS, but now with some little effort we also have AmigaOS4 version too.

For making it works you need to have for your MUI installation "TheBar" custom class installed (that for all platforms), it is available there:

https://github.com/amiga-mui/thebar

Or you can grab it from os4depot there:

http://os4depot.net/share/library/mui/mcc_thebar.lha

Version of VIM for AmigaOS4 release is the same as last public released versions for MorphOS and AROS: 8.1.1099, just with some more bugs fixed and things added which will fits into next MorphOS/AROS releases as well, there they are:

-- fix: jumping between screens.
-- fix: remembering of window size/dimenstion when iconify and when exit.
-- fix: "the bar" class settings are visibly now in mui prefs when press "more" in general tab of mui settings.
-- fix: one more remove of unnecessary "home:" assignment.
-- added: Mason's icons (toolbars, main icons)
-- added: Support not only for plain toolbar icons, but also for selected ones and disabled ones.
-- added: workaround to have ability to run vim from workbench in gui mode without spawning of unnecessary empty output windowses.
-- changed: as there is no scrollbar support at moment, we disabled related entries from mui's menu till it implemented.


Do not forget that MUI is highly configurable ! ...

Some of you aware , but some are not. If MUI programm do not reacts as you wish, you offten can change the behaviour via mui settings (or only for programm you choice, or in whole, for all mui programms). I.e. if your window size/dimenstion do not stored on exit, but you wish it be so, then change in mui settings window/window_position_are/ to be "stored permanently". If you want to have 'embedded menu bar' at top, you always can it enable in mui settings menus/enable emdedded menu bar. If you want to change size of toolbar in VIM (or in any app which use TheBar class for toolbars), you always can go to mui settings, press "more" and in "the bar" class play with "spacing" options.

Just be sure you can change via mui settings a lot.


Final words ...

Big thanks to Ola 'sTix' Söder who doing it.
Big thanks to VIM community that they still keept amiga related code in original repo, even if those ifdefs recieved death messages about being removed as unnecessary.
Big thanks to Thore for never ended work on AOS4 version of MUI5.
Big thanks to Martin 'Mason' Merz for making a toolbar and main icons
Big thanks to Goos McGuile for pointing out how to fix some rendering bugs
Big thanks to all others who show interest in it!


Edited by kas1e on 2019/5/3 19:06:37
_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 713
@kas1e

That is great news! Picked the binary from UL queue and tried quickly - works!

Quote:

Big thanks to Ola 'sTix' Söder who doing it.
Big thanks to VIM community that they still keept amiga related code in original repo, even if those ifdefs recieved death messages about being removed as unnecessary.
Big thanks to Thore for never ended work on AOS4 version of MUI5.
Big thanks to Martin 'Mason' Merz for making a toolbar and main icons
Big thanks to Goos McGuile for pointing out how to fix some rendering bugs


Bram surely has donation button somewhere but how about you and the others?

   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Capehill
I asked sTix (its him who do MUI work on vim) if he doesn't mind to share his paypal address to take some thanks for his work, but he think it's me who deserve it more (strange why , as i only port what he do, and porting was really easy one, not like in case with something heavy like Odyssey or VPDF). So imho it will be fair to not share my one too :)

But thanks anyway !

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1803
Thanks!, really appreciated

   Report Go to top

Re: VIM the editor
Just can't stay away
Joined:
2009/5/1 17:57
From Czech Republic
Posts: 1045
@kas1e

Donated 30 EUR, keep or share as you find appropriate

_________________
Smoke me a kipper, I'll be back for breakfast!

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Trixie
Thanks , now if only sTix will give me his paypal acc ..

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Just popping in
Joined:
2012/10/17 19:42
Posts: 87
VIM was originally released for the Amiga so it is good that it is still available for her.

   Report Go to top

Re: VIM the editor
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
@kas1e

I don't have any paypal account.

Whenever Trixie donates money to you for Vim, I will simultaneously donate the same amount to you for Dopus. To keep it simple, and avoid PayPal fees, we might as well bypass me



   Report Go to top

Re: VIM the editor
Just popping in
Joined:
2007/2/1 13:02
Posts: 78
@kas1e

Very thank you for this

Is it possible to change langage to french ?

   Report Go to top

Re: VIM the editor
Not too shy to talk
Joined:
2006/12/5 22:11
From Lecco, Italy
Posts: 302
@kas1e & @sTix
many thanks for your great work

   Report Go to top

Re: VIM the editor
Not too shy to talk
Joined:
2006/12/5 22:11
From Lecco, Italy
Posts: 302
@kas1e,
on my setup X1000 OS 4.1 Final it the .swp files
are not removed on exit.
I don't know if its a bug or problem on my system
the file it's created with no protection bit set,
if I set the UMASK variable the .swp files are
created with protection bit set but on exit
the protection bits are cleared and the .swp file
it's not removed.

Anyway it's a great work

   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@pvanni
Same for me, and i also do not know if it intendent to be like this or not :) Logicaly swap files should be removed imho.. Need to check how it on unix/win32

@sTix
Mason says he have no problems if we will use his toolbars on aros/morphos as well.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
@kas1e

Excellent. Thanks Mason.

   Report Go to top

Re: VIM the editor
Not too shy to talk
Joined:
2006/12/5 22:11
From Lecco, Italy
Posts: 302
@kas1e,
.swp file has two use:
to prevent multiple istances of VIM to edit the same file
and to recover from a crash
.swp file on linux and win are removed on exit.

Anyway the protection bit of .swp files must be correctly set
otherwise they cannot be read in case of crash recovery
with the -r parameter invoking VIM

VIM can also create another file for persistent undo if
activated (set undofile) also this feature actually
doesnt work but the .swp problem it's more important
than the persistent undo

   Report Go to top

Re: VIM the editor
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@pvanni
I checked old 7.1 version from os4depot, and that one didn't have that issue. Then i also tried to build myself 7.1 version from source code placed on main vim site, and my build have the same bug..

So, or it new SDK, or new compiler, or maybe author of 7.1 port on os4depot fix it internally somehow..

I noticed that when i just edit the file from which i have .swp, protection bits of that .swp file still there, all fine, but once file is closed for editing, or i quit from vim, then protection bits resets to 0 , and so because of it .swp didn't deleted.

sTix says he didn't have that issue on MorphOS or AROS, so it's something on our side only seems so.


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: VIM the editor
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 479
@kas1e and @sTix
Great work guys. I disabled the swp files from vimrc with
set noswapfile
but I feel that this is not a good idea. It would be best the file to be removed as soon as the file is closed.

Also, one problem I have is that when I switch my keyboard layout to Greek, the tonality doesn't work, although the letters are typed just fine. This happens by hitting the semicolon key (;) once and then the letter that I want to add tonality. Checked the same version of vim on Linux and this works just fine.

Thanks for the fine work you do.

   Report Go to top


« 1 2 (3) 4 5 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project