Skip to content

Instantly share code, notes, and snippets.

View maxjerin's full-sized avatar

Jerin Mathew maxjerin

View GitHub Profile
@maxjerin
maxjerin / perfectelementary.bash
Last active March 28, 2023 02:06
Things to install on a fresh installation of ElementaryOS
#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)
# 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
" 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
@maxjerin
maxjerin / tmux-cheatsheet.markdown
Created May 14, 2017 01:40 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@maxjerin
maxjerin / README.md
Last active July 22, 2017 18:41
Windows Bash + Cmder + Tmux + Zsh

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