From 85e1ff2333f7c168a1c50309fd6760d8249e328b Mon Sep 17 00:00:00 2001 From: Peter Iannucci Date: Sat, 20 Jul 2013 17:12:16 -0400 Subject: [PATCH] Initial commit --- .vimrc | 92 +++++++++++++++++++++++++++++++++++++ debian/changelog | 5 ++ debian/compat | 1 + debian/control | 21 +++++++++ debian/copyright | 50 ++++++++++++++++++++ debian/rules | 13 ++++++ debian/source/format | 1 + debian/xvm-support-config.install | 1 + 8 files changed, 184 insertions(+) create mode 100644 .vimrc create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/xvm-support-config.install diff --git a/.vimrc b/.vimrc new file mode 100644 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 " Enter selects subject + au FileType helpfile nnoremap " 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# +endif + +" Keyboard mappings +map :silent noh " 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 +nmap Z :bp + +nnoremap \ + +function! FancyRedraw () + if &diff + diffupdate + else + redraw + endif +endfunction + +nmap :call FancyRedraw() diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..88cb16b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +xvm-support-config (0.0.1) unstable; urgency=low + + * Initial Release. + + -- Peter A Iannucci Sat, 20 Jul 2013 16:50:52 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1d401b3 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: xvm-support-config +Section: servers +Priority: extra +Maintainer: SIPB XVM Project +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 index 0000000..e3c6c57 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,50 @@ +This work was packaged for Debian by: + + Peter A Iannucci on Sat, 20 Jul 2013 16:50:52 -0400 + +It was downloaded from: + + + +Upstream Author(s): + + + + +Copyright: + + + + +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 . + +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 + +# 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 index 0000000..b760bee --- /dev/null +++ b/debian/rules @@ -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 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/xvm-support-config.install b/debian/xvm-support-config.install new file mode 100644 index 0000000..04d5624 --- /dev/null +++ b/debian/xvm-support-config.install @@ -0,0 +1 @@ +.vimrc root -- 1.7.9.5