Update tmux conf, django alias for runserver, custom commands
This commit is contained in:
parent
5174af181a
commit
8510af21d0
@ -4,10 +4,10 @@ set-option -g prefix C-a
|
|||||||
bind-key C-a send-prefix
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
# split panes
|
# split panes
|
||||||
bind | split-window -h
|
bind | split-window -h -c "#{pane_current_path}"
|
||||||
bind - split-window -v
|
bind - split-window -v -c "#{pane_current_path}"
|
||||||
bind s split-window -h -p 20
|
bind s split-window -h -p 20 -c "#{pane_current_path}"
|
||||||
bind v split-window -v -p 20
|
bind v split-window -v -p 20 -c "#{pane_current_path}"
|
||||||
|
|
||||||
# switch panes
|
# switch panes
|
||||||
bind -n M-w select-pane -U
|
bind -n M-w select-pane -U
|
||||||
|
|||||||
2
vimrc
2
vimrc
@ -288,6 +288,8 @@ Plug 'https://github.com/ap/vim-css-color'
|
|||||||
|
|
||||||
Plug 'https://github.com/vifm/vifm.vim'
|
Plug 'https://github.com/vifm/vifm.vim'
|
||||||
|
|
||||||
|
Plug 'https://github.com/gregsexton/gitv', {'on': ['Gitv']}
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
|
|||||||
@ -5,18 +5,19 @@ alias lla='ls -al'
|
|||||||
alias mux='tmuxinator'
|
alias mux='tmuxinator'
|
||||||
|
|
||||||
alias pm='python manage.py'
|
alias pm='python manage.py'
|
||||||
|
alias pmt='clear && pm test'
|
||||||
alias sp='python manage.py shell_plus'
|
alias sp='python manage.py shell_plus'
|
||||||
alias mkmg='python manage.py makemigrations'
|
alias mkmg='python manage.py makemigrations'
|
||||||
alias mg='python manage.py migrate'
|
alias mg='python manage.py migrate'
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias rs='python manage.py runserver'
|
|
||||||
alias rs2='python manage.py runserver 127.0.0.2'
|
|
||||||
alias ga!='git commit --amend --no-edit --date now'
|
alias ga!='git commit --amend --no-edit --date now'
|
||||||
|
|
||||||
|
rs() {python manage.py runserver 127.0.0."$1":"$2"}
|
||||||
|
|
||||||
cheat() { curl cheat.sh/"$1" }
|
cheat() { curl cheat.sh/"$1" }
|
||||||
cda() { conda activate "$@" }
|
cda() { conda activate "$@" }
|
||||||
cdd() { conda deactivate "$@" }
|
cdd() { conda deactivate "$@" }
|
||||||
cdc() { conda create --name "$@" python=3.5 pip }
|
cdc() { conda create --name "$@" python=3.6 pip }
|
||||||
cdi() { conda info --envs "$@" }
|
cdi() { conda info --envs "$@" }
|
||||||
ca() { pygmentize -g "$@" }
|
ca() { pygmentize -g "$@" }
|
||||||
grepf() { grep -rnw ./ -e "$@"}
|
grepf() { grep -rnw ./ -e "$@"}
|
||||||
|
|||||||
@ -18,8 +18,9 @@ fi
|
|||||||
unset __conda_setup
|
unset __conda_setup
|
||||||
#<<< conda initialize <<<
|
#<<< conda initialize <<<
|
||||||
|
|
||||||
export PATH=$HOME/Documents/Arcanite/git_ci_runner:$PATH
|
export PATH=$HOME/custom_commands:$PATH
|
||||||
export NB_MINIONS=4
|
export NB_MINIONS=4
|
||||||
|
export VAGRANT_TYPE='abacus-abahost'
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user