This commit is contained in:
Rico Sta. Cruz 2015-06-03 10:20:42 +08:00
parent e5d364cc7e
commit e8c8f74c38
2 changed files with 34 additions and 3 deletions

View File

@ -39,6 +39,10 @@ Max:
.make-md-column(3) .make-md-column(3)
.make-lg-column(3) .make-lg-column(3)
.make-sm-column-offset(1)
.make-sm-column-push(1)
.make-sm-column-pull(1)
### Utilities ### Utilities
.pull-left .pull-left
@ -48,6 +52,14 @@ Max:
.visible-{xs,sm,md,lg} .visible-{xs,sm,md,lg}
.visible-{xs,sm,md,lg,print}-{block,inline,inline-block} .visible-{xs,sm,md,lg,print}-{block,inline,inline-block}
.center-block /* margin: auto */
.clearfix
.text-{center,left,right,justify,nowrap}
.text-{lowercase,uppercase,capitalize}
.show
.hidden
### Modal ### Modal
<a data-toggle='modal' data-target='#new'> <a data-toggle='modal' data-target='#new'>
@ -65,7 +77,6 @@ Max:
.modal-footer .modal-footer
... ...
### Modal via ajax (Rails) ### Modal via ajax (Rails)
%button.btn{data: { | %button.btn{data: { |
@ -93,4 +104,3 @@ Max:
$(function () { $(function () {
$('[data-toogle~="tooltip"]').tooltip(); $('[data-toogle~="tooltip"]').tooltip();
}); });

View File

@ -64,12 +64,28 @@ Functions
getline('.') " current line as a string getline('.') " current line as a string
getline(1) " get line 1 getline(1) " get line 1
getline(1, 5) " get lines 1-5 getline(1, 5) " get lines 1-5
search('^$') " next blank line search('^$') " next blank line, returns line number
search('^$','n') " but dont move cursor
getcurpos() " [bufnum, lnum, col, off, curswant] getcurpos() " [bufnum, lnum, col, off, curswant]
getpos('.') " [bufnum, lnum, col, off] getpos('.') " [bufnum, lnum, col, off]
nextnonblank(1) " next non-blank line after line1 nextnonblank(1) " next non-blank line after line1
prevnonblank()
### Marks
getpos("'a") " position of a mark
setpos("'a",...)
getpos("'<") " position of selection start
### Cursor
cursor(line,col) " moves cursor
cursor(line,col,off,curswant)
getcurpos() " returns [bufnum,line,col,off,curswant]
### Expand ### Expand
@ -166,6 +182,11 @@ Functions
system('ls '.shellescape(expand('%:h'))) system('ls '.shellescape(expand('%:h')))
### Registers
getreg('*')
getregtype('*') " v(char), V(line) <ctrl-v>(block)
Executing Executing
--------- ---------