porting bindings from vim