irongit

A combination of vim and bash that I find useful

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