Skip to content

Instantly share code, notes, and snippets.

Avatar

Jerin Mathew maxjerin

  • New Jersey
View GitHub Profile
@maxjerin
maxjerin / README.md
Last active Jul 22, 2017
Windows Bash + Cmder + Tmux + Zsh
View README.md

Cmder Config (this also fixes arrow key bug)

  • Settings > Tasks

  • Create {win_bash}

  • Task Parameters: /icon "%CMDER_ROOT%\icons\cmder.ico"

  • Command: cmd /k "%windir%\system32\bash.exe" -cur_console:p

  • Settings > Startup ** Select {win_bash}

Bashrc

View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View .vimrc
" Install Vundle by running the following
" 1. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
" 2. Open vim and type :PluginInstall
syntax on
colorscheme monokai
set t_Co=256 " vim-monokai now only support 256 colours in terminal.
set nocompatible " be iMproved, required
View tmux.conf
# 1 split panes using | and - and open new pane in last directory
bind | split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind - split-window -v -c '#{pane_current_path}' # Split panes vertically
unbind '"'
unbind %
# 2 disable kill window comfirm prompt
bind-key & kill-window
bind-key x kill-pane
@maxjerin
maxjerin / perfectelementary.bash
Last active Jan 14, 2021
Things to install on a fresh installation of ElementaryOS
View perfectelementary.bash
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
#Install gedit (Text Editor)
You can’t perform that action at this time.