1. kchida
  2. dot-files


kchida  committed 9756eec


  • Participants
  • Parent commits beb2dd0
  • Branches default

Comments (0)

Files changed (7)

File .bashrc

View file
  • Ignore whitespace
 # Switch readline to vi mode instead of emacs
 set -o vi
-#Environment setup for Django settings
-#export DJANGO_SETTINGS_MODULE="${HOME}/workspace/typing/settings.py"
-#end Django
 #Environment setup for AppEngine
 export PATH="/usr/local/lib/google_appengine:$PATH"
-#end AppEngine
 #Environment setup for Ruby
 export PATH="${HOME}/.gem/ruby/1.9.1/bin:$PATH"
-#end Ruby
 #Environment setup for CINT C REPL
-#Environment setup for django-mediagenerator
-#export PATH="${HOME}/workspace/freeourselves/mediagenerator:$PATH"
-#export PATH="/usr/share/yui-compressor:$PATH"
-#end django-mediagenerator
 #Environment setup for Python
-# PYTHONPATH gets appended to system defaults to form sys.path.  go into interactive python and try sys.path, sys.modules.
-export PATH="${PATH}:/usr/local/lib:/usr/lib"
-#export PYTHONPATH="/usr/local/lib/python2.7/dist-packages"
-# /usr/local/lib/python2.7/dist-packages/virtualenvwrapper:/usr/lib/python2.7/dist-packages"
-#end Python2.7
-#Environment setup for django_debug_toolbar
-#export PATH="${HOME}/eclipse/allbuttonspressed/debug_toolbar:$PATH"
-#end django_debug_toolbar
-#Environment setup for virtualenvwrapper
-#/usr/local/bin/python is a symlink to python2.7; that's where the site-packages for virtualenv lives.  I might want to upgrade to 2.7 when i get a chance.
-# source = run.  export = make variable available globally. ${VARIABLE_NAME} = value of VARIABLE_NAME and {} are used to separate it from adjacent characters.
-#export WORKON_HOME=$HOME/.virtualenvs   # default  
-#export PROJECT_HOME=$HOME/workspace
-#override default python interpreter and specify my own
-#export VIRTUALENVWRAPPER_PYTHON="/usr/local/bin/python2.7"
-#export VIRTUALENVWRAPPER_VIRTUALENV="/usr/local/bin/virtualenv"
-# set virtualenv arg value to --no-site-packages to ensure that all new environments are isolated from the system site-packages directory.
-#export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
-#source /usr/local/bin/virtualenvwrapper.sh
-#end virtualenv
+#export PATH="${PATH}:/usr/local/lib:/usr/lib"

File .inputrc

View file
  • Ignore whitespace
-# Inputrc is for commandline or readline
+# This file configures command line and/or readline
-# This will enable all applications that use readline to operate in vi mode.
+# Enables applications that use readline to operate in vi mode (e.g., ipython)
 set editing-mode vi
 set keymap vi

File .vim/.netrwhist

View file
  • Ignore whitespace
 let g:netrw_dirhistmax  =10
-let g:netrw_dirhist_cnt =1
+let g:netrw_dirhist_cnt =2
 let g:netrw_dirhist_1='/home/kchida/ProgrammingStuff/my_notes'
+let g:netrw_dirhist_2='/home/kchida/dot-files/.vim'

File .vimrc

View file
  • Ignore whitespace
 " nocompatible needs to stay relatively close to beginning.
 set nocompatible
-filetype off              " Advised that pathogen won't work with filetype on at first.
-call pathogen#infect()    " Load all plugins in ~/.vim/bundle
-syntax on                 " syntax highlighting
+" TODO: Verify: pathogen won't initialize correctly with 'filetype on'. 
+filetype off
+" Load all plugins in ~/.vim/bundle
+call pathogen#infect() 
+" syntax highlighting
+syntax on      
 "call pathogen#runtime_append_all_bundles()
 filetype plugin indent on
 autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
 autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
 autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
+"set ofu=syntaxcomplete#Complete  " This line may be obsolete
 " Allow tab completion to suggest based on context.
 let g:SuperTabDefaultCompletionType = "context"
 " Enable completion menu and pydoc preview
 set completeopt=menuone,longest,preview
-"set ofu=syntaxcomplete#Complete  " This line may be obsolete
 runtime macros/matchit.vim
 set modelines=0
 set tabstop=4
 set shiftwidth=4
 set softtabstop=4
 set relativenumber
 set undofile
+" Set regex search to 'very magic' (minimizes escaping).
 nnoremap / /\v
 vnoremap / /\v
 set ignorecase
 set smartcase
 set gdefault
 nnoremap <leader>w <C-w>v<C-w>l
 nnoremap <A-j> :m+<CR>==
 nnoremap <A-k> :m-2<CR>==
 inoremap <A-j> <Esc>:m+<CR>==gi
 vnoremap <A-j> :m'>+<CR>gv=gv
 vnoremap <A-k> :m-2<CR>gv=gv
-"folding settings
+"Folding Settings
 set foldmethod=indent   "fold based on indent
 set foldnestmax=10      "deepest fold is 10 levels
 set nofoldenable        "dont fold by default

File 11-evdev-trackpoint.conf

View file
  • Ignore whitespace
-# trackpoint users want wheel emulation
+# 1. Enable wheel emulation with Thinkpad Trackpoint
+# 2. Change AccelerationProfile to adjust trackpoint behavior (see manpages)
 Section "InputClass"
 	Identifier	"trackpoint catchall"

File 60-magictrackpad.conf

View file
  • Ignore whitespace
-# This files goes in /usr/share/X11/xorg.conf.d/
+# This file goes in /usr/share/X11/xorg.conf.d/
 Section "InputClass"      
     Identifier      "Apple Wireless Trackpad"
     MatchIsTouchpad "on"
     Option          "VertScrollDelta"  "100"
     Option          "CoastingSpeed"  "5"
     Option          "CoastingFriction" "10"
-    # these two options are for my dual monitors. Scaling factor is 1.8
+    # These two options are for my dual monitors. Aspect ratio is 9:5.
     Option          "VertResolution"   "10"
     Option          "HorizResolution"  "18"

File readme.txt

View file
  • Ignore whitespace
 - Dot files and directories in home folder are soft linked to the actual files in this
-repository (i.e., ~/dot-files).
-- Just 'cd' into this directory and push changes to bitbucket.
+  repository. Run ~/dot-files/scripts/set_symlinks.py to set automatically.
 - The .hgrc file in this repo is the actual per-user config file that belongs in $HOME.
   It references a .hgignore file in this repository via an absolute path since .hgrc
   which is in ~/dot-files/.  Make sure to change .gitconfig if moving this file to
   another machine with different user name.
-- xorg files should go into /usr/share/X11/xorg.conf.d/    Make sure the prefix
-  numbers are valid with respect of existing .conf files.
+- xorg files should go into /usr/share/X11/xorg.conf.d/ Make sure the prefix numbers
+  are valid with respect to existing xorg.conf files.