This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Use vi keys for scrolling etc. | |
set-window-option -g mode-keys vi | |
## Do not allow tmux to rename windows | |
set-option -g allow-rename off | |
## Extend how long pane #s are displayed | |
## Useful for `ctrl-b q` # to switch between panes | |
set -g display-panes-time 4000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=2 | |
set shiftwidth=2 | |
set textwidth=120 | |
set expandtab | |
set number | |
set hlsearch | |
set pastetoggle=<F2> | |
:color delek | |
" Allow saving of files as sudo when I forgot to start vim using sudo. | |
cmap w!! w !sudo tee > /dev/null % |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General CLI utility. | |
alias la='ls -lAhF' | |
alias lar='ls -AhF' | |
alias ll='ls -lhF' | |
alias l='ls -hF' | |
alias cl='clear; lar' | |
alias c='clear;' | |
alias xg='xargs egrep -sin --color' | |
alias hostip="ip route get 0.0.0.0/0 | grep -Eo 'via \S+' | awk '{ print \$2 }'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Install choco .exe and add choco to PATH | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
:: Install all the packages | |
:::: Browsers | |
choco install googlechrome -fy | |
choco install firefox -fy | |
:::: Text editors / IDEs | |
::choco install atom -fy |
NewerOlder