Browse Source

Setup gvim for lab comps.

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
0c3c05563d
  1. 7
      dotfiles/.bash_aliases
  2. 1
      dotfiles/.gvimrc
  3. 14
      dotfiles/.vimrc
  4. 11
      dotfiles/.vimrc-runtime
  5. 2
      set-from-git.sh

7
dotfiles/.bash_aliases

@ -17,7 +17,7 @@ alias l5="cd ~/258/258-labs-self/l5"
alias lab="cd ~/258/258-labs-self"
# bash
alias vb="vim ~/.bash_aliases"
alias vb="gvim ~/.bash_aliases"
alias rba=". ~/.bashrc"
# git
@ -34,7 +34,10 @@ gc(){
git commit -m "$1"
}
# redshift
g(){
gvim $1
}
rs(){
redshift -O $1
}

1
dotfiles/.gvimrc

@ -0,0 +1 @@
set guifont=Monospace\ 15

14
dotfiles/.vimrc

@ -1,15 +1,3 @@
" set runtimepath+=~/.vim_runtime
"
" source ~/.vim_runtime/vimrcs/basic.vim
" source ~/.vim_runtime/vimrcs/filetypes.vim
" source ~/.vim_runtime/vimrcs/plugins_config.vim
" source ~/.vim_runtime/vimrcs/extended.vim
"
" try
" source ~/.vim_runtime/my_configs.vim
" catch
" endtry
set relativenumber
set background=dark
syntax on
@ -22,7 +10,7 @@ call plug#begin('h/u3/c7/05/mokkar/.vim/plugged')
Plug 'vim-scripts/L9'
Plug 'vim-scripts/FuzzyFinder'
" Plug 'whatyouhide/vim-gotham'
Plug 'whatyouhide/vim-gotham'
call plug#end()

11
dotfiles/.vimrc-runtime

@ -0,0 +1,11 @@
set runtimepath+=~/.vim_runtime
source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
catch
endtry

2
set-from-git.sh

@ -1,4 +1,4 @@
files=".bash_aliases .bashrc .inputrc .vimrc"
files=".bash_aliases .bashrc .inputrc .vimrc .gvimrc"
dir=~/linux-config/dotfiles
for file in $files; do

Loading…
Cancel
Save