Initial commit 0.0.1
authorPeter Iannucci <iannucci@mit.edu>
Sat, 20 Jul 2013 21:12:16 +0000 (17:12 -0400)
committerPeter Iannucci <iannucci@mit.edu>
Sat, 20 Jul 2013 21:12:16 +0000 (17:12 -0400)
.vimrc [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/xvm-support-config.install [new file with mode: 0644]

diff --git a/.vimrc b/.vimrc
new file mode 100644 (file)
index 0000000..9e19954
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,92 @@
+" Vimrc file for Christian Andersen, http://phuzz.org
+" Heavily modified by Robert Iannucci, http://www.rail.com
+" Stolen with pride by Peter Iannucci
+
+set nocompatible    " use vim defaults
+set ls=2            " allways show status line
+set tabstop=4       " numbers of spaces of tab character
+set expandtab          " Expand tabs to spaces
+set shiftwidth=4    " numbers of spaces to (auto)indent
+set scrolloff=3     " keep 3 lines when scrolling
+set showcmd         " display incomplete commands
+set hlsearch        " highlight searches
+set incsearch       " do incremental searching
+set ruler           " show the cursor position all the time
+set visualbell t_vb=    " turn off error beep/flash
+set novisualbell    " turn off visual bell
+set number          " show line numbers
+set ignorecase     " ignore case when searching 
+set timeoutlen=200  " set faster timeout
+set title           " show title in console title bar
+set ttyfast         " smoother changes
+set modeline        " last lines in document sets vim mode
+set modelines=3     " number lines checked for modelines
+set shortmess=atI   " Abbreviate messages
+set nostartofline   " don't jump to first character when paging
+set whichwrap=b,s,<,>,[,]   " move freely between files
+let c_space_errors = 1
+
+set sm             " show matching braces, somewhat annoying...
+set nowrap         " don't wrap lines
+
+syntax on           " syntax highlighing
+
+colorscheme elflord " use this color scheme
+set background=dark     " adapt colors for background
+
+if has("autocmd")
+    " Restore cursor position
+    au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
+
+    " Filetypes (au = autocmd)
+    au FileType helpfile set nonumber       " no line numbers when viewing help
+    au FileType helpfile nnoremap <buffer><cr> <c-]>    " Enter selects subject
+    au FileType helpfile nnoremap <buffer><bs> <c-T>    " Backspace to go back
+
+    au FileType cpp set nofoldenable
+    au FileType cpp set foldcolumn=0
+    au FileType cpp set cindent
+    au FileType cpp set smartindent
+    au FileType cpp set autoindent
+    au FileType c set nofoldenable
+    au FileType c set foldcolumn=0
+    au FileType c set cindent
+    au FileType c set smartindent
+    au FileType c set autoindent
+    au FileType java set nofoldenable
+    au FileType java set foldcolumn=0
+    au FileType python set foldmethod=syntax
+    au FileType python set foldcolumn=0
+    au FileType python set nocindent
+    au FileType python set nosmartindent
+    au FileType python set noautoindent
+
+    " File formats
+    autocmd BufRead *.py inoremap # X<c-h>#
+endif
+
+" Keyboard mappings
+map <silent> <C-N> :silent noh<CR> " turn off highlighted search
+
+set bs=2
+
+au FileType make setlocal noexpandtab  " Turn off expandtabs for Makefiles so they don't get screwed up
+set softtabstop=4   " makes the spaces feel like real tabs 
+
+set wildmenu
+
+"set term=linux
+nmap X :bn<cr>
+nmap Z :bp<cr> 
+
+nnoremap  \  <C-^>
+
+function! FancyRedraw ()
+    if &diff
+        diffupdate
+    else
+        redraw
+    endif
+endfunction
+
+nmap <silent> <C-L> :call FancyRedraw()<CR>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..88cb16b
--- /dev/null
@@ -0,0 +1,5 @@
+xvm-support-config (0.0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Peter A Iannucci <iannucci@mit.edu>  Sat, 20 Jul 2013 16:50:52 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1d401b3
--- /dev/null
@@ -0,0 +1,21 @@
+Source: xvm-support-config
+Section: servers
+Priority: extra
+Maintainer: SIPB XVM Project <xvm@mit.edu>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: xvm-support-config
+Architecture: all
+Depends:
+ ${misc:Depends},
+ bwm-ng,
+ dmidecode,
+ emacs23-nox, 
+ ethtool,
+ gnupg,
+ iotop,
+ kpartx,
+ vim-nox,
+Description: XVM metapackage for creature comforts
+ Depends on packages that we'd like to have for convenience.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e3c6c57
--- /dev/null
@@ -0,0 +1,50 @@
+This work was packaged for Debian by:
+
+    Peter A Iannucci <iannucci@mit.edu> on Sat, 20 Jul 2013 16:50:52 -0400
+
+It was downloaded from:
+
+    <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Firstname Lastname>
+    <likewise for another author>
+
+License:
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+The Debian packaging is:
+
+    Copyright (C) 2013 Peter A Iannucci <iannucci@mit.edu>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following line in.
+
+and is licensed under the GPL version 3, see above.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b760bee
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh $@ 
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/xvm-support-config.install b/debian/xvm-support-config.install
new file mode 100644 (file)
index 0000000..04d5624
--- /dev/null
@@ -0,0 +1 @@
+.vimrc root