Skip to content

Instantly share code, notes, and snippets.

View maxmellen's full-sized avatar
🐝

Maximilien Mellen maxmellen

🐝
  • メルカリ
  • 東京
View GitHub Profile
@maxmellen
maxmellen / sf-mono-in-atom.less
Created December 13, 2016 22:06
SF Mono in Atom
@font-face {
font-family: "SF Mono";
font-weight: 300;
font-style: normal;
src: url("file:///Applications/Utilities/Terminal.app/Contents/Resources/Fonts/SFMono-Light.otf");
}
@font-face {
font-family: "SF Mono";
font-weight: 300;
" Load Vim defaults
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
" Indent with 2 spaces
set tabstop=2
set shiftwidth=2
set expandtab
" Set line related settings
@maxmellen
maxmellen / .emacs
Last active October 25, 2017 06:48
;; Do not show the startup screen
(setq inhibit-startup-screen t)
(setq ls-lisp-use-insert-directory-program nil)
(require 'ls-lisp)
;; Move Custom settings to their own location
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file :noerror)
export LANG=en_US.UTF-8
# Bash Completion
if [[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]]; then
source "/usr/local/etc/profile.d/bash_completion.sh"
fi
# Git Prompt
GIT_PS1_SHOWDIRTYSTATE="true"
GIT_PS1_SHOWSTASHSTATE="true"
{
"font_face": "SF Mono",
"font_size": 14,
"rulers": [80, 120],
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": "not_on_caret",
"ensure_newline_at_eof_on_save": true,
"save_on_focus_lost": true,
"shift_tab_unindent": true,
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
{
/* インデント */
"editor.tabSize": 2,
"editor.rulers": [80, 120],
/* フォント */
"editor.fontFamily": "'IBM Plex Mono', 'IBM Plex Sans JP'",
"editor.fontSize": 14,
"debug.console.fontSize": 14,
"terminal.integrated.fontSize": 14,
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
call plug#begin('~/.local/share/nvim/plugged')
Plug 'tpope/vim-fugitive'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'
#!/bin/sh -e
current_dir=$(pwd)
for plugin in "$(dirname "$0")"/*; do
if [ -d "$plugin" ]; then
cd "$plugin";
if [ -e .git ]; then
printf "Updating $(basename "$plugin"): "
git pull
set fish_greeting ""
set --export LANG "C"
alias imx='iex -S mix'
alias iphx='iex -S mix phx.server'
function fish_prompt --description 'Write out the prompt'
set -g __fish_git_prompt_showcolorhints
set -g __fish_git_prompt_showdirtystate
set -g __fish_git_prompt_showstashstate