A combination of vim and bash that I find useful
| 1 | source ~/.ghost/ghost.vim/nerdtree.vimrc |
| 2 | source ~/.ghost/ghost.vim/cursor.vimrc |
| 3 | source ~/.ghost/ghost.vim/autosave.vimrc |
| 4 | source ~/.ghost/ghost.vim/clipboard.vimrc |
| 5 | |
| 6 | set tabstop=4 |
| 7 | set shiftwidth=4 |
| 8 | set expandtab |
| 9 | set mouse=a |
| 10 | set visualbell |
| 11 | set t_vb= |
| 12 | set encoding=utf8 |
| 13 | set nu |
| 14 | colorscheme alduin |
| 15 | hi Normal guibg=NONE ctermbg=NONE |
| 16 | |
| 17 | |
| 18 | imap jj <Esc> |
| 19 | map <F8> :w<cr> |
| 20 | map <F10> :wqall<cr> |
| 21 | map <F9> :w<cr>:! python3 %<cr> |
| 22 | map <F7> :w<cr>:! python3 main.py<cr> |
| 23 | imap <F7> <Esc><F7> |
| 24 | map gc :GitCommit |
| 25 | map gch :GitCheckout |
| 26 | map gb :GitBranch |
| 27 | map gc :! git add . && git commit -m ' |
| 28 | map gb :! git checkout -b |
| 29 | map R ggdGi<C-v><Esc> |
| 30 | |
| 31 | autocmd VimEnter * NERDTree | wincmd p |
| 32 | |
| 33 | :com Code cr /mnt/c/Users/huncho/code |
| 34 | :com Vim e ~/.vimrc |
| 35 | :com Gvim e ~/.ghost/ghost.vimrc |
| 36 | :com Vundle e ~/.vim/vundle.vimrc |
| 37 | :com Gs cd /mnt/c/Users/huncho/code/ghostsystems |
| 38 | :com Fb cd /mnt/c/Users/huncho/code/ghostsystems/flyingbytes |
| 39 | :com Bash e ~/.bashrc |
| 40 | :com Gbash e ~/.ghost/ghost.sh |