Added .direnvc
This commit is contained in:
parent
cea96f2800
commit
ba4dcd1308
3 changed files with 22 additions and 3 deletions
9
.direnvrc
Normal file
9
.direnvrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
layout_virtualenv() {
|
||||
local venv_path="$1"
|
||||
source ${venv_path}/bin/activate
|
||||
}
|
||||
|
||||
layout_virtualenvwrapper() {
|
||||
local venv_path="${WORKON_HOME}/$1"
|
||||
layout_virtualenv $venv_path
|
||||
}
|
|
@ -52,6 +52,8 @@ Plugin 'plasticboy/vim-markdown'
|
|||
Plugin 'fatih/vim-go'
|
||||
Plugin 'dbeniamine/cheat.sh-vim'
|
||||
Plugin 'jacqueswww/vim-vyper'
|
||||
Plugin 'direnv/direnv.vim'
|
||||
Plugin 'tomlion/vim-solidity'
|
||||
"let g:deoplete#enable_at_startup = 1
|
||||
"Plugin 'Shougo/deoplete.nvim'
|
||||
|
||||
|
@ -82,13 +84,12 @@ set smarttab
|
|||
set softtabstop=4
|
||||
set autoindent
|
||||
set expandtab
|
||||
let &colorcolumn="80,".join(range(81,999),",")
|
||||
|
||||
"let &colorcolumn="123,".join(range(124,999),",")
|
||||
augroup vimrc_autocmds
|
||||
autocmd!
|
||||
"highlight characters past col 80
|
||||
autocmd FileType python highlight Excess ctermbg=DarkGrey guibg=Black
|
||||
autocmd FileType python match Excess /\%80v.*/
|
||||
autocmd FileType python match Excess /\%123v.*/
|
||||
autocmd FileType python set nowrap
|
||||
" autocmd FileType rst set textwidth=80
|
||||
autocmd FileType markdown set textwidth=80
|
||||
|
|
|
@ -82,9 +82,12 @@ alias atwork="task context work"
|
|||
alias athome="task context home"
|
||||
alias atschool="task context school"
|
||||
alias atnone="task context none;"
|
||||
alias icat="kitty +kitten icat"
|
||||
alias d="kitty +kitten diff"
|
||||
#eval "$(ntfy shell-integration)"
|
||||
source /usr/share/gems/gems/tmuxinator-0.6.11/completion/tmuxinator.zsh
|
||||
source ~/.private_aliases
|
||||
source /usr/bin/virtualenvwrapper.sh
|
||||
|
||||
|
||||
#Aliases
|
||||
|
@ -92,6 +95,7 @@ alias dum='du -sh *|egrep ".*\.?[0-9]M"'
|
|||
alias keploy='echo -e "\e[101;97mKeploy was removed, its functionality is already built in ssh-copy-id, just use that\e[49m"; ssh-copy-id'
|
||||
alias shrug='curl shrug.io|xclip'
|
||||
alias weather='curl wttr.in'
|
||||
alias ipython='ipython --no-confirm-exit'
|
||||
|
||||
#Variable Exports
|
||||
export EDITOR='vim'
|
||||
|
@ -107,3 +111,8 @@ for f (~/.functions/**/*(N.)) . $f
|
|||
#This didn't work, but I'll leave it here in case someday it does
|
||||
#export AGNOSTER_PROMPT_SEGMENTS=("prompt_status" "prompt_context" "prompt_virtualenv" "prompt_dir" "prompt_end")
|
||||
cat /home/kellya/.local/share/franklinlogo.txt
|
||||
|
||||
#Stop the annoying git prompt
|
||||
prompt_git () {
|
||||
:
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue