Re: [arch-general] view command
Am 08.05.2012 19:24, schrieb Taylor Hedberg: G. Schlisio, Tue 2012-05-08 @ 17:31:49+0200: i stumbled over view being a link to ex, and not to vim, as i am used to with several other distros (opensuse, debian). is there any particular reason for that behaviour? FYI, you can use `vim -R` to explicity invoke Vim in read-only mode. Or even `alias view=vim -R` in your shell to override the symlink to /usr/bin/ex. thanks, thats what i alredy did before, i was just curious about why it is different by default. some things about arch use to be kind of sophisticated. but sure, as guillaume mentiones, its vanilla behavior. thats quite an arch way to do it.
Re: [arch-general] view command
G. Schlisio, Tue 2012-05-08 @ 17:31:49+0200: > i stumbled over view being a link to ex, and not to vim, as i am used > to with several other distros (opensuse, debian). is there any > particular reason for that behaviour? FYI, you can use `vim -R` to explicity invoke Vim in read-only mode. Or even `alias view=vim -R` in your shell to override the symlink to /usr/bin/ex. signature.asc Description: Digital signature
Re: [arch-general] view command
On 8 May 2012 18:27, Tiago Sousa wrote: > Hey. > I don't have that behavior here but i guess if you set the environment > EDITOR variable to vim it should work. > > On Tue, May 8, 2012 at 4:31 PM, G. Schlisio wrote: > >> hi all, >> i stumbled over view being a link to ex, and not to vim, as i am used to >> with several other distros (opensuse, debian). is there any particular >> reason for that behaviour? >> thanks >> georg >> Looking at the vi PKGBUILD [0] (as 'view' belongs to package 'vi') we don't make any change to 'view'. This mean the way it is in Arch seems to be upstream (not saying this is better, just givng the reason). In the end your answer might be "because Arch ships 'vi'". [0] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/vi -- Guillaume
Re: [arch-general] view command
Hey. I don't have that behavior here but i guess if you set the environment EDITOR variable to vim it should work. On Tue, May 8, 2012 at 4:31 PM, G. Schlisio wrote: > hi all, > i stumbled over view being a link to ex, and not to vim, as i am used to > with several other distros (opensuse, debian). is there any particular > reason for that behaviour? > thanks > georg >
[arch-general] view command
hi all, i stumbled over view being a link to ex, and not to vim, as i am used to with several other distros (opensuse, debian). is there any particular reason for that behaviour? thanks georg