Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

have i finally managed to externally manage my github credentials in …

…gitconfig?
  • Loading branch information...
commit ce1eff7aa1e37a3005737427b0d9c6300ac5f3f0 1 parent 1704cd7
@briandoll authored
Showing with 15 additions and 14 deletions.
  1. +3 −3 gitconfig
  2. +1 −0  gitignore
  3. +11 −11 vimrc
View
6 gitconfig
@@ -18,7 +18,7 @@
[apply]
whitespace = nowarn
[github]
- user = YOU
- token = YOURS
+ user = !sh -c 'echo $GITHUB_USER'
+ token = !sh -c 'echo $GITHUB_TOKEN'
[push]
- default = matching
+ default = matching
View
1  gitignore
@@ -1,3 +1,4 @@
.DS_Store
.svn
*~
+vim/.netrwhist
View
22 vimrc
@@ -1,15 +1,15 @@
set nocompatible " incompatibility with vi to enable the awesom of vim
-syntax enable
-set encoding=utf-8
+syntax enable " how is this not a default?
+set encoding=utf-8 " we are the world
set showcmd " display incomplete commands
-let mapleader=","
-call pathogen#infect()
+let mapleader="," " cargo-culted but I like it
+call pathogen#infect() " manage plugins via /bundle with pathogen`
filetype plugin indent on " load file type plugins + indentation
"" Whitespace
-set linebreak
-set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
-set expandtab " use spaces, not tabs (optional)
+set linebreak " wrap lines on words, not characters
+set tabstop=2 shiftwidth=2 " a tab is two spaces
+set expandtab " use spaces, not tabs
set backspace=indent,eol,start " backspace through everything in insert mode
"" Searching
@@ -18,8 +18,8 @@ set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
-set nobackup
-set nowritebackup
+set nobackup " livin on the edge
+set nowritebackup " do not litter
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
@@ -36,5 +36,5 @@ set guifont=Liberation\ Mono:h18
syntax on
" Numbers
-set number
-set numberwidth=5
+set number " enable line numbers
+set numberwidth=5 " and align them nicely
Please sign in to comment.
Something went wrong with that request. Please try again.