This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <D-C-Up> ddkP | |
nnoremap <D-C-Down> ddp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <D-C-Up> V:move '<-2<CR><Esc> | |
nnoremap <D-C-Down> V:move '>+1<CR><Esc> | |
vnoremap <D-C-Up> :move '<-2<CR>gv | |
vnoremap <D-C-Down> :move '>+1<CR>gv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has("gui_macvim") | |
" move lines up and down and reindent correctly (clashes with quickfix menu | |
" mappings in runtime/menu.vim, so we remove those mappings first) | |
macm Tools.Older\ List key=<nop> | |
macm Tools.Newer\ List key=<nop> | |
nnoremap <D-C-Up> V:move '<-2<CR><Esc> | |
nnoremap <D-C-Down> V:move '>+1<CR><Esc> | |
vnoremap <D-C-Up> :move '<-2<CR>gv | |
vnoremap <D-C-Down> :move '>+1<CR>gv | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has("gui_macvim") | |
" move lines up and down and reindent correctly (clashes with quickfix menu | |
" mappings in runtime/menu.vim, so we remove those mappings first) | |
macm Tools.Older\ List key=<nop> | |
macm Tools.Newer\ List key=<nop> | |
nnoremap <D-C-Up> ddkPV=<Esc> | |
nnoremap <D-C-Down> ddpgV=<Esc> | |
vnoremap <D-C-Up> :move '<-2<CR>gv=gv | |
vnoremap <D-C-Down> :move '>+1<CR>gv=gv | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --global typescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git@github.com:borisyankov/DefinitelyTyped.git references |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="angularjs/angular.d.ts" /> | |
/// <reference path="angularjs/angular-mocks.d.ts" /> | |
/// <reference path="jasmine/jasmine.d.ts" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="angularjs/angular.d.ts" /> | |
/// <reference path="hammerjs/hammerjs.d.ts" /> | |
/// <reference path="moment/moment.d.ts" /> | |
/// <reference path="lodash/lodash.d.ts" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find app/src -path '*/js/*/*.ts' -and -not \( -path '*/js/*/*.spec.ts' -or -path '*/js/*/*.scenario.ts' \) -exec sed -i '1i/// <reference path="../../../../../references/module.ts" />' {} \; | |
find app/src -path '*/js/*/*.spec.ts' -exec sed -i '1i/// <reference path="../../../../../references/test.ts" />' {} \; | |
find app/src -path '*/js/*.scenario.ts' -exec sed -i '1i/// <reference path="../../../../references/test.ts" />' {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find app/src -name '*.ts' | xargs tsc |
OlderNewer