1 Mar 2005 21:38
Re: rvim "paranoid" mode? New feature
TongKe Xue <tongke <at> gmail.com>
2005-03-01 20:38:40 GMT
2005-03-01 20:38:40 GMT
Does it / should it also prevent stuff like :! mv ~/some_file /etc/somewhere_else ? Collins, Kevin (MindWorks) wrote: > Hi, > > a couple of years ago, I hacked the vim 6.1 source code to > "enhance" rvim to have what I call "paranoid" mode. This mode prevents a > user from operating on any file than the one(s) on the command line. It > disallows the :e otherfile and :w otherfile and :redir commands. > > While I realize this may not be useful for a lot of people, it is very > nice when granting permissions to a command from a privilege manager > such as sudo. If there is any interest in adding this enhancement, I can > provide my changes to a real programmer so they can be integrated... I'd > love to not have to worry about getting too far out of date with my > custom code, too! > > Thanks, > > Kevin > >
RSS Feed