Merged laptop files to lab's.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# system
|
# system
|
||||||
alias bs="xmodmap -e \"clear Lock\""
|
xmodmap -e "clear Lock"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
shopt -s dotglob
|
shopt -s dotglob
|
||||||
alias reb="sudo shutdown -r 0"
|
alias reb="sudo shutdown -r 0"
|
||||||
@@ -10,15 +10,16 @@ alias s="systemctl suspend"
|
|||||||
alias cdr="cd ~/../../"
|
alias cdr="cd ~/../../"
|
||||||
alias cdd="cd ~/Downloads"
|
alias cdd="cd ~/Downloads"
|
||||||
alias 221="cd ~/Documents/School/221"
|
alias 221="cd ~/Documents/School/221"
|
||||||
alias 221t="okular ~/Documents/School/221/Textbook.pdf"
|
alias mt="okular ~/Documents/School/221/Textbook.pdf"
|
||||||
alias 221lt="okular ~/Downloads/Textbook.pdf"
|
alias mlt="okular ~/Downloads/Textbook.pdf"
|
||||||
|
|
||||||
alias p1="cd ~/258/258-labs-self/l5/p1"
|
alias p2="cd ~/258/258-labs-self/l5/p2"
|
||||||
alias l5="cd ~/258/258-labs-self/l5"
|
alias l5="cd ~/258/258-labs-self/l5"
|
||||||
alias lab="cd ~/258/258-labs-self"
|
alias lab="cd ~/258/258-labs-self"
|
||||||
|
|
||||||
# bash
|
# config
|
||||||
alias vb="vim ~/.bash_aliases"
|
alias vb="gvim ~/.bash_aliases"
|
||||||
|
alias vv="gvim ~/.vimrc"
|
||||||
alias rba=". ~/.bashrc"
|
alias rba=". ~/.bashrc"
|
||||||
|
|
||||||
# git
|
# git
|
||||||
@@ -31,11 +32,15 @@ alias ga="git add *"
|
|||||||
alias gai="git add .gitignore"
|
alias gai="git add .gitignore"
|
||||||
alias gd="git diff"
|
alias gd="git diff"
|
||||||
alias gdc="git diff --cached"
|
alias gdc="git diff --cached"
|
||||||
|
alias gstore="git config credential.helper store"
|
||||||
gc(){
|
gc(){
|
||||||
git commit -m "$1"
|
git commit -m "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# redshift
|
g(){
|
||||||
|
gvim $1
|
||||||
|
}
|
||||||
|
|
||||||
rs(){
|
rs(){
|
||||||
redshift -O $1
|
redshift -O $1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ bind "set menu-complete-display-prefix on"
|
|||||||
DIR_LAB="/h/u3/c7/05/mokkar/.bash_it"
|
DIR_LAB="/h/u3/c7/05/mokkar/.bash_it"
|
||||||
DIR_HOME="/home/kevin/.bash_it"
|
DIR_HOME="/home/kevin/.bash_it"
|
||||||
# Path to the bash it configuration
|
# Path to the bash it configuration
|
||||||
export BASH_IT="$DIR_HOME"
|
export BASH_IT="$DIR_LAB"
|
||||||
|
|
||||||
# Lock and Load a custom theme file
|
# Lock and Load a custom theme file
|
||||||
# location /.bash_it/themes/
|
# location /.bash_it/themes/
|
||||||
|
|||||||
1
dotfiles/.gvimrc
Normal file
1
dotfiles/.gvimrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
set guifont=Monospace\ 14
|
||||||
@@ -1,24 +1,22 @@
|
|||||||
" 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 relativenumber
|
||||||
|
set background=dark
|
||||||
syntax on
|
syntax on
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
set autoindent
|
set autoindent
|
||||||
|
set mouse=c
|
||||||
|
|
||||||
" 'h/u3/c7/05/mokkar/.vim/plugged'
|
" 'h/u3/c7/05/mokkar/.vim/plugged'
|
||||||
" '~/.vim/plugged'
|
" '~/.vim/plugged'
|
||||||
" call plug#begin('h/u3/c7/05/mokkar/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
" Plug 'https://github.com/whatyouhide/vim-gotham.git'
|
|
||||||
" call plug#end()
|
Plug 'vim-scripts/L9'
|
||||||
"
|
Plug 'vim-scripts/FuzzyFinder'
|
||||||
" colorscheme gotham
|
Plug 'whatyouhide/vim-gotham'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
colorscheme gotham
|
||||||
|
|
||||||
|
map <Enter> o<ESC>
|
||||||
|
map <S-Enter> O<ESC>
|
||||||
|
|||||||
11
dotfiles/.vimrc-runtime
Normal file
11
dotfiles/.vimrc-runtime
Normal file
@@ -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
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
files=".bash_aliases .bashrc .inputrc .vimrc"
|
files=".bash_aliases .bashrc .inputrc .vimrc .gvimrc"
|
||||||
dir=~/linux-config/dotfiles
|
dir=~/linux-config/dotfiles
|
||||||
|
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
|
|||||||
Reference in New Issue
Block a user