Skip to content

Instantly share code, notes, and snippets.

View nik-garg's full-sized avatar

Nikhil nik-garg

View GitHub Profile
@nik-garg
nik-garg / .alacritty.yml
Last active December 29, 2020 15:38
Alacritty config
# Window configuration
window:
dimensions:
columns: 0
lines: 0
position:
x: 0
y: 0
padding:
x: 10
@nik-garg
nik-garg / .tmux.conf
Last active September 4, 2021 11:50
Tmux config
# Improve colors
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
# Set scrollback buffer to 10000
set -g history-limit 10000
# Customize the status line
set -g status-fg green
set -g status-bg black
@nik-garg
nik-garg / linter-setup.sh
Created April 30, 2020 14:21
Setup ES Linter
# Install required pakcages
echo 'Installing required apt packages...'
sudo apt install -y curl git wget vim
# Switch to home dir and copy .eslintrc.json
echo 'Downloading eslintrc...'
cd $HOME
wget https://gist.githubusercontent.com/nik-garg/99d4e81864f1d928fe55ed7da0da5b87/raw/58758be07fccb9ffd4277b501b5b78c76a31e7ed/.eslintrc.json
# Install linting modules
@nik-garg
nik-garg / .eslintrc.json
Created April 30, 2020 14:20
ESlintrc config
{
"env": {
"browser" : true,
"node" : true,
"commonjs": true,
"es6" : true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
@nik-garg
nik-garg / vim-setup.sh
Created April 30, 2020 14:15
Vim setup
# Install required pakcages
echo 'Installing required apt packages...'
sudo apt install -y curl git wget vim
# Switch to home dir and copy .vimrc
echo 'Downloading vimrc...'
cd $HOME
wget https://gist.githubusercontent.com/nik-garg/9c2337b00dc6147d74b630c5fcee0a00/raw/038e4f4c55f514f9391adeabcb52eb8f9fee8eb6/.vimrc
# Install vundle
@nik-garg
nik-garg / .vimrc
Last active April 30, 2020 14:14
Vimrc config
" general vim features toggle
set hlsearch
" for vim 7
set t_Co=256
" Theme
syntax on
set background=dark