Skip to content

Instantly share code, notes, and snippets.

@vicainelli
Last active May 18, 2020 09:24
Show Gist options
  • Save vicainelli/5803e62ddfb8c1b9e09f24e13380b50a to your computer and use it in GitHub Desktop.
Save vicainelli/5803e62ddfb8c1b9e09f24e13380b50a to your computer and use it in GitHub Desktop.
Settings 2020-05-15
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: "stable",
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily:
'Victor Mono, Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// default font weight: 'normal' or 'bold'
fontWeight: "normal",
// font weight for bold characters: 'normal' or 'bold'
fontWeightBold: "bold",
// line height as a relative unit
lineHeight: 1.5,
// letter spacing as a relative unit
letterSpacing: 0.5,
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: "rgba(248,28,229,0.8)",
// terminal text color under BLOCK cursor
cursorAccentColor: "#000",
// `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
cursorShape: "BEAM",
// set to `true` (without backticks and without quotes) for blinking cursor
cursorBlink: false,
// color of the text
foregroundColor: "#fff",
// terminal background color
// opacity is only supported on macOS
backgroundColor: "#000",
// terminal selection color
selectionColor: "rgba(248,28,229,0.3)",
// border color (window, tabs)
borderColor: "#333",
// custom CSS to embed in the main window
css: "",
// custom CSS to embed in the terminal window
termCSS: "",
// if you're using a Linux setup which show native menus, set to false
// default: `true` on Linux, `true` on Windows, ignored on macOS
showHamburgerMenu: "",
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
showWindowControls: "",
// custom padding (CSS format, i.e.: `top right bottom left`)
padding: "12px 14px",
// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
black: "#000000",
red: "#C51E14",
green: "#1DC121",
yellow: "#C7C329",
blue: "#0A2FC4",
magenta: "#C839C5",
cyan: "#20C5C6",
white: "#C7C7C7",
lightBlack: "#686868",
lightRed: "#FD6F6B",
lightGreen: "#67F86F",
lightYellow: "#FFFA72",
lightBlue: "#6A76FB",
lightMagenta: "#FD7CFC",
lightCyan: "#68FDFE",
lightWhite: "#FFFFFF",
},
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
//
// Windows
// - Make sure to use a full path if the binary name doesn't work
// - Remove `--login` in shellArgs
//
// Bash on Windows
// - Example: `C:\\Windows\\System32\\bash.exe`
//
// PowerShell on Windows
// - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
shell: "",
// for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
// by default `['--login']` will be used
shellArgs: ["--login"],
// for environment variables
env: {},
// set to `false` for no bell
bell: "SOUND",
// if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
copyOnSelect: false,
// if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
defaultSSHApp: true,
// if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
// selection is present (`true` by default on Windows and disables the context menu feature)
quickEdit: false,
// choose either `'vertical'`, if you want the column mode when Option key is hold during selection (Default)
// or `'force'`, if you want to force selection regardless of whether the terminal is in mouse events mode
// (inside tmux or vim with mouse mode enabled for example).
macOptionSelectionMode: "vertical",
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
// Whether to use the WebGL renderer. Set it to false to use canvas-based
// rendering (slower, but supports transparent backgrounds)
webGLRenderer: true,
// for advanced config flags please refer to https://hyper.is/#cfg
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
plugins: ["hypercwd", "hyper-dracula"],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: [],
keymaps: {
"pane:splitVertical": "cmd+d",
"pane:splitHorizontal": "cmd+shift+d",
"editor:clearBuffer": "cmd+r",
},
};
module.exports = {
arrowParens: 'avoid',
bracketSpacing: true,
printWidth: 100,
semi: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
};
# 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/cainelli/.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/robbyrussell/oh-my-zsh/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 ~/.oh-my-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 ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-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
adonisjs
)
source $ZSH/oh-my-zsh.sh
# User configuration
# export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
# 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 "composer"="php /usr/local/bin/composer"
alias password="openssl rand -base64 32"
alias art="php artisan"
alias rollback="git reset --soft HEAD~1"
# Open .zshrc to be edited in VS Code
alias change="code ~/.zshrc"
# Re-run source command on .zshrc to update current terminal session with new settings
alias update="source ~/.zshrc"
export NVM_DIR="/Users/cainelli/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Set Spaceship ZSH as a prompt
autoload -U promptinit; promptinit
prompt spaceship
export PATH="/usr/local/opt/icu4c/bin:$PATH"
export PATH="/usr/local/opt/icu4c/sbin:$PATH"
export PATH="$HOME/.composer/vendor/bin:$PATH"
export PATH=${PATH}:/usr/local/mysql/bin
source /usr/local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
{
"ignorePattern": "class=\".+\""
}
{
"workbench.colorTheme": "Dracula",
"terminal.integrated.shell.osx": "/bin/zsh",
"workbench.settings.editor": "json",
// * Editor
"editor.cursorSmoothCaretAnimation": true,
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "boundary",
"editor.minimap.enabled": false,
"editor.fontLigatures": true,
"editor.fontFamily": "Victor Mono, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 11,
"editor.multiCursorModifier": "ctrlCmd",
"editor.copyWithSyntaxHighlighting": true,
"editor.suggestSelection": "first",
"diffEditor.renderSideBySide": false,
"editor.lineHeight": 28,
"editor.letterSpacing": 1,
"editor.tabSize": 2,
"editor.cursorStyle": "line",
"editor.cursorWidth": 3,
"editor.wordWrap": "on",
"editor.cursorBlinking": "solid",
"editor.colorDecorators": false,
// * Workbench
"files.autoSaveDelay": 2500,
"files.autoSave": "afterDelay",
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "left",
"workbench.tips.enabled": false,
"workbench.startupEditor": "newUntitledFile",
// "workbench.iconTheme": "vscode-icons",
"workbench.editor.tabCloseButton": "off",
"workbench.editor.enablePreviewFromQuickOpen": false,
"window.zoomLevel": 0,
// * GIT
"git.autofetch": true,
"git.confirmSync": false,
"git.ignoreMissingGitWarning": true,
"git.enableSmartCommit": true,
// * TERMINAL
"terminal.integrated.showExitAlert": false,
"terminal.integrated.fontSize": 12,
"terminal.integrated.fontFamily": "Victor Mono, Menlo, Monaco, 'Courier New', monospace",
"terminal.integrated.fontWeight": "100",
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.letterSpacing": 1,
// ---
"html.format.enable": true,
"html.format.preserveNewLines": true,
"files.trimTrailingWhitespace": true,
"editor.rulers": [100],
"extensions.ignoreRecommendations": false,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/node_modules": true,
"**/.DS_Store": true,
"**/vendor": true,
"**/.next": true
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"window.title": "${dirty} ${activeEditorMedium}${separator}${rootName}",
"explorer.confirmDelete": false,
"blade.format.enable": true,
"files.associations": {
"*.html": "html"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"todo-tree.tree.showScanModeButton": false,
"cSpell.userWords": [
"Vuex",
"atualizações",
"covid",
"fullhuman",
"purgecss",
"tailwindcss"
],
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "never"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment