by eXerigumo Clanjor(哆啦比猫/兰威举)
联系我:http://cjxgm.is-programmer.com 或 cjxgm (at) 126.com

版权所有 (C) eXerigumo Clanjor(哆啦比猫/兰威举), 2010-2012.
本网站使用知识共享·署名·相同方式共享 CC-BY-SA 3.0 Unported 协议进行许可。


/etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Sun Jul 17 23:48:28 PDT 2011

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder75)  Sun Jul 17 23:49:17 PDT 2011

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "PTW"
    HorizSync       30.0 - 87.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 MX 4000"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1024x768_75 +0+0; 1024x768 +0+0"
    Option         "NoLogo" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

~/.vimrc
syntax enable
syntax on
colorscheme delek
filetype plugin on
set nocompatible

set number
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set incsearch
set mouse=a

map <F4> :call DebugWithoutMess()<CR>
map <F5> :wa<CR>:make debug<CR>
map <F6> :wa<CR>
map <F9> :wa<CR>:!./configure<CR>
map <F12> gg=G

nmap <C-S-SPACE> VimwikiToggleListItem

let s:debugging = 0
function! DebugWithoutMess()
	if s:debugging == 0
		let s:debugging = 1
		wa
		new
		resize 1
		make debug
	else
		let s:debugging = 0
		q
	endif
endfunction

source ~/config/completion.vim

source $VIMRUNTIME/menu.vim
set wildmenu
set cpo-=<
set wcm=<C-Z>
map <F4> :emenu <C-Z>


评论啦
blog comments powered by Disqus