A combination of vim and bash that I find useful
pinit was messing up my paste
2 files changed, +3 -1
+3-0ghost.sh
| @@ -99,6 +99,9 @@ function rootrun { | ||
| 99 | 99 | chmod +x rootrun.sh |
| 100 | 100 | ./rootrun.sh |
| 101 | 101 | break |
| 102 | + else | |
| 103 | + cd .. | |
| 102 | 104 | fi |
| 103 | 105 | done |
| 106 | + cd $start | |
| 104 | 107 | } |
+0-1ghost.vimrc
| @@ -28,7 +28,6 @@ map gc :! git add . && git commit -m ' | ||
| 28 | 28 | map gb :! git checkout -b |
| 29 | 29 | map R ggdGi<C-v><Esc> |
| 30 | 30 | map wr yiw:%s/<C-R>"/ |
| 31 | -map pinit i def __init__(self, *args, **kwargs):<cr>super().__init__(*args, **kwargs)<esc>o | |
| 32 | 31 | |
| 33 | 32 | autocmd VimEnter * NERDTree | wincmd p |
| 34 | 33 |