Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 833 Bytes

README.md

File metadata and controls

54 lines (36 loc) · 833 Bytes

vim-textobj-objc

Vim plugin: Text objects for Objective-C

Support objects

Objective-C @ literals

  • a@
NSString *string = @"Hello";
                   ^^^^^^^^
                   
NSNumber *number = @100;
                   ^^^^
                   
NSNumber *calc = @(1 + 2);
                 ^^^^^^^^
  • i@
NSString *string = @"Hello";
                     ^^^^^
                   
NSNumber *number = @100;
                    ^^^
                   
NSNumber *calc = @(1 + 2);
                   ^^^^^

Objective-C Blocks

  • a^
id block = ^{ return nil; }
           ^^^^^^^^^^^^^^^^
  • i^
id block = ^{ return nil; }
              ^^^^^^^^^^^

Required

vim-textobj-user