Skip to content

Instantly share code, notes, and snippets.

View netsmertia's full-sized avatar

Natwar Singh netsmertia

View GitHub Profile
@netsmertia
netsmertia / .vimrc
Created August 17, 2014 19:17
My .vimrc file
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / .vimrc
Created August 17, 2014 19:14
General purpose vimrc
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / MacDevSetup.md
Last active August 29, 2015 14:05
MacSetupREADS

[TOC]

##Development Installs ####1. install xcode-developer tools

Can be downoaded from www.deverloper.apple.com
OR
Install with xcode-select --install


<h2 id="development-installs">Development Installs</h2>
<ol>
<li><p>install <strong>xcode-developer tools</strong></p></li>
<li><p>install <strong>homebrew</strong></p>
<blockquote>
<p><code>ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"</code></p>
</blockquote></li>
<li><p>install <strong>vim</strong></p>
@netsmertia
netsmertia / VimSetupREADS
Created August 17, 2014 18:19
VimSetupREADS
##Development Installs
1. install **xcode-developer tools**
2. install **homebrew**
>`ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"`
3. install **vim**
>`brew install vim --override-system-vim --with-lua`
@netsmertia
netsmertia / .vimrc
Last active August 29, 2015 14:02
My .vimrc
"GENERAL
"==============================================
set background=dark " Assume a dark background
syntax on " Syntax highlighting
filetype plugin indent on " Automatically detect file types.
if !has('gui')
set term=$TERM " Make arrow and other keys work
endif
@netsmertia
netsmertia / post.md
Created January 22, 2014 07:32 — forked from kbond/post.md

Install git:

sudo apt-get install git

Configure Git:

touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"

git config --global user.email "Your Email"

sudo apt-get install liblua5.1-dev
sudo mkdir /usr/include/lua5.1/include/
sudo cp /usr/include/lua5.1/* /usr/include/lua5.1/include/
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so
hg clone https://code.google.com/p/vim/
cd vim
./configure --with-features=huge \
--enable-perlinterp \
--enable-rubyinterp \
--enable-pythoninterp=yes \