Updated xorg, added pythonheader for vim

This commit is contained in:
Stefan Ritter 2009-11-06 10:19:16 +01:00
parent 1d1f2d807c
commit 543d4953a1
3 changed files with 24 additions and 12 deletions

12
vim/header_python Normal file
View file

@ -0,0 +1,12 @@
:insert
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
# Author: Stefan Ritter <xeno@thehappy.de>
# Description:

View file

@ -21,3 +21,5 @@ let g:NERDTreeWinPos = 2
map <f9> :make<CR>
map <f1> :execute 'NERDTreeToggle'<CR>
autocmd bufnewfile *.py so ~/etc/vim/header_python

View file

@ -1,20 +1,18 @@
Section "InputDevice"
Identifier "Keyboard"
Identifier "argh"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "neo"
# Make ctrl-alt-backspace working
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "Device"
Identifier "Grafik"
Identifier "aaaahhh"
Driver "intel"
Option "AccelMethod" "uxa"
Option "EXAOptimizeMigration" "true"
Option "MigrationHeuristic" "greedy"
Option "Tiling" "false"
EndSection
Section "Monitor"
@ -23,15 +21,15 @@ Section "Monitor"
EndSection
Section "Screen"
Identifier "Screen"
Device "Grafik"
Identifier "gnarf"
Device "aaaahhh"
Monitor "Display"
EndSection
Section "ServerLayout"
Identifier "Layout"
InputDevice "Keyboard"
Screen "Screen"
Identifier "mumu"
InputDevice "argh"
Screen "gnarf"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
@ -40,7 +38,7 @@ Section "ServerLayout"
EndSection
Section "ServerFlags"
Option "DontZap" "false"
Option "DontZap" "on"
Option "AutoAddDevices" "False"
Option "AllowEmptyInput" "False"
EndSection