" ~/.vim/ftplugin/typescript/typescript.vim " TypeScript-specific vim configuration " ALE let b:ale_linters = ['eslint'] " Tabs are expanded to 4 spaces setlocal tabstop=4 shiftwidth=4 expandtab " Show existing tabs (they can be deleted with :retab) setlocal list " Column marker: 110 characters call matchadd('ColorColumn', '\%111v', 100) setlocal textwidth=110 " Mappings let mapleader = " " nnoremap C :sp ~/.vim/ftplugin/typescript/typescript.vim nnoremap s :!tmux new-window -db -t 9 -n 'npm start' npm start nnoremap S :!tmux new-window -b -t 9 -n 'npm start' 'tmux set -w remain-on-exit on; npm start' let mapleader = "," inoremap if if (<+++>) {<++>} <++>?<+++>cf> inoremap else else {<+++>}<++>?<+++>cf>