This file contains hidden or 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
noremap ,gc :Gcommit % -m " | |
noremap ,gsh :Gpush<CR> | |
noremap ,gs :Gstatus<CR> | |
noremap ,gd :Gvdiff<CR> | |
This file contains hidden or 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
#adapted from https://unix.stackexchange.com/a/180616 | |
find . -name ".gitkeep" -exec sh -c ' | |
for file do | |
dir=${file%/*} | |
cp data/raw/.gitignore "$dir" | |
done' sh {} + |
This file contains hidden or 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
" ipython-shell | |
noremap ,ss :call StartPyShell()<CR> | |
noremap ,sk :call StopPyShell()<CR> | |
" code execution | |
nnoremap ,l :call PyShellSendLine()<CR> | |
noremap <silent> <C-n> :call RunTmuxPythonCell(0)<CR> | |
noremap <C-a> :call RunTmuxPythonAllCellsAbove()<CR> |
This file contains hidden or 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
filetype plugin on | |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let g:vim_bootstrap_langs = "python" | |
let g:vim_bootstrap_editor = "" |
This file contains hidden or 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
filetype plugin on | |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let g:vim_bootstrap_langs = "python" |