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 vim features toggle | |
set hlsearch | |
" for vim 7 | |
set t_Co=256 | |
" Theme | |
syntax on | |
set background=dark |
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 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 |
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
Show hidden characters
{ | |
"env": { | |
"browser" : true, | |
"node" : true, | |
"commonjs": true, | |
"es6" : true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaFeatures": { |
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 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 |
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
# 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 |
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
# Window configuration | |
window: | |
dimensions: | |
columns: 0 | |
lines: 0 | |
position: | |
x: 0 | |
y: 0 | |
padding: | |
x: 10 |
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
echo '' >> .bashrc | |
echo 'alias tmux="TERM=screen-256color-bce tmux"' >> .bashrc | |
echo 'export TERM=xterm-256color' >> .bashrc |
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
" required before initialization | |
set nocompatible " disable compatibility mode with vi | |
" Calling plugin system | |
call plug#begin('~/.vim/plugged') | |
Plug 'nanotech/jellybeans.vim' " Vim color scheme | |
Plug 'pangloss/vim-javascript' " JavaScript bundle for vim, this bundle provides syntax highlighting and improved indentation | |
Plug 'digitaltoad/vim-pug' " Vim syntax highlighting for Pug (formerly Jade) templates | |
Plug 'Raimondi/delimitMate' " Provides insert mode auto-completion for quotes, parens, brackets, etc. |
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 required pakcages | |
echo 'Installing required apt packages...' | |
sudo apt install -y curl wget | |
# Installing latest VIM | |
sudo add-apt-repository -y ppa:jonathonf/vim | |
sudo apt update | |
sudo apt install -y vim | |
# Switch to home dir and copy .vimrc |
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
users: | |
- name: nikhil | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5a0P6gC1qsszcrz65QeT2b+21FpaUM2K9EHJI68mpSIEVEy+uN7BoJ2kTBcC+0SkAV5y8gUbxlSHeba3j8ofHNYalEQ0QSHO3bsjDFevmQJqBJyf++N0KPvnRaYJYr64ztkMX5LYgvzJbCgHCVHnMy2xAbh440hXrWcKszL6JZ0Bw2nExCpisAxUE6ULcukMdbSp4GoniA6NFSqc0wXEPV3feWXM+M/L6He9jcP58Ixw5dZ9bO9CgW5jCJlv80oqQhYUZPJDiC5chtEObKx811G/C0Wqbbp3C6a3mZxkCF39nqpg7R1/vMb8SFC5rFGmiEmSV5ONU3aD9bwCTLKU7 [email protected] | |
home: /home/nikhil | |
shell: /bin/bash | |
gecos: Nikhil Garg | |
runcmd: |
OlderNewer