aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/typescript
diff options
context:
space:
mode:
Diffstat (limited to 'stow/vim/.vim/ftplugin/typescript')
-rw-r--r--stow/vim/.vim/ftplugin/typescript/typescript.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/stow/vim/.vim/ftplugin/typescript/typescript.vim b/stow/vim/.vim/ftplugin/typescript/typescript.vim
index 7c91032..40fe518 100644
--- a/stow/vim/.vim/ftplugin/typescript/typescript.vim
+++ b/stow/vim/.vim/ftplugin/typescript/typescript.vim
@@ -19,6 +19,9 @@ let mapleader = " "
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/typescript/typescript.vim<CR>
+nnoremap <buffer> <leader>s :!tmux new-window -b -t 9 -n 'npm start' 'tmux set -w remain-on-exit on; npm start'<CR><CR>
+nnoremap <buffer> <leader>S :!tmux new-window -db -t 9 -n 'npm start' npm start<CR><CR>
+
nnoremap <buffer> gd :YcmCompleter GoTo<CR>
nnoremap <buffer> gr :YcmCompleter GoToReferences<CR>
nnoremap <buffer> gh :YcmCompleter GetType<CR>