mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 07:13:24 +03:00
46 lines
1.0 KiB
Objective-C
46 lines
1.0 KiB
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
@import Cocoa;
|
|
|
|
|
|
@protocol NeoVimUiBridgeProtocol;
|
|
@class NeoVimBuffer;
|
|
@class NeoVimTab;
|
|
@class NeoVimWindow;
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NeoVimAgent : NSObject
|
|
|
|
@property (nonatomic) bool useInteractiveZsh;
|
|
@property (nonatomic, weak) id <NeoVimUiBridgeProtocol> bridge;
|
|
|
|
- (instancetype)initWithUuid:(NSString *)uuid;
|
|
- (void)quit;
|
|
|
|
- (bool)runLocalServerAndNeoVim;
|
|
|
|
- (void)vimCommand:(NSString *)string;
|
|
- (NSString *)vimCommandOutput:(NSString *)string;
|
|
|
|
- (void)vimInput:(NSString *)string;
|
|
- (void)vimInputMarkedText:(NSString *_Nonnull)markedText;
|
|
- (void)deleteCharacters:(NSInteger)count;
|
|
|
|
- (void)resizeToWidth:(int)width height:(int)height;
|
|
|
|
- (bool)hasDirtyDocs;
|
|
- (NSString *)escapedFileName:(NSString *)fileName;
|
|
- (NSArray<NSString *> *)escapedFileNames:(NSArray<NSString *> *)fileNames;
|
|
- (NSArray<NeoVimBuffer *> *)buffers;
|
|
- (NSArray<NeoVimTab*> *)tabs;
|
|
- (void)selectWindow:(NeoVimWindow *)window;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|