1
0
mirror of https://github.com/amix/vimrc synced 2025-07-31 09:45:00 +08:00

Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive.

This commit is contained in:
amix
2013-11-16 19:45:48 +00:00
parent 351979d3e0
commit 86f4456be1
239 changed files with 14942 additions and 8068 deletions

View File

@ -1,26 +1,26 @@
snippet tbl
create table ${1:table} (
${2:columns}
${0:columns}
);
snippet col
${1:name} ${2:type} ${3:default ''} ${4:not null}
${1:name} ${2:type} ${3:default ''} ${0:not null}
snippet ccol
${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}
${1:name} varchar2(${2:size}) ${3:default ''} ${0:not null}
snippet ncol
${1:name} number ${3:default 0} ${4:not null}
${1:name} number ${3:default 0} ${0:not null}
snippet dcol
${1:name} date ${3:default sysdate} ${4:not null}
${1:name} date ${3:default sysdate} ${0:not null}
snippet ind
create index ${3:$1_$2} on ${1:table}(${2:column});
create index ${0:$1_$2} on ${1:table}(${2:column});
snippet uind
create unique index ${1:name} on ${2:table}(${3:column});
create unique index ${1:name} on ${2:table}(${0:column});
snippet tblcom
comment on table ${1:table} is '${2:comment}';
comment on table ${1:table} is '${0:comment}';
snippet colcom
comment on column ${1:table}.${2:column} is '${3:comment}';
comment on column ${1:table}.${2:column} is '${0:comment}';
snippet addcol
alter table ${1:table} add (${2:column} ${3:type});
alter table ${1:table} add (${2:column} ${0:type});
snippet seq
create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};
create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${0:1};
snippet s*
select * from ${1:table}
select * from ${0:table}