From e8336cf0631ac1643c44baf2a0333c09e267da19 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 27 Nov 2021 21:20:54 -0600 Subject: [PATCH 01/40] Ubuntu initial setup --- gvimrc | 48 +++++----- vimrc | 284 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 167 insertions(+), 165 deletions(-) diff --git a/gvimrc b/gvimrc index b90b5d1..70d47cd 100644 --- a/gvimrc +++ b/gvimrc @@ -1,19 +1,19 @@ "start maximized -au GUIEnter * simalt ~x +"au GUIEnter * simalt ~x "tutorial followed for gvim setup https://www.youtube.com/watch?v=FuPFoVDdTtE&t=1458s "source $HOME/vimfiles/vimrc "FONT -if has("gui_running") - if has("gui_gtk2") - set guifont=Inconsolata\ 12 - elseif has("gui_macvim") - set guifont=Menlo\ Regular:h14 - elseif has("gui_win32") - set guifont=Consolas:h11:cANSI - endif -endif +"if has("gui_running") +" if has("gui_gtk2") +" set guifont=Inconsolata\ 12 +" elseif has("gui_macvim") +" set guifont=Menlo\ Regular:h14 +" elseif has("gui_win32") +" set guifont=Consolas:h11:cANSI +" endif +"endif ""VIM PLUG setup https://github.com/junegunn/vim-plug " Specify a directory for plugins @@ -63,19 +63,19 @@ set guioptions-=R "remove right scrollbar set guioptions-=l "remove left scrollbar set guioptions-=L "remove left scrollbar -"gVim specific keybindings: -nnoremap sp :edit!$HOME/Documents/Notes/ScratchPad.txt +"nvim specific keybindings: +nnoremap sp :edit!~/Documents/Notes/ScratchPad.txt "nnoremap ics :NERDTree C:/InContext/Git/ -nnoremap ics :NERDTree C:\Users\ethan.fischer\GitProjects\ICS +"nnoremap ics :NERDTree C:\Users\ethan.fischer\GitProjects\ICS " specific keybindings -nnoremap nt :NERDTreeFind -nnoremap :WhichKey '' -nnoremap :SidewaysRight -nnoremap :SidewaysLeft -nmap gd (coc-definition) -nmap gi (coc-implementation) -nmap gr (coc-references) +"nnoremap nt :NERDTreeFind +"nnoremap :WhichKey '' +"nnoremap :SidewaysRight +"nnoremap :SidewaysLeft +"nmap gd (coc-definition) +"nmap gi (coc-implementation) +"nmap gr (coc-references) "toggle bool noremap :ToggleBool @@ -102,12 +102,12 @@ inoremap pumvisible() ? "\" : "\" "ALE config to only lint csharp "https://github.com/OmniSharp/omnisharp-vim -let g:ale_linters = { -\ 'cs': ['OmniSharp'] -\} +"let g:ale_linters = { +"\ 'cs': ['OmniSharp'] +"\} -let g:lf_replace_netrw = 1 " Open lf when vim opens a directory +"let g:lf_replace_netrw = 1 " Open lf when vim opens a directory "execute current file from shell (make sure to :cd %/.. first) nnoremap :!% diff --git a/vimrc b/vimrc index 3197890..ae95c2f 100644 --- a/vimrc +++ b/vimrc @@ -1,141 +1,143 @@ -syntax on -set nocompatible -set backspace=indent,eol,start -set noerrorbells -set belloff=all -set tabstop=4 softtabstop=4 -set shiftwidth=4 -set expandtab -set smartindent -"set nowrap -set wrap -set ignorecase -set smartcase -set noswapfile -set nobackup -set undofile -set undodir=~/vimfiles/undodir -set incsearch -set foldmethod=syntax -set foldlevelstart=99 "open all folds -set encoding=utf8 -set guioptions-=a -set diffopt=vertical - -"set colorcolumn=80 -"highlight ColorColumn ctermbg=0 - -"set clipboard=unnamed Disabling temporarily so I can figure out if clipboard -"is causing lags in Visual Studio -"https://github.com/VsVim/VsVim/issues/2035 -set clipboard=unnamed -set nornu -set number -set shell=$COMSPEC " - -"space leader -let mapleader = " " - -nnoremap -"nnoremap viw"0P - -"Scroll down -nnoremap M -"Scroll up -map M - -"Put on line below -nnoremap :pu -nnoremap :pu! - -if executable('rg') - let g:rg_derive_root='true' -endif - - -" Quickly open/reload vimrc -nnoremap rc :tabe $HOME/vimfiles/vimrc -nnoremap grc :tabe $HOME/vimfiles/gvimrc -nnoremap nrc :tabe $HOME/appdata/local/nvim/init.vim -nnoremap so :source $HOME/vimfiles/vimrc -nnoremap gso :source $HOME/vimfiles/gvimrc - -nnoremap q :q -nnoremap Q :q! -nnoremap :w -nnoremap :tabe -nnoremap -"nnoremap no way to map to ctrl shift minus in Vim :( - -nnoremap wq :wq -nnoremap :FZF -nnoremap :Rg -nnoremap 9 :tabprev -nnoremap 0 :tabnext -nnoremap dd :%d "delete all lines in file -nnoremap vv ggVG "highlight all lines in file - -nnoremap h :wincmd h -nnoremap j :wincmd j -nnoremap k :wincmd k -nnoremap l :wincmd l - -"format json -nnoremap fj :%!python -m json.tool :set syntax=json -"remove escape characters and starting and ending quotes from copied json -nnoremap /j V:s/\\//g 0x$x - - -"Copy open file path -noremap :let @+=expand("%:p") - -noremap ; :set rnu! -noremap # :set rnu! - - -"capital y should yank to end of line, just like capital c and capital d -"operates to the end of the line -nnoremap Y y$ -nnoremap V v$ -vnoremap v V - -" CTRL-C and are Copy to windows clipboard -vnoremap "+y - -"make certain characters undoable in insert mode -inoremap , ,u -inoremap . .u -inoremap [ [u -inoremap ! !u -inoremap ? ?u - -"ability to move highlighted lines up and down -vnoremap J :m '>+1gv=gv -vnoremap K :m '<-2gv=gv - -"open -nnoremap :open - -"Remove empty lines -"g/^$/d - -"Reload vimrc on save -"autocmd! bufwritepost .vimrc source % - -"good to know: - "nnoremap stands for normal-no-recursive-map - -"vim diff command -":vert diffs otherfile.config - -"G is from Git-fugitive -command StashAll G add . | G stash -command Sta StashAll -command StashPop G stash pop -command Stp StashPop -command Nuke G reset --hard | G clean -fd -command Chm G checkout master -command CheckoutPrevious G checkout - -command Chp CheckoutPrevious -command MergeMaster G checkout master | G pull | G checkout - | G merge master -command Mm MergeMaster +syntax on +set nocompatible +set backspace=indent,eol,start +set noerrorbells +set belloff=all +set tabstop=4 softtabstop=4 +set shiftwidth=4 +set expandtab +set smartindent +"set nowrap +set wrap +set ignorecase +set smartcase +set noswapfile +set nobackup +set undofile +set undodir=~/vimfiles/undodir +set incsearch +set foldmethod=syntax +set foldlevelstart=99 "open all folds +set encoding=utf8 +set guioptions-=a +set diffopt=vertical + +"set colorcolumn=80 +"highlight ColorColumn ctermbg=0 + +"set clipboard=unnamed Disabling temporarily so I can figure out if clipboard +"is causing lags in Visual Studio +"https://github.com/VsVim/VsVim/issues/2035 +set clipboard=unnamed +set nornu +set number +set shell=$COMSPEC " + +"space leader +let mapleader = " " + +nnoremap +"nnoremap viw"0P + +"Scroll down +nnoremap M +"Scroll up +map M + +"Put on line below +nnoremap :pu +nnoremap :pu! + +if executable('rg') + let g:rg_derive_root='true' +endif + + +" Quickly open/reload vimrc +nnoremap rc :tabe $HOME/vimfiles/vimrc +nnoremap grc :tabe $HOME/vimfiles/gvimrc +nnoremap nrc :tabe $HOME/appdata/local/nvim/init.vim +nnoremap so :source $HOME/vimfiles/vimrc +nnoremap gso :source $HOME/vimfiles/gvimrc + +nnoremap q :q +nnoremap Q :q! +nnoremap :w +nnoremap :tabe +nnoremap +"nnoremap no way to map to ctrl shift minus in Vim :( + +nnoremap wq :wq +nnoremap :FZF +nnoremap :Rg +nnoremap 9 :tabprev +nnoremap 0 :tabnext +nnoremap dd :%d "delete all lines in file +nnoremap vv ggVG "highlight all lines in file + +nnoremap h :wincmd h +nnoremap j :wincmd j +nnoremap k :wincmd k +nnoremap l :wincmd l + +"format json +nnoremap fj :%!python -m json.tool :set syntax=json +"remove escape characters and starting and ending quotes from copied json +nnoremap /j V:s/\\//g 0x$x + + +"Copy open file path +noremap :let @+=expand("%:p") + +noremap ; :set rnu! +noremap # :set rnu! + + +"capital y should yank to end of line, just like capital c and capital d +"operates to the end of the line +nnoremap Y y$ +nnoremap V v$ +vnoremap v V + +" CTRL-C and are Copy to windows clipboard +vnoremap "+y + +"make certain characters undoable in insert mode +inoremap , ,u +inoremap . .u +inoremap [ [u +inoremap ! !u +inoremap ? ?u + +"ability to move highlighted lines up and down +vnoremap J :m '>+1gv=gv +vnoremap K :m '<-2gv=gv + +"open +nnoremap :open + +"Remove empty lines +"g/^$/d + +"Reload vimrc on save +"autocmd! bufwritepost .vimrc source % + +"good to know: + "nnoremap stands for normal-no-recursive-map + "nvim's version of vimrc is at ~/.config/nvim/init.vim + "browse oldfiles brings up recently edited files + +"vim diff command +":vert diffs otherfile.config + +"G is from Git-fugitive +command StashAll G add . | G stash +command Sta StashAll +command StashPop G stash pop +command Stp StashPop +command Nuke G reset --hard | G clean -fd +command Chm G checkout master +command CheckoutPrevious G checkout - +command Chp CheckoutPrevious +command MergeMaster G checkout master | G pull | G checkout - | G merge master +command Mm MergeMaster From c630accdf1f747122c4d3c37b09b92765af37088 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 27 Nov 2021 21:57:00 -0600 Subject: [PATCH 02/40] Browse oldfiles --- vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vimrc b/vimrc index ae95c2f..e9e3bdd 100644 --- a/vimrc +++ b/vimrc @@ -116,6 +116,9 @@ vnoremap K :m '<-2gv=gv "open nnoremap :open +"recent files +nnoremap ? :browse oldfiles + "Remove empty lines "g/^$/d From 95f6d893c35d456ad53c4f5c4b9ad4a76575b9a2 Mon Sep 17 00:00:00 2001 From: Ethan Fischer Date: Fri, 12 May 2023 12:14:23 +0800 Subject: [PATCH 03/40] Disable COMSPECT and undo character settings for Rider --- vimrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index e9e3bdd..c86d37c 100644 --- a/vimrc +++ b/vimrc @@ -31,7 +31,7 @@ set diffopt=vertical set clipboard=unnamed set nornu set number -set shell=$COMSPEC " +"set shell=$COMSPEC " "space leader let mapleader = " " @@ -45,8 +45,8 @@ nnoremap map M "Put on line below -nnoremap :pu -nnoremap :pu! +"nnoremap :pu +"nnoremap :pu! if executable('rg') let g:rg_derive_root='true' @@ -103,11 +103,11 @@ vnoremap v V vnoremap "+y "make certain characters undoable in insert mode -inoremap , ,u -inoremap . .u -inoremap [ [u -inoremap ! !u -inoremap ? ?u +"inoremap , ,u +"inoremap . .u +"inoremap [ [u +"inoremap ! !u +"inoremap ? ?u "ability to move highlighted lines up and down vnoremap J :m '>+1gv=gv From 53dba5c8cdccbf030be28d9cac09393bcb0f0abb Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Tue, 8 Aug 2023 11:25:38 -0500 Subject: [PATCH 04/40] Stuff works well on my m2 mac so im just commiting it --- gvimrc | 81 ++++++++++++++++++++++++++++++++++++++++++++++++---------- vimrc | 6 +++-- 2 files changed, 71 insertions(+), 16 deletions(-) diff --git a/gvimrc b/gvimrc index 70d47cd..93c5e8c 100644 --- a/gvimrc +++ b/gvimrc @@ -41,13 +41,19 @@ Plug 'andrewradev/sideways.vim' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'bling/vim-airline' Plug 'pedrohdz/vim-yaml-folds' -Plug 'sagarrakshe/toggle-bool' +"Plug 'sagarrakshe/toggle-bool' Plug 'ThePrimeagen/vim-be-good' -Plug 'OmniSharp/omnisharp-vim' Plug 'dense-analysis/ale' Plug 'ptzz/lf.vim' Plug 'voldikss/vim-floaterm' Plug 'jkramer/vim-checkbox' +Plug 'machakann/vim-highlightedyank' +Plug 'jbyuki/quickmath.nvim' +Plug 'neovim/nvim-lspconfig' +Plug 'simrat39/rust-tools.nvim' +Plug 'hrsh7th/nvim-cmp' +Plug 'hrsh7th/cmp-nvim-lsp' + " Initialize plugin system call plug#end() @@ -65,12 +71,12 @@ set guioptions-=L "remove left scrollbar "nvim specific keybindings: nnoremap sp :edit!~/Documents/Notes/ScratchPad.txt -"nnoremap ics :NERDTree C:/InContext/Git/ +nnoremap smxg :NERDTree ~/repos/ics/InContext.SMXGo "nnoremap ics :NERDTree C:\Users\ethan.fischer\GitProjects\ICS " specific keybindings -"nnoremap nt :NERDTreeFind -"nnoremap :WhichKey '' +nnoremap nt :NERDTreeFind +nnoremap :WhichKey '' "nnoremap :SidewaysRight "nnoremap :SidewaysLeft "nmap gd (coc-definition) @@ -78,7 +84,7 @@ nnoremap sp :edit!~/Documents/Notes/ScratchPad.txt "nmap gr (coc-references) "toggle bool -noremap :ToggleBool +"noremap :ToggleBool "checkbox "default is leader tt @@ -100,14 +106,61 @@ inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" -"ALE config to only lint csharp -"https://github.com/OmniSharp/omnisharp-vim -"let g:ale_linters = { -"\ 'cs': ['OmniSharp'] -"\} - - "let g:lf_replace_netrw = 1 " Open lf when vim opens a directory "execute current file from shell (make sure to :cd %/.. first) -nnoremap :!% +"nnoremap :!% +nnoremap :!cargo run + +" set highlight to whatever amount of ms +let g:highlightedyank_highlight_duration = 500 + +lua << EOF +vim.lsp.set_log_level("debug") + +local nvim_lsp = require('lspconfig') +local on_attach = function(client, bufnr) + local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end + local opts = { noremap=true, silent=true } + + -- Keybindings for LSP actions + buf_set_keymap('n', 'gD', 'lua vim.lsp.buf.declaration()', opts) + buf_set_keymap('n', '', 'lua vim.lsp.buf.definition()', opts) + buf_set_keymap('n', '', 'lua vim.lsp.buf.hover()', opts) + buf_set_keymap('n', '', 'lua vim.lsp.buf.implementation()', opts) + buf_set_keymap('i', '', 'lua vim.lsp.buf.signature_help()', opts) + buf_set_keymap('n', 'wa', 'lua vim.lsp.buf.add_workspace_folder()', opts) + buf_set_keymap('n', 'wr', 'lua vim.lsp.buf.remove_workspace_folder()', opts) + buf_set_keymap('n', 'wl', 'lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))', opts) + buf_set_keymap('n', 'D', 'lua vim.lsp.buf.type_definition()', opts) + buf_set_keymap('n', '', 'lua vim.lsp.buf.rename()', opts) + buf_set_keymap('n', '', 'lua vim.lsp.buf.code_action()', opts) + buf_set_keymap('n', 'gr', 'lua vim.lsp.buf.references()', opts) + buf_set_keymap('n', 'e', 'lua vim.lsp.diagnostic.show_line_diagnostics()', opts) + buf_set_keymap('n', '[d', 'lua vim.lsp.diagnostic.goto_prev()', opts) + buf_set_keymap('n', ']d', 'lua vim.lsp.diagnostic.goto_next()', opts) + buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) + buf_set_keymap('n', 'f', 'lua vim.lsp.buf.formatting()', opts) +end + +local servers = { + rust_analyzer = {} +} + +for server, config in pairs(servers) do + config.on_attach = on_attach + nvim_lsp[server].setup(config) +end + +local cmp = require'cmp' +cmp.setup { + mapping = { + [''] = cmp.mapping.confirm({ select = true }), + [''] = cmp.mapping.select_next_item(), + [''] = cmp.mapping.select_prev_item(), + }, + sources = { + { name = 'nvim_lsp' } + }, +} +EOF diff --git a/vimrc b/vimrc index c86d37c..b2bacb0 100644 --- a/vimrc +++ b/vimrc @@ -73,7 +73,7 @@ nnoremap :Rg nnoremap 9 :tabprev nnoremap 0 :tabnext nnoremap dd :%d "delete all lines in file -nnoremap vv ggVG "highlight all lines in file +nnoremap yy :%y nnoremap h :wincmd h nnoremap j :wincmd j @@ -81,7 +81,7 @@ nnoremap k :wincmd k nnoremap l :wincmd l "format json -nnoremap fj :%!python -m json.tool :set syntax=json +nnoremap fj :%!jq . "remove escape characters and starting and ending quotes from copied json nnoremap /j V:s/\\//g 0x$x @@ -144,3 +144,5 @@ command CheckoutPrevious G checkout - command Chp CheckoutPrevious command MergeMaster G checkout master | G pull | G checkout - | G merge master command Mm MergeMaster + +nnoremap :!cargo run From 1faccee9019384d31065b7d1a91616d135da3d16 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 25 Jan 2024 16:05:53 -0600 Subject: [PATCH 05/40] Add zshrc --- zshrc | 212 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 212 insertions(+) create mode 100644 zshrc diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..ceffdfa --- /dev/null +++ b/zshrc @@ -0,0 +1,212 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH +export PATH="/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH" + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + + +setopt auto_cd +cdpath=($HOME $HOME/repos $HOME/repos/ICS) + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="powerlevel10k/powerlevel10k" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git zsh-autosuggestions zsh-syntax-highlighting vi-mode) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +# +alias smxg="cd ~/Repos/ICS/InContext.SMXGo" +alias smxgu="cd ~/Repos/ICS/InContext.SMXGo/unityprojects/smxgo_unityproject" +alias lg="lazygit" +alias alie="nvim ~/.zshrc" +alias sp="nvim ~/Documents/Notes/ScratchPad.txt" +alias vim=nvim +alias e.="open ." +alias src="source ~/.zshrc" +alias ics="cd ~/Repos/ICS" +alias vs="open *.sln" +alias psh="git push" +alias pl="git pull" +alias chm="git checkout master" +alias wchm="git checkout main" +alias lp="git log --pretty=oneline" +alias c="git commit" +alias status="git status" +alias sta="git add . ; git stash" +alias stp="git stash pop" +alias smxgd="cd ~/Library/Application\ Support/InContext\ Solutions/SMX\ GO\ \(LOCAL\)/" +alias ch-="git checkout -" +alias pss="git push -u origin HEAD" +alias ch="git checkout $*" +alias mm="git checkout master ; git pull ; git checkout - ; git merge master" +alias wmm="git checkout main ; git pull ; git checkout - ; git merge main" +alias nuke="git reset --hard ; git clean -fd" +alias insta="adb install unitybuild.apk" +alias build="dotnet build perfaware/part2/HaversineProcessor/HaversineProcessor.sln" +alias run="perfaware/part2/HaversineProcessor/HaversineProcessor/bin/Debug/net7.0/HaversineProcessor" +alias pat="grep -A 1 'PAT' ~/Documents/Notes/ScratchPad.txt | tail -n 1 | pbcopy" +alias ib="xcodebuild -project "unitybuild/Unity-iPhone.xcodeproj" -scheme "Unity-iPhone" -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN'" +alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' -scheme 'Unity-iPhone' -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN' && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" +alias notif="osascript -e 'display notification \"iOS Install Finished\" with title \"iOS Install Finished\"'" +alias smxgcl="rm -rf '/Users/ethanfischer/Library/Application Support/InContext Solutions/SMX GO (LOCAL)'" +alias matrix="cmatrix" +alias train="sl" +alias big="figlet $*" +alias bonsai="cbonsai -l --life=75" +alias aquarium="asciiquarium" + +function pr() { + # Try to create a new PR + pr_output=$(az repos pr create 2>&1) + echo "Pr output $pr_output" + + if [[ $pr_output == *"TF401179"* ]]; then + # If PR already exists, fetch the existing PR ID + pr_id=$(az repos pr list --status active | jq -r '.[0].pullRequestId') + else + # If a new PR is created, parse the PR ID from the output + pr_id=$(echo $pr_output | jq -r '.pullRequestId') + fi + + echo "Pr id $pr_id" + # Get the repo name from the remote origin URL + repo=$(git config --get remote.origin.url | awk -F '/' '{print $NF}' | sed 's/.git//g') + + echo "repo $repo" + # Construct the URL of the PR + pr_url="https://incontextsolutions.visualstudio.com/ICS/_git/$repo/pullrequest/$pr_id" + + echo "pr_url $pr_url" + # Open the PR in the browser + open $pr_url +} + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +export PATH=$PATH:~/Android/Sdk/platform-tools +export PATH=$PATH:~/Library/Android/sdk/platform-tools + + +# Change cursor shape for vi-mode +function zle-keymap-select { + if [[ ${KEYMAP} == vicmd ]]; then + echo -ne "\e[2 q" + elif [[ ${KEYMAP} == main ]]; then + echo -ne "\e[6 q" + fi + zle reset-prompt + zle -R +} + +zle -N zle-keymap-select +zle-line-init() { + zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere) + echo -ne "\e[6 q" +} +zle -N zle-line-init +KEYTIMEOUT=1 +#end change cursor shape for vi-mode + +# accept autosuggestions +bindkey "^[[Z" autosuggest-accept +# End accept autosuggestions +export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/emulator +export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/tools +export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/platform-tools From a11c86c8d465f39f2bd8b3cbd6eaede087d19c98 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 25 Jan 2024 16:14:50 -0600 Subject: [PATCH 06/40] Comment out jump yanking for now --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index b2bacb0..3958f3b 100644 --- a/vimrc +++ b/vimrc @@ -99,6 +99,10 @@ nnoremap Y y$ nnoremap V v$ vnoremap v V +"don't jump when yanking +"vnoremap y y'] + + " CTRL-C and are Copy to windows clipboard vnoremap "+y From d858d0ee1bcc25d3e4f1cf80e88b43e2fbc48fcc Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 30 May 2024 18:18:03 -0500 Subject: [PATCH 07/40] some zshrc updates --- zshrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index ceffdfa..8eec0a1 100644 --- a/zshrc +++ b/zshrc @@ -114,8 +114,9 @@ source $ZSH/oh-my-zsh.sh # alias smxg="cd ~/Repos/ICS/InContext.SMXGo" alias smxgu="cd ~/Repos/ICS/InContext.SMXGo/unityprojects/smxgo_unityproject" +alias eman="cd ~/Repos/ICS/InContext.Everyman/trunk" alias lg="lazygit" -alias alie="nvim ~/.zshrc" +alias alie="nvim ~/vimfiles/zshrc" alias sp="nvim ~/Documents/Notes/ScratchPad.txt" alias vim=nvim alias e.="open ." @@ -143,7 +144,8 @@ alias build="dotnet build perfaware/part2/HaversineProcessor/HaversineProcessor. alias run="perfaware/part2/HaversineProcessor/HaversineProcessor/bin/Debug/net7.0/HaversineProcessor" alias pat="grep -A 1 'PAT' ~/Documents/Notes/ScratchPad.txt | tail -n 1 | pbcopy" alias ib="xcodebuild -project "unitybuild/Unity-iPhone.xcodeproj" -scheme "Unity-iPhone" -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN'" -alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' -scheme 'Unity-iPhone' -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN' && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" +#alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' -scheme 'Unity-iPhone' -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN' && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" +alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGN_ENTITLEMENTS="" \ CODE_SIGNING_ALLOWED=YES \ DEVELOPMENT_TEAM='3644B598RN' \ -allowProvisioningUpdates \ build && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" alias notif="osascript -e 'display notification \"iOS Install Finished\" with title \"iOS Install Finished\"'" alias smxgcl="rm -rf '/Users/ethanfischer/Library/Application Support/InContext Solutions/SMX GO (LOCAL)'" alias matrix="cmatrix" @@ -151,6 +153,10 @@ alias train="sl" alias big="figlet $*" alias bonsai="cbonsai -l --life=75" alias aquarium="asciiquarium" +alias cs="gh copilot suggest $*" +alias ce="gh copilot explain $*" +alias cportal="cd InContext.ClientPortal" +alias ref="git reflog" function pr() { # Try to create a new PR From 2a2766f68e58fccb67bb91ba24c83049c8331fa7 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:14:38 -0500 Subject: [PATCH 08/40] these are all blob files. not sure what happened here --- .gitignore | 0 autoload/plug.vim | 0 colors/molokai.vim | 0 ftdetect/shaderlab.vim | 0 indent/shaderlab.vim | 0 syntax/shaderlab.vim | 0 6 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 autoload/plug.vim mode change 100644 => 100755 colors/molokai.vim mode change 100644 => 100755 ftdetect/shaderlab.vim mode change 100644 => 100755 indent/shaderlab.vim mode change 100644 => 100755 syntax/shaderlab.vim diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/autoload/plug.vim b/autoload/plug.vim old mode 100644 new mode 100755 diff --git a/colors/molokai.vim b/colors/molokai.vim old mode 100644 new mode 100755 diff --git a/ftdetect/shaderlab.vim b/ftdetect/shaderlab.vim old mode 100644 new mode 100755 diff --git a/indent/shaderlab.vim b/indent/shaderlab.vim old mode 100644 new mode 100755 diff --git a/syntax/shaderlab.vim b/syntax/shaderlab.vim old mode 100644 new mode 100755 From 2cc413436226b450d9b189c33e876e029bee61f6 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:15:19 -0500 Subject: [PATCH 09/40] python editing improvemnents --- vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vimrc b/vimrc index 3958f3b..73506b2 100644 --- a/vimrc +++ b/vimrc @@ -150,3 +150,14 @@ command MergeMaster G checkout master | G pull | G checkout - | G merge master command Mm MergeMaster nnoremap :!cargo run + +" Disable virtual text diagnostics (LSP inline warnings) +autocmd LspAttach * lua vim.diagnostic.config({ virtual_text = false }) +" Toggle diagnostic virtual text +nnoremap dt :lua vim.diagnostic.config({ virtual_text = not vim.diagnostic.config().virtual_text }) + +" Disable CoC virtual text +let g:coc_disable_transparent_cursor = 1 +let g:coc_enable_locationlist = 0 +" Disable ALE virtual text +let g:ale_virtualtext_cursor = 0 From ecf2028b206d45152f8aa8d034f37f31c830f381 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:15:44 -0500 Subject: [PATCH 10/40] disable ctrl opening --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 73506b2..1f4a221 100644 --- a/vimrc +++ b/vimrc @@ -118,7 +118,7 @@ vnoremap J :m '>+1gv=gv vnoremap K :m '<-2gv=gv "open -nnoremap :open +"nnoremap :open "recent files nnoremap ? :browse oldfiles From 79c9bf347196b549ef28e57b79553646186de979 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:16:04 -0500 Subject: [PATCH 11/40] mapping for removing windows carriage returns --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index 1f4a221..e78f48f 100644 --- a/vimrc +++ b/vimrc @@ -84,6 +84,8 @@ nnoremap l :wincmd l nnoremap fj :%!jq . "remove escape characters and starting and ending quotes from copied json nnoremap /j V:s/\\//g 0x$x +"remove windows carraige returns +noremap /m :%s/\r//g "Copy open file path From 0aa6ffe8d0142fc1ac2b7c4db9127659847ab840 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:16:54 -0500 Subject: [PATCH 12/40] binary changes idk --- vimrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 vimrc diff --git a/vimrc b/vimrc old mode 100644 new mode 100755 From d488d4abc8db7983028ea7f9833ed03d5f61192a Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:17:08 -0500 Subject: [PATCH 13/40] update scratchpad directory --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 8eec0a1..d383ac2 100644 --- a/zshrc +++ b/zshrc @@ -117,7 +117,7 @@ alias smxgu="cd ~/Repos/ICS/InContext.SMXGo/unityprojects/smxgo_unityproject" alias eman="cd ~/Repos/ICS/InContext.Everyman/trunk" alias lg="lazygit" alias alie="nvim ~/vimfiles/zshrc" -alias sp="nvim ~/Documents/Notes/ScratchPad.txt" +alias sp="nvim /Users/Shared/ScratchPad.txt" alias vim=nvim alias e.="open ." alias src="source ~/.zshrc" From e714214a624592ef66c2a9124df1d7a29b1cec49 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:17:37 -0500 Subject: [PATCH 14/40] add ics alias shortcut ics --- zshrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index d383ac2..78eca56 100644 --- a/zshrc +++ b/zshrc @@ -121,7 +121,6 @@ alias sp="nvim /Users/Shared/ScratchPad.txt" alias vim=nvim alias e.="open ." alias src="source ~/.zshrc" -alias ics="cd ~/Repos/ICS" alias vs="open *.sln" alias psh="git push" alias pl="git pull" @@ -184,6 +183,15 @@ function pr() { open $pr_url } +ics() { + if [ $# -eq 0 ]; then + echo "Usage: ics " + return 1 + fi + + cd "InContext.$1" +} + # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh export PATH=$PATH:~/Android/Sdk/platform-tools From c9f8772108556e8097e5742443612240ab9653b3 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:17:48 -0500 Subject: [PATCH 15/40] homebrew stuff? --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 78eca56..771f2e9 100644 --- a/zshrc +++ b/zshrc @@ -224,3 +224,8 @@ bindkey "^[[Z" autosuggest-accept export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/emulator export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/tools export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/platform-tools +#homebrew +export PATH="/opt/homebrew/bin:$PATH" +export HOMEBREW_PREFIX="/opt/homebrew" +export HOMEBREW_CELLAR="/opt/homebrew/Cellar" +export HOMEBREW_REPOSITORY="/opt/homebrew/Homebrew" From c6ded92a9e74c404cf63148fbda35cf080759c06 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:02 -0500 Subject: [PATCH 16/40] aliases for ls by date descending --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index 771f2e9..a803bb3 100644 --- a/zshrc +++ b/zshrc @@ -156,6 +156,8 @@ alias cs="gh copilot suggest $*" alias ce="gh copilot explain $*" alias cportal="cd InContext.ClientPortal" alias ref="git reflog" +alias lsdate="ls -ltr" +alias lsd="ls -ltr" function pr() { # Try to create a new PR From b7677449b3805db33d04170d16cb2979e9da7729 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:10 -0500 Subject: [PATCH 17/40] portal alias shortcut --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index a803bb3..c295607 100644 --- a/zshrc +++ b/zshrc @@ -155,6 +155,7 @@ alias aquarium="asciiquarium" alias cs="gh copilot suggest $*" alias ce="gh copilot explain $*" alias cportal="cd InContext.ClientPortal" +alias ptl="cd InContext.Portal" alias ref="git reflog" alias lsdate="ls -ltr" alias lsd="ls -ltr" From 9fa2eb9d7164f3f1642515a9f4ac782ff24defba Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:23 -0500 Subject: [PATCH 18/40] notification alias --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index c295607..7144780 100644 --- a/zshrc +++ b/zshrc @@ -159,6 +159,7 @@ alias ptl="cd InContext.Portal" alias ref="git reflog" alias lsdate="ls -ltr" alias lsd="ls -ltr" +alias notify='tput bel; afplay /System/Library/Sounds/Hero.aiff & terminal-notifier -title "Terminal" -message "Done with task! Exit status: $?"' function pr() { # Try to create a new PR @@ -227,6 +228,7 @@ bindkey "^[[Z" autosuggest-accept export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/emulator export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/tools export PATH=$PATH:/Users/ethanfischer/Library/Android/sdk/platform-tools + #homebrew export PATH="/opt/homebrew/bin:$PATH" export HOMEBREW_PREFIX="/opt/homebrew" From 38f34e101c8d7d8ae21fd5a40e8e7d32636743c8 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:28 -0500 Subject: [PATCH 19/40] pat alias --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 7144780..08f27be 100644 --- a/zshrc +++ b/zshrc @@ -141,7 +141,7 @@ alias nuke="git reset --hard ; git clean -fd" alias insta="adb install unitybuild.apk" alias build="dotnet build perfaware/part2/HaversineProcessor/HaversineProcessor.sln" alias run="perfaware/part2/HaversineProcessor/HaversineProcessor/bin/Debug/net7.0/HaversineProcessor" -alias pat="grep -A 1 'PAT' ~/Documents/Notes/ScratchPad.txt | tail -n 1 | pbcopy" +alias pat="grep -A 1 'PAT' /Users/Shared/ScratchPad.txt | tail -n 1 | pbcopy" alias ib="xcodebuild -project "unitybuild/Unity-iPhone.xcodeproj" -scheme "Unity-iPhone" -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN'" #alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' -scheme 'Unity-iPhone' -sdk iphoneos build PROVISIONING_PROFILE_SPECIFIER='SMX Go' DEVELOPMENT_TEAM='3644B598RN' && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" alias inst="xcodebuild -project 'unitybuild/Unity-iPhone.xcodeproj' \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGN_ENTITLEMENTS="" \ CODE_SIGNING_ALLOWED=YES \ DEVELOPMENT_TEAM='3644B598RN' \ -allowProvisioningUpdates \ build && ios-deploy --bundle /Users/ethanfischer/Library/Developer/Xcode/DerivedData/Unity-iPhone-fjaixfekrmctfegofxkmdtfonveo/Build/Products/Debug-iphoneos/SMXGOLOCAL.app && notif && say 'installed' && big INSTALLED" From f146030d923e7b768183ece5dfe72158121590cd Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:34 -0500 Subject: [PATCH 20/40] binary changes idk --- zshrc | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 zshrc diff --git a/zshrc b/zshrc old mode 100644 new mode 100755 From c6dbd64d517a12eef4e8e99a9274aa699f6e6a94 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:18:55 -0500 Subject: [PATCH 21/40] vs back mapping ctrl minus --- gvimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gvimrc b/gvimrc index 93c5e8c..daee647 100644 --- a/gvimrc +++ b/gvimrc @@ -112,6 +112,11 @@ inoremap pumvisible() ? "\" : "\" "nnoremap :!% nnoremap :!cargo run +" Go back (like Visual Studio Ctrl+-) +nnoremap +" Alternative if Ctrl+- doesn't work in your terminal +nnoremap + " set highlight to whatever amount of ms let g:highlightedyank_highlight_duration = 500 From 38af4d59000d4a6d45b6fef277ce94a36a5cce28 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:19:04 -0500 Subject: [PATCH 22/40] neovim stuff idk --- gvimrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gvimrc b/gvimrc index daee647..efa3f50 100644 --- a/gvimrc +++ b/gvimrc @@ -141,11 +141,12 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', '', 'lua vim.lsp.buf.rename()', opts) buf_set_keymap('n', '', 'lua vim.lsp.buf.code_action()', opts) buf_set_keymap('n', 'gr', 'lua vim.lsp.buf.references()', opts) - buf_set_keymap('n', 'e', 'lua vim.lsp.diagnostic.show_line_diagnostics()', opts) - buf_set_keymap('n', '[d', 'lua vim.lsp.diagnostic.goto_prev()', opts) - buf_set_keymap('n', ']d', 'lua vim.lsp.diagnostic.goto_next()', opts) - buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) - buf_set_keymap('n', 'f', 'lua vim.lsp.buf.formatting()', opts) + -- Updated diagnostic API calls for Neovim 0.11+ + buf_set_keymap('n', 'e', 'lua vim.diagnostic.open_float()', opts) + buf_set_keymap('n', '[d', 'lua vim.diagnostic.goto_prev()', opts) + buf_set_keymap('n', ']d', 'lua vim.diagnostic.goto_next()', opts) + --buf_set_keymap('n', 'q', 'lua vim.diagnostic.setloclist()', opts) + buf_set_keymap('n', 'f', 'lua vim.lsp.buf.format()', opts) end local servers = { From facd1b4f04436de724cfd8d1f5f6256a0c3be734 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 2 Jul 2025 10:19:16 -0500 Subject: [PATCH 23/40] more neovim stuff idk --- gvimrc | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) mode change 100644 => 100755 gvimrc diff --git a/gvimrc b/gvimrc old mode 100644 new mode 100755 index efa3f50..a69db5e --- a/gvimrc +++ b/gvimrc @@ -54,6 +54,7 @@ Plug 'simrat39/rust-tools.nvim' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/cmp-nvim-lsp' + " Initialize plugin system call plug#end() @@ -149,14 +150,28 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'f', 'lua vim.lsp.buf.format()', opts) end -local servers = { - rust_analyzer = {} -} - -for server, config in pairs(servers) do - config.on_attach = on_attach - nvim_lsp[server].setup(config) -end +nvim_lsp.rust_analyzer.setup({ + on_attach = on_attach, + filetypes = { "rust" }, + settings = { + ["rust-analyzer"] = {} + } +}) + +nvim_lsp.pyright.setup({ + on_attach = on_attach, + filetypes = { "python" }, + settings = { + python = { + analysis = { + autoSearchPaths = true, + useLibraryCodeForTypes = true, + diagnosticMode = "openFilesOnly", + typeCheckingMode = "basic" + } + } + } +}) local cmp = require'cmp' cmp.setup { @@ -169,4 +184,5 @@ cmp.setup { { name = 'nvim_lsp' } }, } + EOF From ace970bcf42fad277d8fa755bc001bb18f41317a Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 27 Aug 2025 20:59:19 -0500 Subject: [PATCH 24/40] azb command --- zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 08f27be..70ee2b2 100755 --- a/zshrc +++ b/zshrc @@ -5,6 +5,8 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi +typeset -g POWERLEVEL9K_INSTANT_PROMPT=off + # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH="/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH" @@ -37,7 +39,7 @@ ZSH_THEME="powerlevel10k/powerlevel10k" # Uncomment one of the following lines to change the auto-update behavior # zstyle ':omz:update' mode disabled # disable automatic updates -# zstyle ':omz:update' mode auto # update automatically without asking +zstyle ':omz:update' mode auto # update automatically without asking # zstyle ':omz:update' mode reminder # just remind me to update when it's time # Uncomment the following line to change how often to auto-update (in days). @@ -154,6 +156,11 @@ alias bonsai="cbonsai -l --life=75" alias aquarium="asciiquarium" alias cs="gh copilot suggest $*" alias ce="gh copilot explain $*" +azb() { + build_result=$(az pipelines run --id 140 --output table 2>/dev/null) + build_id=$(echo "$build_result" | grep -E '^[0-9]+' | awk '{print $1}') + open "https://incontextsolutions.visualstudio.com/ICS/_build/results?buildId=$build_id&view=results" +} alias cportal="cd InContext.ClientPortal" alias ptl="cd InContext.Portal" alias ref="git reflog" From 6b63366751720063d9b331c352d2dfbb4fd9b336 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Fri, 29 Aug 2025 12:23:24 -0500 Subject: [PATCH 25/40] make azb more dynamic --- zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 70ee2b2..08a70b5 100755 --- a/zshrc +++ b/zshrc @@ -157,7 +157,10 @@ alias aquarium="asciiquarium" alias cs="gh copilot suggest $*" alias ce="gh copilot explain $*" azb() { - build_result=$(az pipelines run --id 140 --output table 2>/dev/null) + current_branch=$(git branch --show-current) + repo_name=$(git config --get remote.origin.url | awk -F '/' '{print $NF}' | sed 's/.git//g') + pipeline_id=$(az pipelines list --output tsv --query "[?name=='$repo_name'].id | [0]" 2>/dev/null) + build_result=$(az pipelines run --id "$pipeline_id" --branch "$current_branch" --output table 2>/dev/null) build_id=$(echo "$build_result" | grep -E '^[0-9]+' | awk '{print $1}') open "https://incontextsolutions.visualstudio.com/ICS/_build/results?buildId=$build_id&view=results" } From 58d85c9d401cd5712d11d8d9832e876f45fe7c40 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Wed, 17 Sep 2025 16:25:01 +0800 Subject: [PATCH 26/40] SwapFunctionParams() --- vimrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/vimrc b/vimrc index e78f48f..12f948a 100755 --- a/vimrc +++ b/vimrc @@ -163,3 +163,24 @@ let g:coc_disable_transparent_cursor = 1 let g:coc_enable_locationlist = 0 " Disable ALE virtual text let g:ale_virtualtext_cursor = 0 + +" Function to swap the first two parameters of a function call +function! SwapFunctionParams() + let line = getline('.') + let col = col('.') + + " Find the function call pattern: function_name(param1, param2, ...) + let pattern = '\(\w\+\s*(\)\([^,()]*\),\s*\([^,()]*\)\(.*)\)' + + " Try to match the pattern on the current line + if match(line, pattern) != -1 + let new_line = substitute(line, pattern, '\1\3, \2\4', '') + call setline('.', new_line) + echo "Parameters swapped" + else + echo "No function call with parameters found on this line" + endif +endfunction + +" Map to , (swap parameters) +nnoremap , :call SwapFunctionParams() From 6dc117714c05f12940a01b5aa466752b99b262f3 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 18 Sep 2025 22:04:04 +0800 Subject: [PATCH 27/40] Add note to zshrc --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 08a70b5..e15297d 100755 --- a/zshrc +++ b/zshrc @@ -244,3 +244,7 @@ export PATH="/opt/homebrew/bin:$PATH" export HOMEBREW_PREFIX="/opt/homebrew" export HOMEBREW_CELLAR="/opt/homebrew/Cellar" export HOMEBREW_REPOSITORY="/opt/homebrew/Homebrew" + + +#NOTES: +# ncdu: great commandline tool for cleaning disk space on mac. Install with homebrew From a7573cc4fc6c0d5f85a9c93835820faca07e8485 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 30 Oct 2025 08:34:57 -0500 Subject: [PATCH 28/40] azml function --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index e15297d..75e7776 100755 --- a/zshrc +++ b/zshrc @@ -164,6 +164,12 @@ azb() { build_id=$(echo "$build_result" | grep -E '^[0-9]+' | awk '{print $1}') open "https://incontextsolutions.visualstudio.com/ICS/_build/results?buildId=$build_id&view=results" } +azml() { + current_branch=$(git branch --show-current) + build_result=$(az pipelines run --id 145 --branch "$current_branch" --output table 2>/dev/null) + build_id=$(echo "$build_result" | grep -E '^[0-9]+' | awk '{print $1}') + open "https://incontextsolutions.visualstudio.com/ICS/_build/results?buildId=$build_id&view=results" +} alias cportal="cd InContext.ClientPortal" alias ptl="cd InContext.Portal" alias ref="git reflog" From fd557410342ba7942f6cd6b9831e52df19fc427a Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 30 Oct 2025 08:37:41 -0500 Subject: [PATCH 29/40] claude: fix "the 'require('lspconfig') framework is deprecated" error Fix error message I was seeing every time I opened vim: The `require('lspconfig')` "framework" is deprecated, use vim.lsp.config (see :help lspconfig-nvim-0.11) instead. Feature will be removed in nvim-lspconfig v3.0.0 Press ENTER or type command to continue --- gvimrc | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/gvimrc b/gvimrc index a69db5e..15138d0 100755 --- a/gvimrc +++ b/gvimrc @@ -124,7 +124,6 @@ let g:highlightedyank_highlight_duration = 500 lua << EOF vim.lsp.set_log_level("debug") -local nvim_lsp = require('lspconfig') local on_attach = function(client, bufnr) local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end local opts = { noremap=true, silent=true } @@ -150,17 +149,21 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'f', 'lua vim.lsp.buf.format()', opts) end -nvim_lsp.rust_analyzer.setup({ - on_attach = on_attach, - filetypes = { "rust" }, +vim.lsp.config.rust_analyzer = { + cmd = { 'rust-analyzer' }, + filetypes = { 'rust' }, + root_markers = { 'Cargo.toml' }, settings = { ["rust-analyzer"] = {} } -}) +} + +vim.lsp.enable('rust_analyzer') -nvim_lsp.pyright.setup({ - on_attach = on_attach, - filetypes = { "python" }, +vim.lsp.config.pyright = { + cmd = { 'pyright-langserver', '--stdio' }, + filetypes = { 'python' }, + root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', 'Pipfile' }, settings = { python = { analysis = { @@ -171,6 +174,14 @@ nvim_lsp.pyright.setup({ } } } +} + +vim.lsp.enable('pyright') + +vim.api.nvim_create_autocmd('LspAttach', { + callback = function(args) + on_attach(vim.lsp.get_client_by_id(args.data.client_id), args.buf) + end, }) local cmp = require'cmp' From a8a7e580f59caac236b20e7aad847db42d975d52 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Fri, 7 Nov 2025 09:41:10 -0600 Subject: [PATCH 30/40] remove ale --- gvimrc | 2 +- vimrc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gvimrc b/gvimrc index 15138d0..af20899 100755 --- a/gvimrc +++ b/gvimrc @@ -43,7 +43,7 @@ Plug 'bling/vim-airline' Plug 'pedrohdz/vim-yaml-folds' "Plug 'sagarrakshe/toggle-bool' Plug 'ThePrimeagen/vim-be-good' -Plug 'dense-analysis/ale' +"Plug 'dense-analysis/ale' Plug 'ptzz/lf.vim' Plug 'voldikss/vim-floaterm' Plug 'jkramer/vim-checkbox' diff --git a/vimrc b/vimrc index 12f948a..726b6de 100755 --- a/vimrc +++ b/vimrc @@ -161,8 +161,6 @@ nnoremap dt :lua vim.diagnostic.config({ virtual_text = not vim.diagnost " Disable CoC virtual text let g:coc_disable_transparent_cursor = 1 let g:coc_enable_locationlist = 0 -" Disable ALE virtual text -let g:ale_virtualtext_cursor = 0 " Function to swap the first two parameters of a function call function! SwapFunctionParams() From 20ba2ddfedddcd54f15178313f8ea7e9e486da7f Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Mon, 29 Dec 2025 16:17:49 +0800 Subject: [PATCH 31/40] zshrc stuff --- zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 75e7776..f18a388 100755 --- a/zshrc +++ b/zshrc @@ -118,8 +118,10 @@ alias smxg="cd ~/Repos/ICS/InContext.SMXGo" alias smxgu="cd ~/Repos/ICS/InContext.SMXGo/unityprojects/smxgo_unityproject" alias eman="cd ~/Repos/ICS/InContext.Everyman/trunk" alias lg="lazygit" +#alias slg="sudo lazygit" alias alie="nvim ~/vimfiles/zshrc" -alias sp="nvim /Users/Shared/ScratchPad.txt" +alias sp="nvim /Users/Shared/repos/ScratchPad/ScratchPad.txt" +alias ssp="sudo nvim /Users/Shared/ScratchPad.txt" alias vim=nvim alias e.="open ." alias src="source ~/.zshrc" @@ -252,5 +254,9 @@ export HOMEBREW_CELLAR="/opt/homebrew/Cellar" export HOMEBREW_REPOSITORY="/opt/homebrew/Homebrew" +export HAXE_STD_PATH="/opt/homebrew/lib/haxe/std" + + #NOTES: # ncdu: great commandline tool for cleaning disk space on mac. Install with homebrew +# From cb52dbd52b33e2f89aab6d623e9725540d176e1b Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Mon, 29 Dec 2025 16:19:58 +0800 Subject: [PATCH 32/40] karabiner scripts --- karabiner/karabiner_alttabwithrightarrow | 21 ++++++++++ karabiner/karabiner_caps_enhances | 19 +++++++++ karabiner/karabiner_vi_mode | 49 ++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 karabiner/karabiner_alttabwithrightarrow create mode 100644 karabiner/karabiner_caps_enhances create mode 100644 karabiner/karabiner_vi_mode diff --git a/karabiner/karabiner_alttabwithrightarrow b/karabiner/karabiner_alttabwithrightarrow new file mode 100644 index 0000000..a1ce5db --- /dev/null +++ b/karabiner/karabiner_alttabwithrightarrow @@ -0,0 +1,21 @@ +{ + "description": "Alt tab with right cmd arrow", + "manipulators": [ + { + "from": { + "key_code": "left_arrow", + "modifiers": { + "mandatory": ["right_command"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["right_command"] + } + ], + "type": "basic" + } + ] +} diff --git a/karabiner/karabiner_caps_enhances b/karabiner/karabiner_caps_enhances new file mode 100644 index 0000000..177d5b4 --- /dev/null +++ b/karabiner/karabiner_caps_enhances @@ -0,0 +1,19 @@ +{ + "description": "Post Esc if Caps is tapped, Control if held.", + "manipulators": [ + { + "from": { + "key_code": "left_control", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "left_control", + "lazy": true + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] +} diff --git a/karabiner/karabiner_vi_mode b/karabiner/karabiner_vi_mode new file mode 100644 index 0000000..e9afb91 --- /dev/null +++ b/karabiner/karabiner_vi_mode @@ -0,0 +1,49 @@ +{ + "description": "Vi Mode [left_control + hjkl]", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["control", "command"], + "optional": ["caps_lock", "command", "option", "shift", "fn"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["control", "command"], + "optional": ["caps_lock", "command", "option", "shift", "fn"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["control", "command"], + "optional": ["caps_lock", "command", "option", "shift", "fn"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["control", "command"], + "optional": ["caps_lock", "command", "option", "shift", "fn"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] +} From f87ad8390100c159423e1ad5e06c596b8e4baeab Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Mon, 29 Dec 2025 16:55:53 +0800 Subject: [PATCH 33/40] add iterm profile --- iterm_profile.json | 255 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 iterm_profile.json diff --git a/iterm_profile.json b/iterm_profile.json new file mode 100644 index 0000000..2ce75f2 --- /dev/null +++ b/iterm_profile.json @@ -0,0 +1,255 @@ +{ + "Ansi 2 Color" : { + "Red Component" : 0.59607845544815063, + "Color Space" : "sRGB", + "Blue Component" : 0.10196078568696976, + "Alpha Component" : 1, + "Green Component" : 0.59215688705444336 + }, + "Tags" : [ + + ], + "Ansi 12 Color" : { + "Red Component" : 0.51372551918029785, + "Color Space" : "sRGB", + "Blue Component" : 0.59607845544815063, + "Alpha Component" : 1, + "Green Component" : 0.64705884456634521 + }, + "Ansi 6 Color" : { + "Red Component" : 0.40784314274787903, + "Color Space" : "sRGB", + "Blue Component" : 0.41568627953529358, + "Alpha Component" : 1, + "Green Component" : 0.61568629741668701 + }, + "Draw Powerline Glyphs" : true, + "Bold Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Ansi 7 Color" : { + "Red Component" : 0.65882354974746704, + "Color Space" : "sRGB", + "Blue Component" : 0.51764708757400513, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Ansi 8 Color" : { + "Red Component" : 0.57254904508590698, + "Color Space" : "sRGB", + "Blue Component" : 0.45490196347236633, + "Alpha Component" : 1, + "Green Component" : 0.51372551918029785 + }, + "Ansi 9 Color" : { + "Red Component" : 0.9843137264251709, + "Color Space" : "sRGB", + "Blue Component" : 0.20392157137393951, + "Alpha Component" : 1, + "Green Component" : 0.28627452254295349 + }, + "Rows" : 25, + "Default Bookmark" : "No", + "Link Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 1, + "Green Component" : 0.3646928071975708 + }, + "Send Idle Alert" : true, + "Tab Color" : { + "Red Component" : 0.10588235408067703, + "Color Space" : "sRGB", + "Blue Component" : 0.10588235408067703, + "Alpha Component" : 1, + "Green Component" : 0.10588235408067703 + }, + "Cursor Guide Color" : { + "Red Component" : 0.23529493808746338, + "Color Space" : "sRGB", + "Blue Component" : 0.21176299452781677, + "Alpha Component" : 1, + "Green Component" : 0.21960270404815674 + }, + "Non-ASCII Anti Aliased" : true, + "Use Bright Bold" : true, + "Ansi 10 Color" : { + "Red Component" : 0.72156864404678345, + "Color Space" : "sRGB", + "Blue Component" : 0.14901961386203766, + "Alpha Component" : 1, + "Green Component" : 0.73333334922790527 + }, + "Ambiguous Double Width" : false, + "Jobs to Ignore" : [ + "rlogin", + "ssh", + "slogin", + "telnet" + ], + "Ansi 15 Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Foreground Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Working Directory" : "\/Users\/ethanfischer", + "Blinking Cursor" : false, + "Disable Window Resizing" : true, + "Sync Title" : false, + "Prompt Before Closing 2" : false, + "BM Growl" : true, + "Command" : "", + "Description" : "Default", + "Mouse Reporting" : true, + "Screen" : -1, + "Selection Color" : { + "Red Component" : 0.40000000596046448, + "Color Space" : "sRGB", + "Blue Component" : 0.32941177487373352, + "Alpha Component" : 1, + "Green Component" : 0.36078432202339172 + }, + "Initial Use Transparency" : true, + "Only The Default BG Color Uses Transparency" : true, + "Columns" : 80, + "Idle Code" : 0, + "Ansi 13 Color" : { + "Red Component" : 0.82745099067687988, + "Color Space" : "sRGB", + "Blue Component" : 0.60784316062927246, + "Alpha Component" : 1, + "Green Component" : 0.52549022436141968 + }, + "Send New Output Alert" : true, + "Custom Command" : "No", + "ASCII Anti Aliased" : true, + "Non Ascii Font" : "Monaco 12", + "Vertical Spacing" : 1, + "Use Bold Font" : true, + "Option Key Sends" : 0, + "Selected Text Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Background Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Character Encoding" : 4, + "Ansi 11 Color" : { + "Red Component" : 0.98039215803146362, + "Color Space" : "sRGB", + "Blue Component" : 0.18431372940540314, + "Alpha Component" : 1, + "Green Component" : 0.74117648601531982 + }, + "Use Italic Font" : true, + "Unlimited Scrollback" : false, + "Keyboard Map" : { + + }, + "Window Type" : 0, + "Blur Radius" : 64, + "Background Image Location" : "", + "Blur" : true, + "Badge Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 0.5, + "Green Component" : 0.3646928071975708 + }, + "Scrollback Lines" : 1000, + "Send Code When Idle" : false, + "Close Sessions On End" : true, + "Terminal Type" : "xterm-256color", + "Visual Bell" : true, + "Flashing Bell" : false, + "Silence Bell" : false, + "Ansi 14 Color" : { + "Red Component" : 0.55686277151107788, + "Color Space" : "sRGB", + "Blue Component" : 0.48627451062202454, + "Alpha Component" : 1, + "Green Component" : 0.75294119119644165 + }, + "Name" : "Default", + "Cursor Text Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Minimum Contrast" : 0, + "Shortcut" : "", + "Cursor Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Ansi 0 Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Transparency" : 0.2319924645390071, + "Guid" : "CFF1F107-281B-4041-A594-2BC107134372", + "Ansi 3 Color" : { + "Red Component" : 0.84313726425170898, + "Color Space" : "sRGB", + "Blue Component" : 0.12941177189350128, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Ansi 4 Color" : { + "Red Component" : 0.27058824896812439, + "Color Space" : "sRGB", + "Blue Component" : 0.53333336114883423, + "Alpha Component" : 1, + "Green Component" : 0.5215686559677124 + }, + "Ansi 5 Color" : { + "Red Component" : 0.69411766529083252, + "Color Space" : "sRGB", + "Blue Component" : 0.52549022436141968, + "Alpha Component" : 1, + "Green Component" : 0.38431373238563538 + }, + "Use Non-ASCII Font" : false, + "Right Option Key Sends" : 0, + "Normal Font" : "NotoSansMNFM-Reg 11", + "Horizontal Spacing" : 1, + "Custom Directory" : "No", + "Ansi 1 Color" : { + "Red Component" : 0.80000001192092896, + "Color Space" : "sRGB", + "Blue Component" : 0.11372549086809158, + "Alpha Component" : 1, + "Green Component" : 0.14117647707462311 + } +} \ No newline at end of file From 3f29be950eaadffe7834411c415b08115b5d7458 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Mon, 29 Dec 2025 16:57:25 +0800 Subject: [PATCH 34/40] iterm_profiles.json --- iterm_profile.json | 255 --------------------------------------------- 1 file changed, 255 deletions(-) delete mode 100644 iterm_profile.json diff --git a/iterm_profile.json b/iterm_profile.json deleted file mode 100644 index 2ce75f2..0000000 --- a/iterm_profile.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "Ansi 2 Color" : { - "Red Component" : 0.59607845544815063, - "Color Space" : "sRGB", - "Blue Component" : 0.10196078568696976, - "Alpha Component" : 1, - "Green Component" : 0.59215688705444336 - }, - "Tags" : [ - - ], - "Ansi 12 Color" : { - "Red Component" : 0.51372551918029785, - "Color Space" : "sRGB", - "Blue Component" : 0.59607845544815063, - "Alpha Component" : 1, - "Green Component" : 0.64705884456634521 - }, - "Ansi 6 Color" : { - "Red Component" : 0.40784314274787903, - "Color Space" : "sRGB", - "Blue Component" : 0.41568627953529358, - "Alpha Component" : 1, - "Green Component" : 0.61568629741668701 - }, - "Draw Powerline Glyphs" : true, - "Bold Color" : { - "Red Component" : 0.92156863212585449, - "Color Space" : "sRGB", - "Blue Component" : 0.69803923368453979, - "Alpha Component" : 1, - "Green Component" : 0.85882353782653809 - }, - "Ansi 7 Color" : { - "Red Component" : 0.65882354974746704, - "Color Space" : "sRGB", - "Blue Component" : 0.51764708757400513, - "Alpha Component" : 1, - "Green Component" : 0.60000002384185791 - }, - "Ansi 8 Color" : { - "Red Component" : 0.57254904508590698, - "Color Space" : "sRGB", - "Blue Component" : 0.45490196347236633, - "Alpha Component" : 1, - "Green Component" : 0.51372551918029785 - }, - "Ansi 9 Color" : { - "Red Component" : 0.9843137264251709, - "Color Space" : "sRGB", - "Blue Component" : 0.20392157137393951, - "Alpha Component" : 1, - "Green Component" : 0.28627452254295349 - }, - "Rows" : 25, - "Default Bookmark" : "No", - "Link Color" : { - "Red Component" : 0.83921295404434204, - "Color Space" : "sRGB", - "Blue Component" : 0.054908305406570435, - "Alpha Component" : 1, - "Green Component" : 0.3646928071975708 - }, - "Send Idle Alert" : true, - "Tab Color" : { - "Red Component" : 0.10588235408067703, - "Color Space" : "sRGB", - "Blue Component" : 0.10588235408067703, - "Alpha Component" : 1, - "Green Component" : 0.10588235408067703 - }, - "Cursor Guide Color" : { - "Red Component" : 0.23529493808746338, - "Color Space" : "sRGB", - "Blue Component" : 0.21176299452781677, - "Alpha Component" : 1, - "Green Component" : 0.21960270404815674 - }, - "Non-ASCII Anti Aliased" : true, - "Use Bright Bold" : true, - "Ansi 10 Color" : { - "Red Component" : 0.72156864404678345, - "Color Space" : "sRGB", - "Blue Component" : 0.14901961386203766, - "Alpha Component" : 1, - "Green Component" : 0.73333334922790527 - }, - "Ambiguous Double Width" : false, - "Jobs to Ignore" : [ - "rlogin", - "ssh", - "slogin", - "telnet" - ], - "Ansi 15 Color" : { - "Red Component" : 0.92156863212585449, - "Color Space" : "sRGB", - "Blue Component" : 0.69803923368453979, - "Alpha Component" : 1, - "Green Component" : 0.85882353782653809 - }, - "Foreground Color" : { - "Red Component" : 0.92156863212585449, - "Color Space" : "sRGB", - "Blue Component" : 0.69803923368453979, - "Alpha Component" : 1, - "Green Component" : 0.85882353782653809 - }, - "Working Directory" : "\/Users\/ethanfischer", - "Blinking Cursor" : false, - "Disable Window Resizing" : true, - "Sync Title" : false, - "Prompt Before Closing 2" : false, - "BM Growl" : true, - "Command" : "", - "Description" : "Default", - "Mouse Reporting" : true, - "Screen" : -1, - "Selection Color" : { - "Red Component" : 0.40000000596046448, - "Color Space" : "sRGB", - "Blue Component" : 0.32941177487373352, - "Alpha Component" : 1, - "Green Component" : 0.36078432202339172 - }, - "Initial Use Transparency" : true, - "Only The Default BG Color Uses Transparency" : true, - "Columns" : 80, - "Idle Code" : 0, - "Ansi 13 Color" : { - "Red Component" : 0.82745099067687988, - "Color Space" : "sRGB", - "Blue Component" : 0.60784316062927246, - "Alpha Component" : 1, - "Green Component" : 0.52549022436141968 - }, - "Send New Output Alert" : true, - "Custom Command" : "No", - "ASCII Anti Aliased" : true, - "Non Ascii Font" : "Monaco 12", - "Vertical Spacing" : 1, - "Use Bold Font" : true, - "Option Key Sends" : 0, - "Selected Text Color" : { - "Red Component" : 0.92156863212585449, - "Color Space" : "sRGB", - "Blue Component" : 0.69803923368453979, - "Alpha Component" : 1, - "Green Component" : 0.85882353782653809 - }, - "Background Color" : { - "Red Component" : 0.15686275064945221, - "Color Space" : "sRGB", - "Blue Component" : 0.15686275064945221, - "Alpha Component" : 1, - "Green Component" : 0.15686275064945221 - }, - "Character Encoding" : 4, - "Ansi 11 Color" : { - "Red Component" : 0.98039215803146362, - "Color Space" : "sRGB", - "Blue Component" : 0.18431372940540314, - "Alpha Component" : 1, - "Green Component" : 0.74117648601531982 - }, - "Use Italic Font" : true, - "Unlimited Scrollback" : false, - "Keyboard Map" : { - - }, - "Window Type" : 0, - "Blur Radius" : 64, - "Background Image Location" : "", - "Blur" : true, - "Badge Color" : { - "Red Component" : 0.83921295404434204, - "Color Space" : "sRGB", - "Blue Component" : 0.054908305406570435, - "Alpha Component" : 0.5, - "Green Component" : 0.3646928071975708 - }, - "Scrollback Lines" : 1000, - "Send Code When Idle" : false, - "Close Sessions On End" : true, - "Terminal Type" : "xterm-256color", - "Visual Bell" : true, - "Flashing Bell" : false, - "Silence Bell" : false, - "Ansi 14 Color" : { - "Red Component" : 0.55686277151107788, - "Color Space" : "sRGB", - "Blue Component" : 0.48627451062202454, - "Alpha Component" : 1, - "Green Component" : 0.75294119119644165 - }, - "Name" : "Default", - "Cursor Text Color" : { - "Red Component" : 0.15686275064945221, - "Color Space" : "sRGB", - "Blue Component" : 0.15686275064945221, - "Alpha Component" : 1, - "Green Component" : 0.15686275064945221 - }, - "Minimum Contrast" : 0, - "Shortcut" : "", - "Cursor Color" : { - "Red Component" : 0.92156863212585449, - "Color Space" : "sRGB", - "Blue Component" : 0.69803923368453979, - "Alpha Component" : 1, - "Green Component" : 0.85882353782653809 - }, - "Ansi 0 Color" : { - "Red Component" : 0.15686275064945221, - "Color Space" : "sRGB", - "Blue Component" : 0.15686275064945221, - "Alpha Component" : 1, - "Green Component" : 0.15686275064945221 - }, - "Transparency" : 0.2319924645390071, - "Guid" : "CFF1F107-281B-4041-A594-2BC107134372", - "Ansi 3 Color" : { - "Red Component" : 0.84313726425170898, - "Color Space" : "sRGB", - "Blue Component" : 0.12941177189350128, - "Alpha Component" : 1, - "Green Component" : 0.60000002384185791 - }, - "Ansi 4 Color" : { - "Red Component" : 0.27058824896812439, - "Color Space" : "sRGB", - "Blue Component" : 0.53333336114883423, - "Alpha Component" : 1, - "Green Component" : 0.5215686559677124 - }, - "Ansi 5 Color" : { - "Red Component" : 0.69411766529083252, - "Color Space" : "sRGB", - "Blue Component" : 0.52549022436141968, - "Alpha Component" : 1, - "Green Component" : 0.38431373238563538 - }, - "Use Non-ASCII Font" : false, - "Right Option Key Sends" : 0, - "Normal Font" : "NotoSansMNFM-Reg 11", - "Horizontal Spacing" : 1, - "Custom Directory" : "No", - "Ansi 1 Color" : { - "Red Component" : 0.80000001192092896, - "Color Space" : "sRGB", - "Blue Component" : 0.11372549086809158, - "Alpha Component" : 1, - "Green Component" : 0.14117647707462311 - } -} \ No newline at end of file From d668a950316544f69035164aa2b5bf0bf3ed7ec5 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Mon, 29 Dec 2025 16:57:57 +0800 Subject: [PATCH 35/40] iterm_profiles.json --- iterm_profiles.json | 532 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 532 insertions(+) create mode 100644 iterm_profiles.json diff --git a/iterm_profiles.json b/iterm_profiles.json new file mode 100644 index 0000000..f52bd17 --- /dev/null +++ b/iterm_profiles.json @@ -0,0 +1,532 @@ +{ +"Profiles": [ +{ + "Ansi 2 Color" : { + "Red Component" : 0.59607845544815063, + "Color Space" : "sRGB", + "Blue Component" : 0.10196078568696976, + "Alpha Component" : 1, + "Green Component" : 0.59215688705444336 + }, + "Tags" : [ + + ], + "Ansi 12 Color" : { + "Red Component" : 0.51372551918029785, + "Color Space" : "sRGB", + "Blue Component" : 0.59607845544815063, + "Alpha Component" : 1, + "Green Component" : 0.64705884456634521 + }, + "Ansi 6 Color" : { + "Red Component" : 0.40784314274787903, + "Color Space" : "sRGB", + "Blue Component" : 0.41568627953529358, + "Alpha Component" : 1, + "Green Component" : 0.61568629741668701 + }, + "Draw Powerline Glyphs" : true, + "Bold Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Ansi 7 Color" : { + "Red Component" : 0.65882354974746704, + "Color Space" : "sRGB", + "Blue Component" : 0.51764708757400513, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Ansi 8 Color" : { + "Red Component" : 0.57254904508590698, + "Color Space" : "sRGB", + "Blue Component" : 0.45490196347236633, + "Alpha Component" : 1, + "Green Component" : 0.51372551918029785 + }, + "Ansi 9 Color" : { + "Red Component" : 0.9843137264251709, + "Color Space" : "sRGB", + "Blue Component" : 0.20392157137393951, + "Alpha Component" : 1, + "Green Component" : 0.28627452254295349 + }, + "Rows" : 25, + "Default Bookmark" : "No", + "Link Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 1, + "Green Component" : 0.3646928071975708 + }, + "Send Idle Alert" : true, + "Tab Color" : { + "Red Component" : 0.10588235408067703, + "Color Space" : "sRGB", + "Blue Component" : 0.10588235408067703, + "Alpha Component" : 1, + "Green Component" : 0.10588235408067703 + }, + "Cursor Guide Color" : { + "Red Component" : 0.23529493808746338, + "Color Space" : "sRGB", + "Blue Component" : 0.21176299452781677, + "Alpha Component" : 1, + "Green Component" : 0.21960270404815674 + }, + "Non-ASCII Anti Aliased" : true, + "Use Bright Bold" : true, + "Ansi 10 Color" : { + "Red Component" : 0.72156864404678345, + "Color Space" : "sRGB", + "Blue Component" : 0.14901961386203766, + "Alpha Component" : 1, + "Green Component" : 0.73333334922790527 + }, + "Ambiguous Double Width" : false, + "Jobs to Ignore" : [ + "rlogin", + "ssh", + "slogin", + "telnet" + ], + "Ansi 15 Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Foreground Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Working Directory" : "\/Users\/ethanfischer", + "Blinking Cursor" : false, + "Disable Window Resizing" : true, + "Sync Title" : false, + "Prompt Before Closing 2" : false, + "BM Growl" : true, + "Command" : "", + "Description" : "Default", + "Mouse Reporting" : true, + "Screen" : -1, + "Selection Color" : { + "Red Component" : 0.40000000596046448, + "Color Space" : "sRGB", + "Blue Component" : 0.32941177487373352, + "Alpha Component" : 1, + "Green Component" : 0.36078432202339172 + }, + "Initial Use Transparency" : true, + "Only The Default BG Color Uses Transparency" : true, + "Columns" : 80, + "Idle Code" : 0, + "Ansi 13 Color" : { + "Red Component" : 0.82745099067687988, + "Color Space" : "sRGB", + "Blue Component" : 0.60784316062927246, + "Alpha Component" : 1, + "Green Component" : 0.52549022436141968 + }, + "Send New Output Alert" : true, + "Custom Command" : "No", + "ASCII Anti Aliased" : true, + "Non Ascii Font" : "Monaco 12", + "Vertical Spacing" : 1, + "Use Bold Font" : true, + "Option Key Sends" : 0, + "Selected Text Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Background Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Character Encoding" : 4, + "Ansi 11 Color" : { + "Red Component" : 0.98039215803146362, + "Color Space" : "sRGB", + "Blue Component" : 0.18431372940540314, + "Alpha Component" : 1, + "Green Component" : 0.74117648601531982 + }, + "Use Italic Font" : true, + "Unlimited Scrollback" : false, + "Keyboard Map" : { + + }, + "Window Type" : 0, + "Blur Radius" : 64, + "Background Image Location" : "", + "Blur" : true, + "Badge Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 0.5, + "Green Component" : 0.3646928071975708 + }, + "Scrollback Lines" : 1000, + "Send Code When Idle" : false, + "Close Sessions On End" : true, + "Terminal Type" : "xterm-256color", + "Visual Bell" : true, + "Flashing Bell" : false, + "Silence Bell" : false, + "Ansi 14 Color" : { + "Red Component" : 0.55686277151107788, + "Color Space" : "sRGB", + "Blue Component" : 0.48627451062202454, + "Alpha Component" : 1, + "Green Component" : 0.75294119119644165 + }, + "Name" : "Default", + "Cursor Text Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Minimum Contrast" : 0, + "Shortcut" : "", + "Cursor Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Ansi 0 Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Transparency" : 0.2319924645390071, + "Guid" : "CFF1F107-281B-4041-A594-2BC107134372", + "Ansi 3 Color" : { + "Red Component" : 0.84313726425170898, + "Color Space" : "sRGB", + "Blue Component" : 0.12941177189350128, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Ansi 4 Color" : { + "Red Component" : 0.27058824896812439, + "Color Space" : "sRGB", + "Blue Component" : 0.53333336114883423, + "Alpha Component" : 1, + "Green Component" : 0.5215686559677124 + }, + "Ansi 5 Color" : { + "Red Component" : 0.69411766529083252, + "Color Space" : "sRGB", + "Blue Component" : 0.52549022436141968, + "Alpha Component" : 1, + "Green Component" : 0.38431373238563538 + }, + "Use Non-ASCII Font" : false, + "Right Option Key Sends" : 0, + "Normal Font" : "NotoSansMNFM-Reg 11", + "Horizontal Spacing" : 1, + "Custom Directory" : "No", + "Ansi 1 Color" : { + "Red Component" : 0.80000001192092896, + "Color Space" : "sRGB", + "Blue Component" : 0.11372549086809158, + "Alpha Component" : 1, + "Green Component" : 0.14117647707462311 + } +}, +{ + "Working Directory" : "\/Users\/ethanfischer", + "Prompt Before Closing 2" : false, + "Selected Text Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Rows" : 32, + "Ansi 11 Color" : { + "Red Component" : 0.98039215803146362, + "Color Space" : "sRGB", + "Blue Component" : 0.18431372940540314, + "Alpha Component" : 1, + "Green Component" : 0.74117648601531982 + }, + "Use Italic Font" : true, + "HotKey Characters" : "\u0000", + "Foreground Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "HotKey Window Floats" : false, + "Right Option Key Sends" : 0, + "Character Encoding" : 4, + "Selection Color" : { + "Red Component" : 0.40000000596046448, + "Color Space" : "sRGB", + "Blue Component" : 0.32941177487373352, + "Alpha Component" : 1, + "Green Component" : 0.36078432202339172 + }, + "Blend" : 0.5, + "Mouse Reporting" : true, + "Ansi 4 Color" : { + "Red Component" : 0.27058824896812439, + "Color Space" : "sRGB", + "Blue Component" : 0.53333336114883423, + "Alpha Component" : 1, + "Green Component" : 0.5215686559677124 + }, + "Non-ASCII Anti Aliased" : true, + "Sync Title" : false, + "Disable Window Resizing" : false, + "Description" : "Default", + "Close Sessions On End" : true, + "Jobs to Ignore" : [ + "rlogin", + "ssh", + "slogin", + "telnet" + ], + "Scrollback Lines" : 1000, + "HotKey Window Reopens On Activation" : false, + "Flashing Bell" : false, + "Cursor Guide Color" : { + "Red Component" : 0.23529493808746338, + "Color Space" : "sRGB", + "Blue Component" : 0.21176299452781677, + "Alpha Component" : 1, + "Green Component" : 0.21960270404815674 + }, + "BM Growl" : true, + "Ansi 3 Color" : { + "Red Component" : 0.84313726425170898, + "Color Space" : "sRGB", + "Blue Component" : 0.12941177189350128, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Use Non-ASCII Font" : false, + "Link Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 1, + "Green Component" : 0.3646928071975708 + }, + "Shortcut" : "", + "Background Image Location" : "", + "Bold Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Unlimited Scrollback" : false, + "Custom Command" : "No", + "HotKey Key Code" : 49, + "Keyboard Map" : { + "0x74-0x100000-0x0" : { + "Version" : 1, + "Label" : "", + "Text" : "9C8522EC-5117-41DE-B37C-9EECCF62664E", + "Action" : 27 + } + }, + "Ansi 14 Color" : { + "Red Component" : 0.55686277151107788, + "Color Space" : "sRGB", + "Blue Component" : 0.48627451062202454, + "Alpha Component" : 1, + "Green Component" : 0.75294119119644165 + }, + "Ansi 2 Color" : { + "Red Component" : 0.59607845544815063, + "Color Space" : "sRGB", + "Blue Component" : 0.10196078568696976, + "Alpha Component" : 1, + "Green Component" : 0.59215688705444336 + }, + "Send Code When Idle" : false, + "ASCII Anti Aliased" : true, + "Tags" : [ + + ], + "Ansi 9 Color" : { + "Red Component" : 0.9843137264251709, + "Color Space" : "sRGB", + "Blue Component" : 0.20392157137393951, + "Alpha Component" : 1, + "Green Component" : 0.28627452254295349 + }, + "Use Bold Font" : true, + "Silence Bell" : false, + "Ansi 12 Color" : { + "Red Component" : 0.51372551918029785, + "Color Space" : "sRGB", + "Blue Component" : 0.59607845544815063, + "Alpha Component" : 1, + "Green Component" : 0.64705884456634521 + }, + "Window Type" : 0, + "Use Bright Bold" : true, + "Has Hotkey" : true, + "HotKey Modifier Activation" : 0, + "Cursor Text Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "HotKey Window Dock Click Action" : 0, + "Default Bookmark" : "No", + "Cursor Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "Ansi 1 Color" : { + "Red Component" : 0.80000001192092896, + "Color Space" : "sRGB", + "Blue Component" : 0.11372549086809158, + "Alpha Component" : 1, + "Green Component" : 0.14117647707462311 + }, + "Name" : "Hotkey Window", + "Blinking Cursor" : false, + "Guid" : "9C8522EC-5117-41DE-B37C-9EECCF62664E", + "Idle Code" : 0, + "Ansi 10 Color" : { + "Red Component" : 0.72156864404678345, + "Color Space" : "sRGB", + "Blue Component" : 0.14901961386203766, + "Alpha Component" : 1, + "Green Component" : 0.73333334922790527 + }, + "Ansi 8 Color" : { + "Red Component" : 0.57254904508590698, + "Color Space" : "sRGB", + "Blue Component" : 0.45490196347236633, + "Alpha Component" : 1, + "Green Component" : 0.51372551918029785 + }, + "Badge Color" : { + "Red Component" : 0.83921295404434204, + "Color Space" : "sRGB", + "Blue Component" : 0.054908305406570435, + "Alpha Component" : 0.5, + "Green Component" : 0.3646928071975708 + }, + "Ambiguous Double Width" : false, + "Blur Radius" : 64, + "Ansi 0 Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Blur" : true, + "Normal Font" : "NotoSansMNFM-Reg 11", + "Vertical Spacing" : 1, + "Ansi 7 Color" : { + "Red Component" : 0.65882354974746704, + "Color Space" : "sRGB", + "Blue Component" : 0.51764708757400513, + "Alpha Component" : 1, + "Green Component" : 0.60000002384185791 + }, + "Space" : -1, + "HotKey Window AutoHides" : true, + "Command" : "", + "Terminal Type" : "xterm-256color", + "Horizontal Spacing" : 1, + "Tab Color" : { + "Red Component" : 0.10588235408067703, + "Color Space" : "sRGB", + "Blue Component" : 0.10588235408067703, + "Alpha Component" : 1, + "Green Component" : 0.10588235408067703 + }, + "Only The Default BG Color Uses Transparency" : true, + "HotKey Window Animates" : false, + "Option Key Sends" : 0, + "Ansi 15 Color" : { + "Red Component" : 0.92156863212585449, + "Color Space" : "sRGB", + "Blue Component" : 0.69803923368453979, + "Alpha Component" : 1, + "Green Component" : 0.85882353782653809 + }, + "HotKey Modifier Flags" : 262144, + "Ansi 6 Color" : { + "Red Component" : 0.40784314274787903, + "Color Space" : "sRGB", + "Blue Component" : 0.41568627953529358, + "Alpha Component" : 1, + "Green Component" : 0.61568629741668701 + }, + "Transparency" : 0.10000000000000001, + "HotKey Activated By Modifier" : false, + "Background Color" : { + "Red Component" : 0.15686275064945221, + "Color Space" : "sRGB", + "Blue Component" : 0.15686275064945221, + "Alpha Component" : 1, + "Green Component" : 0.15686275064945221 + }, + "Screen" : -1, + "Initial Use Transparency" : true, + "HotKey Characters Ignoring Modifiers" : " ", + "Non Ascii Font" : "Monaco 12", + "Ansi 13 Color" : { + "Red Component" : 0.82745099067687988, + "Color Space" : "sRGB", + "Blue Component" : 0.60784316062927246, + "Alpha Component" : 1, + "Green Component" : 0.52549022436141968 + }, + "Columns" : 120, + "HotKey Alternate Shortcuts" : [ + + ], + "Visual Bell" : true, + "Custom Directory" : "No", + "Ansi 5 Color" : { + "Red Component" : 0.69411766529083252, + "Color Space" : "sRGB", + "Blue Component" : 0.52549022436141968, + "Alpha Component" : 1, + "Green Component" : 0.38431373238563538 + } +} +] +} From d44566fea4db2dd74c6d479db7d9b5cca4e859ed Mon Sep 17 00:00:00 2001 From: Ethan Fischer Date: Mon, 29 Dec 2025 17:00:48 +0800 Subject: [PATCH 36/40] add claude code path to vimfiles/zshrc --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index f18a388..00aaffe 100755 --- a/zshrc +++ b/zshrc @@ -260,3 +260,5 @@ export HAXE_STD_PATH="/opt/homebrew/lib/haxe/std" #NOTES: # ncdu: great commandline tool for cleaning disk space on mac. Install with homebrew # +# Needed for Claude Code +export PATH="$HOME/.local/bin:$PATH" From d23fc5b9f2b43119c708a3fe973a4d541649a7c3 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 22 Jan 2026 10:23:04 -0600 Subject: [PATCH 37/40] fix git merge error by checking if nvim --- vimrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index 726b6de..538e686 100755 --- a/vimrc +++ b/vimrc @@ -153,10 +153,12 @@ command Mm MergeMaster nnoremap :!cargo run -" Disable virtual text diagnostics (LSP inline warnings) -autocmd LspAttach * lua vim.diagnostic.config({ virtual_text = false }) -" Toggle diagnostic virtual text -nnoremap dt :lua vim.diagnostic.config({ virtual_text = not vim.diagnostic.config().virtual_text }) +" Disable virtual text diagnostics (LSP inline warnings) - Neovim only +if has('nvim') + autocmd LspAttach * lua vim.diagnostic.config({ virtual_text = false }) + " Toggle diagnostic virtual text + nnoremap dt :lua vim.diagnostic.config({ virtual_text = not vim.diagnostic.config().virtual_text }) +endif " Disable CoC virtual text let g:coc_disable_transparent_cursor = 1 From 6b88623c28651537039ed2187bca42d6f838d359 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 22 Jan 2026 10:24:59 -0600 Subject: [PATCH 38/40] new aliases and add claude code whatever to path --- zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 00aaffe..552cfae 100755 --- a/zshrc +++ b/zshrc @@ -173,11 +173,14 @@ azml() { open "https://incontextsolutions.visualstudio.com/ICS/_build/results?buildId=$build_id&view=results" } alias cportal="cd InContext.ClientPortal" +alias cpl="cd InContext.ClientPortal" alias ptl="cd InContext.Portal" alias ref="git reflog" alias lsdate="ls -ltr" alias lsd="ls -ltr" alias notify='tput bel; afplay /System/Library/Sounds/Hero.aiff & terminal-notifier -title "Terminal" -message "Done with task! Exit status: $?"' +alias cc='env -u TERM_PROGRAM -u TERM_PROGRAM_VERSION TERM=xterm-256color claude' # fixes this regression https://github.com/anthropics/claude-code/issues/16727 +alias ccr='env -u TERM_PROGRAM -u TERM_PROGRAM_VERSION TERM=xterm-256color claude --resume' function pr() { # Try to create a new PR @@ -210,10 +213,14 @@ ics() { echo "Usage: ics " return 1 fi - + cd "InContext.$1" } +v() { + vim $(fd "$1") +} + # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh export PATH=$PATH:~/Android/Sdk/platform-tools From 6e17778fd1070052ff5597379b3f61a5ad9998c9 Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 29 Jan 2026 19:50:22 -0600 Subject: [PATCH 39/40] claude.settings.json --- claude.settings.json | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 claude.settings.json diff --git a/claude.settings.json b/claude.settings.json new file mode 100644 index 0000000..85b8fc2 --- /dev/null +++ b/claude.settings.json @@ -0,0 +1,70 @@ +{ + "permissions": { + "allow": [ + "Bash:grep *", + "Bash:rg *", + "Bash:find *", + "Bash:sed -n *", + "Bash:head *", + "Bash:tail *", + "Bash:cat *" + ] + }, + "enabledPlugins": { + "superpowers@superpowers-marketplace": false, + "code-review@claude-plugins-official": true, + "pyright-lsp@claude-plugins-official": true, + "swift-lsp@claude-plugins-official": true, + "ralph-loop@claude-plugins-official": true, + "context7@claude-plugins-official": true, + "frontend-design@claude-plugins-official": true, + "superpowers@claude-plugins-official": true, + "greptile@claude-plugins-official": true + }, + "hooks": { + "Notification": [ + { + "matcher": "permission_prompt", + "hooks": [ + { + "type": "command", + "command": "afplay /System/Library/Sounds/Funk.aiff" + } + ] + }, + { + "matcher": "idle_prompt", + "hooks": [] + }, + { + "matcher": "elicitation_dialog", + "hooks": [ + { + "type": "command", + "command": "afplay /System/Library/Sounds/Submarine.aiff" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "afplay /System/Library/Sounds/Purr.aiff" + } + ] + } + ], + "SubagentStop": [ + { + "hooks": [] + } + ], + "SessionStart": [ + { + "hooks": [] + } + ] + } +} From ffcf0c6e52b4508966b0e31be007eacd8b28325b Mon Sep 17 00:00:00 2001 From: ethanfischer Date: Thu, 29 Jan 2026 19:50:28 -0600 Subject: [PATCH 40/40] cleanmymac --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index 552cfae..60497d1 100755 --- a/zshrc +++ b/zshrc @@ -181,6 +181,7 @@ alias lsd="ls -ltr" alias notify='tput bel; afplay /System/Library/Sounds/Hero.aiff & terminal-notifier -title "Terminal" -message "Done with task! Exit status: $?"' alias cc='env -u TERM_PROGRAM -u TERM_PROGRAM_VERSION TERM=xterm-256color claude' # fixes this regression https://github.com/anthropics/claude-code/issues/16727 alias ccr='env -u TERM_PROGRAM -u TERM_PROGRAM_VERSION TERM=xterm-256color claude --resume' +alias cleanmymac='ncdu /' function pr() { # Try to create a new PR