Skip to content

Instantly share code, notes, and snippets.

View mahdix's full-sized avatar
🏠
Working from home

Mahdi Mohammadi mahdix

🏠
Working from home
View GitHub Profile
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/bin/npm/bin:$PATH"
alias g=git
alias ll="ls -alhF --color=auto"
alias xx="source ~/.zshrc"
alias vb="vim ~/.zshrc"
alias v=vim
alias vv="vim ~/.vimrc"
font-family="Terminus (TTF)"
font-size=16
copy-on-select=clipboard
theme=Solarized Dark Higher Contrast
macos-option-as-alt=true
mouse-shift-capture=true
macos-icon = chalkboard
quit-after-last-window-closed
# Hide the status line
set -g status off
# Prefix + b -> show interactive tree of windows/sessions
# bind-key C-b choose-tree -Zw -F '#{window_name}'
bind-key -n M-§ choose-tree -Zw -F '#{window_name}'
# Option+1 through Option+9 -> jump directly to window 1-9
# (requires Option key to send Meta — see note below)
bind-key -n M-1 select-window -t 0
# Hide the status line
set -g status off
# Prefix + b -> show interactive tree of windows/sessions
bind-key C-b choose-tree -Zw
# Option+1 through Option+9 -> jump directly to window 1-9
# (requires Option key to send Meta — see note below)
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
mkdir -p "${HOME}/.vim/pack/plugins/start"
cd "${HOME}/.vim/pack/plugins/start"
git clone https://github.com/sheerun/vim-polyglot.git
git clone https://github.com/junegunn/fzf.git
git clone https://github.com/junegunn/fzf.vim.git
git clone https://github.com/altercation/vim-colors-solarized.git
git clone https://github.com/tpope/vim-commentary.git
git clone https://github.com/easymotion/vim-easymotion
git clone https://github.com/tpope/vim-sensible.git
set nocompatible " be iMproved, required
" filetype off " required
" set the runtime path to include Vundle and initialize
" set rtp+=~/.vim/bundle/Vundle.vim
" call vundle#begin()
" Plugin 'gmarik/Vundle.vim'
" Plugin 'altercation/vim-colors-solarized'
" Plugin 'tpope/vim-commentary'