General """" />
红联Linux门户
Linux帮助

Fedora 配置记录

发布时间:2007-07-22 10:18:35来源:红联作者:Sourcecode
1, ~/.bashrc
PS1='[e[0;34m]---------------- ${PWD} [e[00m][!]$ > '
export PKG_CONFIG_PATH=/usr/share/lib/pkgconfig

2, ,vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""
"Get out of VI's compatible mode.
set nocompatible

"Make backspace delete lots of things
"在删除的时候可以一下删除tab键规定的字符长
set backspace=indent,eol,start

"Create backups
"建备份
"set backup

"Show us the command we're typing
set showcmd

"Highlight matching parens
"显示匹配
set showmatch

"Search options: incremental search, highlight search
set hlsearch
"随时显示查找内容
set incsearch

"Selective case insensitivity
set ignorecase
set infercase

"Show full tags when doing search completion
set showfulltag

"Try to show at least three lines and tow columns of context when scrolling
set scrolloff=3
set sidescrolloff=2

"Wrap on these
set whichwrap+=<,>,[,]

"Allow edit buffers to be hidden
set hidden

"Enable syntax highlighting
if has ("syntax")
syntax on
endif
"Set our fonts
if has('gui')
set gfn=Monospace 10
endif

"Try to load a nice colourscheme
color morning

"Enable filetype plugin
if has ("eval")
filetype plugin on
filetype indent on
endif

"Have the mouse enabled all the time
set mouse=a

"Set to auto read when a file is changed from the outside
set autoread

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Text edit
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"By default, go for an indent of 4 tab stuff
"set expandtab
"set softtabstop=4
set shiftwidth=4
set smarttab

"Enable folding
if has("folding")
set foldenable
endif

"映射键显示行号
imap :set nu!
"大小括号自动补全
"imap ( ()
imap ...{ ...{}O

3, /boot/grub/menu.lst
title Fedora (2.6.21-1.3228.fc7) (on /dev/hda8)
root (hd0,7)
kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.21-1.3228.fc7.img
savedefault
boot

4, stardict
$ sudo yum install stardict
Download dictroy from here: StarDict 2.4.8
$sudo rpm *.rpm
文章评论

共有 18 条评论

  1. 657129880@qq.co 于 2013-04-23 11:36:30发表:

    谢谢分享!!!

  2. 657129880@qq.co 于 2013-04-23 11:36:23发表:

    谢谢分享!!!

  3. 657129880@qq.co 于 2013-04-23 11:36:07发表:

    谢谢分享!!!

  4. 657129880@qq.co 于 2013-04-23 11:35:49发表:

    谢谢分享!!!

  5. 657129880@qq.co 于 2013-04-23 11:34:59发表:

    谢谢分享!!!

  6. 657129880@qq.co 于 2013-04-23 11:34:01发表:

    谢谢分享!!!

  7. 657129880@qq.co 于 2013-04-23 11:33:59发表:

    谢谢分享!!!

  8. 657129880@qq.co 于 2013-04-23 11:33:25发表:

    谢谢分享!!!

  9. 657129880@qq.co 于 2013-04-23 11:33:16发表:

    谢谢分享!!!

  10. 657129880@qq.co 于 2013-04-23 11:33:14发表:

    谢谢分享!!!

  11. 657129880@qq.co 于 2013-04-23 11:33:12发表:

    谢谢分享!!!

  12. 657129880@qq.co 于 2013-04-23 11:33:10发表:

    谢谢分享!!!

  13. 657129880@qq.co 于 2013-04-23 11:33:08发表:

    谢谢分享!!!

  14. 657129880@qq.co 于 2013-04-23 11:33:06发表:

    谢谢分享!!!

  15. 657129880@qq.co 于 2013-04-23 11:33:04发表:

    谢谢分享!!!

  16. 657129880@qq.co 于 2013-04-23 11:33:00发表:

    谢谢分享!!!

  17. 657129880@qq.co 于 2013-04-23 11:32:48发表:

    谢谢分享!!!

  18. 657129880@qq.co 于 2013-04-23 11:32:38发表:

    谢谢分享!!!