~andrewzah/dotfiles

7d7677b72c5d1996ddebb593544bbc95655944c2 — Andrew Zah 1 year, 3 months ago ee3a2b4 debian-desktop
update
M .zshrc => .zshrc +7 -0
@@ 12,4 12,11 @@ export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
bindkey -v
bindkey -e

autoload -U up-line-or-beginning-search
autoload -U down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey "^[[A" up-line-or-beginning-search # Up
bindkey "^[[B" down-line-or-beginning-search # Down

[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

M config/i3/config => config/i3/config +3 -2
@@ 19,12 19,13 @@ set $work8 "Neptune"
set $work9 "Pluto"

# default workspaces to each monitor
workspace $work1 output DVI-I-1
workspace $work1 output DP-2
workspace $work2 output HDMI-0
workspace $work3 output DVI-I-1

# startup applications
exec_always --no-startup-id $HOME/.config/i3/polybar.sh
exec_always feh --bg-scale ~/sync/general/wallpapers/doom.png ~/sync/general/wallpapers/doom.png
exec_always feh --bg-scale ~/sync/general/wallpapers/doom1.jpg ~/sync/general/wallpapers/doom1.jpg

## i3 Opts
default_border pixel 2

M config/nvim/.netrwhist => config/nvim/.netrwhist +2 -1
@@ 1,3 1,4 @@
let g:netrw_dirhistmax  =10
let g:netrw_dirhist_cnt =1
let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_1='/home/andrew/work/platform/rust/chunk-rebuilder/src/handlers'
let g:netrw_dirhist_2='/home/andrew/work/platform/rust/api/src/handlers'

M config/nvim/init.vim => config/nvim/init.vim +5 -0
@@ 26,6 26,7 @@ Plug 'slim-template/vim-slim', { 'for': 'slim' }
Plug 'LnL7/vim-nix', { 'for': 'nix' }
Plug 'wlangstroth/vim-racket', { 'for': 'racket' }
Plug 'evanleck/vim-svelte', { 'for': 'svelte' }
Plug 'summivox/vim-pawn', { 'for': 'spice' }

""" Vim Behavior/Functionality
Plug 'alok/notational-fzf-vim'


@@ 228,6 229,8 @@ let g:grepper.tools = ['rg', 'git', 'grep']

let test#strategy = "dispatch"

let g:go_version_warning = 0

"""
""" Key remapping
"""


@@ 315,6 318,8 @@ au BufRead,BufNewFile *.slang set filetype=slang
" Autoset ecr -> erb syntax highlighting
au BufRead,BufNewFile *.ecr set filetype=erb

" sourcepawn
au FileType sourcepawn setlocal makeprg=/home/andrew/programming/sourcemod/sourcemod/addons/sourcemod/scripting/spcomp

" Automatically make the dir if it doesn't exist on the machine.
silent !mkdir -p ~/.nvim/tmp >/dev/null 2>&1

M zsh/aliases.zsh => zsh/aliases.zsh +14 -0
@@ 1,9 1,22 @@
# copy/paste
alias copy='xclip -selection c'
alias paste='xclip -selection p'

# rbenv
alias rbenve='eval "$(rbenv init -)"'

# ls
alias ll='exa -al'
alias ls="exa"

# git
alias gp="git push"
alias gpo="git push origin"
alias gpom='git push origin master'
alias gpomr='git pull origin master --rebase'
alias gcm="git checkout master"


# pubkey
alias pubkey="cat ~/.ssh/id_rsa.pub|copy"



@@ 26,3 39,4 @@ alias cda='cd ~/work/afml'
alias cdp='cd ~/programming'
alias cds='cd ~/Website'
alias cdw='cd ~/work'
alias cdwp='cd ~/work/platform'

M zsh/path-exports-options.zsh => zsh/path-exports-options.zsh +3 -0
@@ 21,6 21,9 @@ export GOROOT="/usr/local/go"
export GOPATH="$HOME/.go"
export PATH="$GOROOT/bin:$GOPATH/bin:$PATH"

# steam runtime
#export PATH="/opt/steam-runtime/bin:$PATH"

# java 12
#export PATH=/usr/lib/jdk/12/bin:$PATH
#export JAVA_HOME=/usr/lib/jdk/12/bin