mirror of https://github.com/turtlebasket/env
initial commit
commit
13377b1e84
|
@ -0,0 +1,29 @@
|
||||||
|
# General
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
# other stuff
|
||||||
|
*.swp
|
|
@ -0,0 +1,10 @@
|
||||||
|
<html>
|
||||||
|
<center>
|
||||||
|
<h1>macOS setup</h1>
|
||||||
|
<br>
|
||||||
|
<p>Full circle it is, then.</p>
|
||||||
|
<br>
|
||||||
|
<img src="./neofetch.png" style="width:500px"/>
|
||||||
|
<br>
|
||||||
|
</center>
|
||||||
|
</html>
|
|
@ -0,0 +1,5 @@
|
||||||
|
hs.hotkey.bind({"cmd", "shift", "ctrl"}, "C", function()
|
||||||
|
hs.pasteboard.setContents("")
|
||||||
|
hs.notify.new({title="Bazinga", informativeText="System clipboard has been cleared."}):send()
|
||||||
|
end)
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
" Win behavior
|
||||||
|
" source $VIMRUNTIME/mswin.vim
|
||||||
|
" behave mswin
|
||||||
|
|
||||||
|
" Window height
|
||||||
|
" set lines=32 columns=110
|
||||||
|
|
||||||
|
" Preferences
|
||||||
|
set encoding=utf-8
|
||||||
|
set autochdir
|
||||||
|
set shiftwidth=4
|
||||||
|
set tabstop=4
|
||||||
|
set linebreak
|
||||||
|
set breakindent
|
||||||
|
set autoindent
|
||||||
|
set wrap
|
||||||
|
set nobinary
|
||||||
|
set relativenumber
|
||||||
|
syntax on
|
||||||
|
|
||||||
|
" Aliases
|
||||||
|
cnoreabbrev ge browse confirm e
|
||||||
|
cnoreabbrev ! aliasrun
|
||||||
|
|
||||||
|
" Plugins
|
||||||
|
call plug#begin()
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'flazz/vim-colorschemes'
|
||||||
|
Plug 'tomlion/vim-solidity'
|
||||||
|
Plug 'zah/nim.vim'
|
||||||
|
" Plug 'ycm-core/YouCompleteMe'
|
||||||
|
Plug 'NLKNguyen/papercolortheme'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
" Theming
|
||||||
|
set t_Co=256
|
||||||
|
set background=dark
|
||||||
|
colorscheme PaperColor
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline_theme = 'powerlineish'
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline#extensions#tabline#fnamemod = ':t'
|
||||||
|
|
||||||
|
" Navigation & Shortcuts
|
||||||
|
" inoremap <C-c> "+y
|
||||||
|
" inoremap <C-v> <C-o>:"+p<CR>
|
||||||
|
|
||||||
|
nnoremap <A-1> 1gt
|
||||||
|
nnoremap <A-2> 2gt
|
||||||
|
nnoremap <A-3> 3gt
|
||||||
|
nnoremap <A-4> 4gt
|
||||||
|
nnoremap <A-5> 5gt
|
||||||
|
nnoremap <A-6> 6gt
|
||||||
|
nnoremap <A-7> 7gt
|
||||||
|
nnoremap <A-8> 8gt
|
||||||
|
nnoremap <A-9> 9gt
|
||||||
|
nnoremap <A-0> 10gt-
|
|
@ -0,0 +1,110 @@
|
||||||
|
# If you come from bash you might have to change your $PATH.
|
||||||
|
export PATH=$HOME/bin:/usr/local/bin:$PATH:$HOME/Library/Python/3.8/bin:$HOME/go/bin:$HOME/Documents/avalanchego
|
||||||
|
|
||||||
|
# Path to your oh-my-zsh installation.
|
||||||
|
export ZSH="/Users/michael/.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="robbyrussell"
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
|
||||||
|
# See https://github.com/ohmyzsh/ohmyzsh/issues/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)
|
||||||
|
|
||||||
|
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 ls=lsd
|
||||||
|
alias vim=nvim
|
||||||
|
alias clip=pbcopy
|
||||||
|
|
||||||
|
# Custom variables
|
||||||
|
export DOTNET_ROOT="/usr/local/opt/dotnet/libexec"
|
||||||
|
|
||||||
|
# load starship
|
||||||
|
eval "$(starship init zsh)"
|
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
brew install bat cmake gitkraken go htop lsd neofetch node npm openjdk@11 tree vimr yarn
|
Loading…
Reference in New Issue