Update dotfiles
This commit is contained in:
parent
bb3176f34a
commit
a07d2dbcd2
|
@ -22,7 +22,8 @@ Plug 'jiangmiao/auto-pairs'
|
||||||
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set bg=light
|
"set bg=light
|
||||||
|
set bg=dark
|
||||||
set go=a
|
set go=a
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set nohlsearch
|
set nohlsearch
|
||||||
|
@ -36,7 +37,7 @@ set clipboard=unnamed
|
||||||
|
|
||||||
" Though for this we need xsel (https://github.com/neovim/neovim/issues/7945)
|
" Though for this we need xsel (https://github.com/neovim/neovim/issues/7945)
|
||||||
|
|
||||||
"colorscheme delek
|
colorscheme retrobox
|
||||||
|
|
||||||
" Some basics:
|
" Some basics:
|
||||||
nnoremap c "_c
|
nnoremap c "_c
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
let mapleader =","
|
let mapleader =","
|
||||||
|
|
||||||
set bg=light
|
set bg=dark
|
||||||
set go=a
|
set go=a
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set nohlsearch
|
set nohlsearch
|
||||||
|
@ -15,6 +15,7 @@ set clipboard=unnamedplus
|
||||||
" Though for this we need xsel (https://github.com/neovim/neovim/issues/7945)
|
" Though for this we need xsel (https://github.com/neovim/neovim/issues/7945)
|
||||||
|
|
||||||
"colorscheme delek
|
"colorscheme delek
|
||||||
|
colorscheme retrobox
|
||||||
|
|
||||||
" Some basics:
|
" Some basics:
|
||||||
"nnoremap c "_c
|
"nnoremap c "_c
|
||||||
|
|
|
@ -200,8 +200,8 @@ alt - 8 : skhd --key "alt + ctrl - 8" && sketchybar --trigger windows_on_spaces
|
||||||
alt - 9 : skhd --key "alt + ctrl - 9" && sketchybar --trigger windows_on_spaces
|
alt - 9 : skhd --key "alt + ctrl - 9" && sketchybar --trigger windows_on_spaces
|
||||||
alt - 0 : skhd --key "alt + ctrl - 0" && sketchybar --trigger windows_on_spaces
|
alt - 0 : skhd --key "alt + ctrl - 0" && sketchybar --trigger windows_on_spaces
|
||||||
|
|
||||||
alt - right : skhd --key "ctrl - right" && sketchybar --trigger windows_on_spaces
|
alt + shift - right : skhd --key "ctrl - right" && sketchybar --trigger windows_on_spaces
|
||||||
alt - left : skhd --key "ctrl - left" && sketchybar --trigger windows_on_spaces
|
alt + shift - left : skhd --key "ctrl - left" && sketchybar --trigger windows_on_spaces
|
||||||
|
|
||||||
# shift + alt - 0 : /Users/slococo/.local/bin/layout.sh
|
# shift + alt - 0 : /Users/slococo/.local/bin/layout.sh
|
||||||
|
|
||||||
|
|
|
@ -46,5 +46,5 @@ yabai -m rule --add title='scratchpad' sub-layer=above space=10 grid=4:4:1:1:2:2
|
||||||
|
|
||||||
/Users/slococo/.local/bin/open.sh &
|
/Users/slococo/.local/bin/open.sh &
|
||||||
|
|
||||||
/Users/slococo/.local/bin/doNotCharge.sh &
|
#/Users/slococo/.local/bin/doNotCharge.sh &
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
|
||||||
alias gcm='git commit -m'
|
alias gcm='git commit -m'
|
||||||
alias sed='gsed'
|
alias sed='gsed'
|
||||||
alias qrread='zbarimg -q --raw <(pngpaste -)'
|
alias qrread='zbarimg -q --raw <(pngpaste -)'
|
||||||
alias sudoedit='sudo nvim'
|
alias sudoedit='sudo -e nvim'
|
||||||
|
|
||||||
gacp() {
|
gacp() {
|
||||||
git add .
|
git add .
|
||||||
|
|
|
@ -48,6 +48,7 @@ locations=(
|
||||||
"/usr/local/sbin"
|
"/usr/local/sbin"
|
||||||
"/usr/local/share"
|
"/usr/local/share"
|
||||||
"/usr/local/var"
|
"/usr/local/var"
|
||||||
|
"/usr/local/libexec"
|
||||||
$(getconf DARWIN_USER_CACHE_DIR | sed "s/\/$//")
|
$(getconf DARWIN_USER_CACHE_DIR | sed "s/\/$//")
|
||||||
$(getconf DARWIN_USER_TEMP_DIR | sed "s/\/$//")
|
$(getconf DARWIN_USER_TEMP_DIR | sed "s/\/$//")
|
||||||
)
|
)
|
||||||
|
@ -83,4 +84,7 @@ if [ "$answer" = "y" ]; then
|
||||||
posixFiles=$(printf ", POSIX file \"%s\"" "${paths[@]}" | awk '{print substr($0,3)}')
|
posixFiles=$(printf ", POSIX file \"%s\"" "${paths[@]}" | awk '{print substr($0,3)}')
|
||||||
osascript -e "tell application \"Finder\" to delete { $posixFiles }" > /dev/null
|
osascript -e "tell application \"Finder\" to delete { $posixFiles }" > /dev/null
|
||||||
printf "%s\n" "Done"
|
printf "%s\n" "Done"
|
||||||
|
|
||||||
|
app_name="$(echo "$app_name" | tr ' ' '-')"
|
||||||
|
brew list "$app_name" && brew uninstall --force --zap "$app_name"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -93,6 +93,7 @@ locations=(
|
||||||
"/usr/local/sbin"
|
"/usr/local/sbin"
|
||||||
"/usr/local/share"
|
"/usr/local/share"
|
||||||
"/usr/local/var"
|
"/usr/local/var"
|
||||||
|
"/usr/local/libexec"
|
||||||
$(getconf DARWIN_USER_CACHE_DIR | sed "s/\/$//")
|
$(getconf DARWIN_USER_CACHE_DIR | sed "s/\/$//")
|
||||||
$(getconf DARWIN_USER_TEMP_DIR | sed "s/\/$//")
|
$(getconf DARWIN_USER_TEMP_DIR | sed "s/\/$//")
|
||||||
)
|
)
|
||||||
|
@ -120,5 +121,6 @@ if [ "$answer" = "y" ]; then
|
||||||
osascript -e "tell application \"Finder\" to delete { $posixFiles }" > /dev/null
|
osascript -e "tell application \"Finder\" to delete { $posixFiles }" > /dev/null
|
||||||
printf "%s\n" "Done"
|
printf "%s\n" "Done"
|
||||||
|
|
||||||
brew list "$app_name" && brew uninstall "$app_name"
|
app_name="$(echo "$app_name" | sed 's/.app//' | tr ' ' '-')"
|
||||||
|
brew list "$app_name" && brew uninstall --force --zap "$app_name"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -26,7 +26,7 @@ export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
|
||||||
export IPYTHONDIR="${XDG_CONFIG_HOME}/ipython"
|
export IPYTHONDIR="${XDG_CONFIG_HOME}/ipython"
|
||||||
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
|
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
|
||||||
#export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
|
#export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
|
||||||
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
|
#export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
|
||||||
#export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
|
#export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
|
||||||
export TLDR_CACHE_DIR="$XDG_CACHE_HOME"/tldr
|
export TLDR_CACHE_DIR="$XDG_CACHE_HOME"/tldr
|
||||||
export TLDR_AUTO_UPDATE_DISABLED=true
|
export TLDR_AUTO_UPDATE_DISABLED=true
|
||||||
|
@ -34,6 +34,9 @@ export SHELL_SESSIONS_DISABLE=1
|
||||||
export PAGER='nvimpager -p'
|
export PAGER='nvimpager -p'
|
||||||
export DIALOGRC="$XDG_CONFIG_HOME"/dialog/dialogrc
|
export DIALOGRC="$XDG_CONFIG_HOME"/dialog/dialogrc
|
||||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
||||||
|
export DOCKER_HOST="unix:///Volumes/SSD/.colima/docker.sock"
|
||||||
|
export ANSIBLE_HOME="$XDG_DATA_HOME"/ansible
|
||||||
|
export ANSIBLE_COLLECTIONS_PATH="$ANSIBLE_HOME/collections/ansible_collections:/opt/homebrew/opt/ansible/libexec/lib/python3.12/site-packages/ansible_collections"
|
||||||
|
|
||||||
export EDITOR=/opt/homebrew/bin/nvim
|
export EDITOR=/opt/homebrew/bin/nvim
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue