diff --git a/bootstrap.md b/bootstrap.md index 16c93980a..e1726aee8 100644 --- a/bootstrap.md +++ b/bootstrap.md @@ -39,6 +39,10 @@ Max: .make-md-column(3) .make-lg-column(3) + .make-sm-column-offset(1) + .make-sm-column-push(1) + .make-sm-column-pull(1) + ### Utilities .pull-left @@ -48,6 +52,14 @@ Max: .visible-{xs,sm,md,lg} .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 @@ -65,7 +77,6 @@ Max: .modal-footer ... - ### Modal via ajax (Rails) %button.btn{data: { | @@ -93,4 +104,3 @@ Max: $(function () { $('[data-toogle~="tooltip"]').tooltip(); }); - diff --git a/vimscript-functions.md b/vimscript-functions.md index b6d5d4dde..7d9544ac0 100644 --- a/vimscript-functions.md +++ b/vimscript-functions.md @@ -64,12 +64,28 @@ Functions getline('.') " current line as a string getline(1) " get line 1 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] getpos('.') " [bufnum, lnum, col, off] 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 @@ -166,6 +182,11 @@ Functions system('ls '.shellescape(expand('%:h'))) +### Registers + + getreg('*') + getregtype('*') " v(char), V(line) (block) + Executing ---------