Friday, April 12, 2013

Consider lines containing a tab a paragraph boundary

Hi,

can I configure vim to consider a line containing a tab a paragraph
boundary for the { and } commands? I find it rather irritating that
{ and } don't consider a tab a paragraph boundary but the ip motion
does. Example:

struct acpi_blacklist_item {
char oem_id[7];
char oem_table_id[9];

u32 oem_revision; <= CURSOR IS HERE
char *table;

enum acpi_blacklist;
char *reason;
u32 is_critical_error;
};

Hitting { jumps to the beginning of the struct, whereas yip only
yanks the two lines

u32 oem_revision; <= CURSOR IS HERE
char *table;


Marco

No comments: