(load "vc-git")
-(defun ff/git-push () (interactive)
+(defun ff/git-pull-push () (interactive)
(shell-command "git pull && git push" nil)
)
(shell-command "git pull" nil)
)
-(define-key global-map [(control x) (v) (p)] 'ff/git-push)
+(define-key global-map [(control x) (v) (p)] 'ff/git-pull-push)
(define-key global-map [(control x) (v) (P)] 'ff/git-pull)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
"Adds all the stuff to start a new python file"
(interactive)
(goto-char (point-min))
- (insert "#!/usr/bin/env python
+ (insert "#!/usr/bin/env python-for-pytorch
import torch
import math