commit 0ad164cf5e9429c59149bcc6bbb752107e83201f Author: Devin Lumley Date: Sat Apr 17 17:28:50 2021 -0700 Initial commit diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..b746ef7 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,6 @@ +[user] + email = devinwl@users.noreply.github.com + name = Devin Lumley +[core] + editor = nvim + excludesfile = /Users/devin/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b8eeeb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +.vscode/ diff --git a/.macos b/.macos new file mode 100644 index 0000000..0bc3beb --- /dev/null +++ b/.macos @@ -0,0 +1,82 @@ +# Autohide dock +defaults write com.apple.dock autohide -bool true + +# Dock icon sizes +defaults write com.apple.dock tilesize -int 64 + +# Disable dock resize +defaults write com.apple.Dock size-immutable -bool yes + +# Remove default apps from dock +defaults delete com.apple.dock persistent-apps +defaults delete com.apple.dock persistent-others +defaults write com.apple.dock show-recents -bool false + +# Always expand Save dialogs +defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true +defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true + +# Always expand Print dialogs +defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true +defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true + +# Disable Notification Center and remove the menu bar icon +launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null + +# Set a blazingly fast keyboard repeat rate +defaults write NSGlobalDomain KeyRepeat -int 1 +defaults write NSGlobalDomain InitialKeyRepeat -int 10 + +# Require password immediately after sleep or screen saver begins +defaults write com.apple.screensaver askForPassword -int 1 +defaults write com.apple.screensaver askForPasswordDelay -int 0 + +# Disable shadow in screenshots +defaults write com.apple.screencapture disable-shadow -bool true + +# Set Desktop as the default location for new Finder windows +# For other paths, use `PfLo` and `file:///full/path/here/` +defaults write com.apple.finder NewWindowTarget -string "PfDe" +defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/Desktop/" + +# Keep folders on top when sorting by name +defaults write com.apple.finder _FXSortFoldersFirst -bool true + +# Avoid creating .DS_Store files on network or USB volumes +defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true +defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true + +# Enable snap-to-grid for icons on the desktop and in other icon views +/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist +/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist +/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist + +# Increase grid spacing for icons on the desktop and in other icon views +/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist +/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist +/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist + +# Enable Safari’s debug menu +defaults write com.apple.Safari IncludeInternalDebugMenu -bool true + +# Enable the Develop menu and the Web Inspector in Safari +defaults write com.apple.Safari IncludeDevelopMenu -bool true +defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true +defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true + +# Check for software updates daily, not just once per week +defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 + +# Disable the all too sensitive backswipe on trackpads +defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false +defaults write com.google.Chrome.canary AppleEnableSwipeNavigateWithScrolls -bool false + +# Use the system-native print preview dialog +defaults write com.google.Chrome DisablePrintPreview -bool true +defaults write com.google.Chrome.canary DisablePrintPreview -bool true + +# Expand the print dialog by default +defaults write com.google.Chrome PMPrintingExpandedStateForPrint2 -bool true +defaults write com.google.Chrome.canary PMPrintingExpandedStateForPrint2 -bool true + +# Disable smart zoom Settings > Trackpad > Uncheck Smart Zoom diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..256955b --- /dev/null +++ b/.vimrc @@ -0,0 +1,140 @@ +" Basics +set nocompatible +set title +set number +set scrolloff=2 +set backspace=indent,eol,start +set nowrap +set noerrorbells +set belloff=all +set hlsearch +set incsearch +set wildcharm= +set signcolumn=yes +set hidden +set nobackup +set nowritebackup +set cmdheight=2 +set updatetime=300 +set shortmess+=c +set wildmenu +set path=$PWD/** +set wildignore+=**/.git/**,**/__pycache__/**,**/venv/**,**/node_modules/**,**/dist/**,**/build/**,*.o,*.pyc,*.swp +set showmode +set ignorecase +set relativenumber +set clipboard=unnamed + +" Default tabs & spaces +set tabstop=2 +set shiftwidth=2 +set softtabstop=2 +set expandtab +set shiftround +set smarttab +set smartcase +set smartindent +set autoindent +set copyindent +set cursorline + +" Spellcheck me +autocmd FileType gitcommit setlocal spell +autocmd FileType markdown,md,mdx setlocal spell + +" Drill Sergeant Demchuk +noremap +noremap +noremap +noremap + +inoremap +inoremap +inoremap +inoremap + +" Make moving between splits easier +nnoremap +nnoremap +nnoremap +nnoremap + +" Plugins +call plug#begin('~/.vim/plugged') + +Plug 'jiangmiao/auto-pairs' +Plug 'tpope/vim-surround' +Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'sheerun/vim-polyglot' +Plug 'tpope/vim-commentary' +Plug 'devinwl/vim-mdx-js' +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } +Plug 'junegunn/fzf.vim' +Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-rhubarb' + +Plug 'Rigellute/rigel' + +call plug#end() + +" BEGIN auto-pairs +let g:AutoPairsMultilineClose = 0 +" END auto-pairs + +" BEGIN CoC +let g:coc_global_extensions = [ +\ 'coc-tsserver', +\ 'coc-json', +\ ] + +" Add eslint/prettier if installed. +if isdirectory('./node_modules') && isdirectory('./node_modules/prettier') + let g:coc_global_extensions += ['coc-prettier'] +endif + +if isdirectory('./node_modules') && isdirectory('./node_modules/eslint') + let g:coc_global_extensions += ['coc-eslint'] +endif + +nnoremap K :call CocAction('doHover') + +" Select highlighted option with . +" inoremap pumvisible() ? "\" : "\" + +" Use and to navigate autocomplete list. +inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" + +" likes to insert another return when selecting items in the autocomplete +" list. This gets around that, somehow... +inoremap pumvisible() ? coc#_select_confirm() : "\" + +" GoTo code navigation. +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +function! s:check_back_space() abort + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~# '\s' +endfunction +" END CoC + +" BEGIN coc-prettier +command! -nargs=0 Prettier :CocCommand prettier.formatFile +" END coc-prettier + +" BEGIN fzf +" Ignores files in .gitignore but includes untracked files. +" Reference: https://github.com/junegunn/fzf.vim/issues/121#issuecomment-575922206 +nnoremap :GFiles --cached --others --exclude-standard +nnoremap :Ag +"END fzf + +" Theme +set statusline=%f%=%m%r%h%w[%L]%y[%04l,%04v] +set termguicolors +syntax enable +colorscheme rigel +highlight Comment cterm=italic gui=italic diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..cfaa6e4 --- /dev/null +++ b/.zshrc @@ -0,0 +1,111 @@ +# 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 + +# Path to your oh-my-zsh installation. +export ZSH="/Users/devin/.oh-my-zsh" + +# 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 the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to automatically update without prompting. +# DISABLE_UPDATE_PROMPT="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=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. +# 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) + +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" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +export PATH="$PATH" + diff --git a/README.md b/README.md new file mode 100644 index 0000000..80a45fb --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# dotfiles + +All of my configuration files -- typically dot variety, but might be other files that configure things. + +## iTerm2 Theme + +I use [Rigel](https://rigel.netlify.app). diff --git a/iterm2.json b/iterm2.json new file mode 100644 index 0000000..985127e --- /dev/null +++ b/iterm2.json @@ -0,0 +1,384 @@ +{ + "Transparency" : 0.053283417596067917, + "Tags" : [ + + ], + "Ansi 12 Color" : { + "Red Component" : 0.49411764705882355, + "Color Space" : "sRGB", + "Blue Component" : 0.8666666666666667, + "Green Component" : 0.69803921568627447 + }, + "Ansi 7 Color" : { + "Red Component" : 0.46666666666666667, + "Color Space" : "sRGB", + "Blue Component" : 0.61960784313725492, + "Green Component" : 0.5725490196078431 + }, + "Draw Powerline Glyphs" : true, + "Bold Color" : { + "Red Component" : 0.90196078431372551, + "Color Space" : "sRGB", + "Blue Component" : 0.86274509803921573, + "Green Component" : 0.90196078431372551 + }, + "Ansi 8 Color" : { + "Red Component" : 0.31764705882352939, + "Color Space" : "sRGB", + "Blue Component" : 0.55294117647058827, + "Green Component" : 0.49803921568627452 + }, + "Ansi 9 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0.40392156862745099, + "Green Component" : 0.35294117647058826 + }, + "Ansi 1 Color" : { + "Red Component" : 0.7686274509803922, + "Color Space" : "sRGB", + "Blue Component" : 0.38039215686274508, + "Green Component" : 0.18823529411764706 + }, + "Rows" : 25, + "Default Bookmark" : "No", + "Custom Directory" : "No", + "Blend" : 0.56770514282681195, + "Cursor Guide Color" : { + "Red Component" : 0.70213186740875244, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Alpha Component" : 0.25, + "Green Component" : 0.9268307089805603 + }, + "Non-ASCII Anti Aliased" : true, + "Use Bright Bold" : true, + "Ansi 10 Color" : { + "Red Component" : 0.61176470588235299, + "Color Space" : "sRGB", + "Blue Component" : 0.52941176470588236, + "Green Component" : 0.94117647058823528 + }, + "Ambiguous Double Width" : false, + "Jobs to Ignore" : [ + "rlogin", + "ssh", + "slogin", + "telnet" + ], + "Ansi 15 Color" : { + "Red Component" : 0.71764705882352942, + "Color Space" : "sRGB", + "Blue Component" : 0.97647058823529409, + "Green Component" : 0.81176470588235294 + }, + "Foreground Color" : { + "Red Component" : 0.90196078431372551, + "Color Space" : "sRGB", + "Blue Component" : 0.86274509803921573, + "Green Component" : 0.90196078431372551 + }, + "Working Directory" : "\/Users\/devin", + "Blinking Cursor" : true, + "Disable Window Resizing" : true, + "Sync Title" : false, + "Prompt Before Closing 2" : false, + "BM Growl" : true, + "Mouse Reporting" : true, + "Command" : "", + "Description" : "Default", + "Screen" : -1, + "Selection Color" : { + "Red Component" : 0.10980392156862745, + "Color Space" : "sRGB", + "Blue Component" : 0.69803921568627447, + "Green Component" : 0.55294117647058827 + }, + "Only The Default BG Color Uses Transparency" : false, + "Columns" : 80, + "Idle Code" : 0, + "Ansi 13 Color" : { + "Red Component" : 0.98431372549019602, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Green Component" : 0.58039215686274515 + }, + "Brighten Bold Text" : true, + "Custom Command" : "No", + "ASCII Anti Aliased" : true, + "Non Ascii Font" : "Monaco 12", + "Vertical Spacing" : 1.3999999999999999, + "Use Bold Font" : true, + "Option Key Sends" : 0, + "Selected Text Color" : { + "Red Component" : 0.90196078431372551, + "Color Space" : "sRGB", + "Blue Component" : 0.86274509803921573, + "Green Component" : 0.90196078431372551 + }, + "Background Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.20784313725490197, + "Green Component" : 0.14901960784313725 + }, + "Character Encoding" : 4, + "Ansi 11 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0.10588235294117647, + "Green Component" : 0.80000000000000004 + }, + "Use Italic Font" : true, + "Unlimited Scrollback" : false, + "Keyboard Map" : { + "0xf700-0x260000" : { + "Text" : "[1;6A", + "Action" : 10 + }, + "0x37-0x40000" : { + "Text" : "0x1f", + "Action" : 11 + }, + "0x32-0x40000" : { + "Text" : "0x00", + "Action" : 11 + }, + "0xf709-0x20000" : { + "Text" : "[17;2~", + "Action" : 10 + }, + "0xf70c-0x20000" : { + "Text" : "[20;2~", + "Action" : 10 + }, + "0xf729-0x20000" : { + "Text" : "[1;2H", + "Action" : 10 + }, + "0xf72b-0x40000" : { + "Text" : "[1;5F", + "Action" : 10 + }, + "0xf705-0x20000" : { + "Text" : "[1;2Q", + "Action" : 10 + }, + "0xf703-0x260000" : { + "Text" : "[1;6C", + "Action" : 10 + }, + "0xf700-0x220000" : { + "Text" : "[1;2A", + "Action" : 10 + }, + "0xf701-0x280000" : { + "Text" : "0x1b 0x1b 0x5b 0x42", + "Action" : 11 + }, + "0x38-0x40000" : { + "Text" : "0x7f", + "Action" : 11 + }, + "0x33-0x40000" : { + "Text" : "0x1b", + "Action" : 11 + }, + "0xf703-0x220000" : { + "Text" : "[1;2C", + "Action" : 10 + }, + "0xf701-0x240000" : { + "Text" : "[1;5B", + "Action" : 10 + }, + "0xf70d-0x20000" : { + "Text" : "[21;2~", + "Action" : 10 + }, + "0xf702-0x260000" : { + "Text" : "[1;6D", + "Action" : 10 + }, + "0xf729-0x40000" : { + "Text" : "[1;5H", + "Action" : 10 + }, + "0xf706-0x20000" : { + "Text" : "[1;2R", + "Action" : 10 + }, + "0x34-0x40000" : { + "Text" : "0x1c", + "Action" : 11 + }, + "0xf700-0x280000" : { + "Text" : "0x1b 0x1b 0x5b 0x41", + "Action" : 11 + }, + "0x2d-0x40000" : { + "Text" : "0x1f", + "Action" : 11 + }, + "0xf70e-0x20000" : { + "Text" : "[23;2~", + "Action" : 10 + }, + "0xf702-0x220000" : { + "Text" : "[1;2D", + "Action" : 10 + }, + "0xf703-0x280000" : { + "Text" : "0x1b 0x1b 0x5b 0x43", + "Action" : 11 + }, + "0xf700-0x240000" : { + "Text" : "[1;5A", + "Action" : 10 + }, + "0xf707-0x20000" : { + "Text" : "[1;2S", + "Action" : 10 + }, + "0xf70a-0x20000" : { + "Text" : "[18;2~", + "Action" : 10 + }, + "0x35-0x40000" : { + "Text" : "0x1d", + "Action" : 11 + }, + "0xf70f-0x20000" : { + "Text" : "[24;2~", + "Action" : 10 + }, + "0xf703-0x240000" : { + "Text" : "[1;5C", + "Action" : 10 + }, + "0xf701-0x260000" : { + "Text" : "[1;6B", + "Action" : 10 + }, + "0xf702-0x280000" : { + "Text" : "0x1b 0x1b 0x5b 0x44", + "Action" : 11 + }, + "0xf72b-0x20000" : { + "Text" : "[1;2F", + "Action" : 10 + }, + "0x36-0x40000" : { + "Text" : "0x1e", + "Action" : 11 + }, + "0xf708-0x20000" : { + "Text" : "[15;2~", + "Action" : 10 + }, + "0xf701-0x220000" : { + "Text" : "[1;2B", + "Action" : 10 + }, + "0xf70b-0x20000" : { + "Text" : "[19;2~", + "Action" : 10 + }, + "0xf702-0x240000" : { + "Text" : "[1;5D", + "Action" : 10 + }, + "0xf704-0x20000" : { + "Text" : "[1;2P", + "Action" : 10 + } + }, + "Window Type" : 15, + "Blur Radius" : 7.6034932252669387, + "Background Image Location" : "", + "Blur" : true, + "Badge Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 0.5, + "Green Component" : 0.1491314172744751 + }, + "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, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Green Component" : 1 + }, + "ASCII Ligatures" : false, + "Name" : "Default", + "Cursor Text Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.20784313725490197, + "Green Component" : 0.14901960784313725 + }, + "Minimum Contrast" : 0, + "Shortcut" : "", + "Cursor Color" : { + "Red Component" : 0.90196078431372551, + "Color Space" : "sRGB", + "Blue Component" : 0.86274509803921573, + "Green Component" : 0.90196078431372551 + }, + "Ansi 0 Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.30196078431372547, + "Green Component" : 0.2196078431372549 + }, + "Guid" : "B24708CB-643F-4494-8379-D20F62626224", + "Horizontal Spacing" : 1, + "Link Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.73423302173614502, + "Alpha Component" : 1, + "Green Component" : 0.35916060209274292 + }, + "Ansi 2 Color" : { + "Red Component" : 0.49803921568627452, + "Color Space" : "sRGB", + "Blue Component" : 0.43137254901960786, + "Green Component" : 0.75294117647058822 + }, + "Right Option Key Sends" : 0, + "Use Non-ASCII Font" : false, + "Ansi 6 Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.80000000000000004, + "Green Component" : 0.80000000000000004 + }, + "Normal Font" : "OperatorMono-Book 18", + "Ansi 3 Color" : { + "Red Component" : 0.94117647058823528, + "Color Space" : "sRGB", + "Blue Component" : 0.28235294117647058, + "Green Component" : 0.55686274509803924 + }, + "Ansi 4 Color" : { + "Red Component" : 0.10980392156862745, + "Color Space" : "sRGB", + "Blue Component" : 0.69803921568627447, + "Green Component" : 0.55294117647058827 + }, + "Ansi 5 Color" : { + "Red Component" : 0.77647058823529413, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Green Component" : 0.58039215686274515 + } +} diff --git a/nvim/README.md b/nvim/README.md new file mode 100644 index 0000000..c4100b5 --- /dev/null +++ b/nvim/README.md @@ -0,0 +1,3 @@ +# nvim + +These files probably go inside `~/.config/nvim`. diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json new file mode 100644 index 0000000..1a88653 --- /dev/null +++ b/nvim/coc-settings.json @@ -0,0 +1,7 @@ +{ + "suggest.noselect": false, + "eslint.autoFixOnSave": true, + "eslint.filetypes": ["javascript", "javascriptreact", "typescript", "typescriptreact"], + "coc.preferences.formatOnSaveFiletypes": ["markdown", "mdx", "javascript", "javascriptreact", "typescript", "typescriptreact"], + "coc.preferences.jumpCommand": "vsplit" +} diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..b42c8d9 --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1,3 @@ +set runtimepath^=~/.vim runtimepath+=~/.vim/after +let &packpath=&runtimepath +source ~/.vimrc