Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-sama committed May 10, 2011
1 parent 0f6083d commit 564aaf6
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 15 deletions.
22 changes: 11 additions & 11 deletions .Xresources
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
! xterm ----------------------------------------------------------------------

!look and feel
xterm.termName: xterm-256color
xterm.geometry: 80x36
xterm*scrollBar: false
xterm*rightScrollBar: true
xterm*loginshell: true
xterm*cursorBlink: true
!xterm*background: black
!xterm*foreground: gray
!xterm.borderLess: true
!xterm.cursorBlink: true
!xterm*colorUL: yellow
!xterm*colorBD: white

!font and locale
xterm*locale: true
xterm.utf8: true
xterm*utf8Title: true
xterm*fontMenu*fontdefault*Label: Default
xterm*faceName: Monaco:antialias=True:pixelsize=18
!xterm*faceName: monofur:antialias=True:pixelsize=23
!xterm*boldFont: DejaVu Sans Mono:style=Bold:pixelsize=18
xterm*faceNameDoublesize: wenquanyi bitmap song:pixelsize=19:antialias=True

xterm*xftAntialias: true
xterm*cjkWidth:false
xterm*eightBitInput:false
xterm*metaSendsEscape: true
xterm*altSendsEscape:true

! Molokai theme
*xterm*background: #101010
*xterm*foreground: #d0d0d0
Expand All @@ -48,3 +39,12 @@ xterm*altSendsEscape:true
*xterm*color13: #bb88dd
*xterm*color14: #4eb4fa
*xterm*color15: #d0d0d0


! xpdf -----------------------------------------------------------------------

xpdf*enableFreetype: yes
xpdf*antialias: yes
xpdf*foreground: black
xpdf*background: white
xpdf*urlCommand: /usr/bin/firefox %s
49 changes: 49 additions & 0 deletions .muttrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# A basic .muttrc for use with Gmail

# 按照自己账户的实际情况修改如下部分

set imap_user = "foobar@gmail.com"
set imap_pass = "passwd"
set smtp_url = "smtp://anyeccc@smtp.gmail.com:587/"
set smtp_pass = "passwd"
set from = "foobar@gmail.com"
set realname = "Tom"

# 选择你喜欢的文本编辑器,nano,emacs 之类都可以
set editor = "vim"

# Basic config, you can leave this as is
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 120
set timeout = 300
set imap_keepalive = 300
set postponed = "+[GMail]/Drafts"
set record = "+[GMail]/Sent Mail"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set include
set sort = 'threads'
#set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop

# Gmail-style keyboard shortcuts 键盘快捷键设置,这个配置是和 gmail web 一样的
macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
6 changes: 3 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ set scrolloff=3 "光标移到buffer的顶部和底部保存3行距离
set incsearch "Search as you type
set ignorecase "Ignore case when searching
set hlsearch "Hightlight search things
set smartindent "smart auto indenting
set smarttab "smart tab handling for indenting
set magic "change the way backslashes are used in search patterns
"set smartindent "smart auto indenting
"set smarttab "smart tab handling for indenting
"set magic "change the way backslashes are used in search patterns
set autoread "Set to auto read when a file is changed from the outside
set nobackup "Turn backup off,no backup ~ files.
set foldenable
Expand Down
2 changes: 1 addition & 1 deletion .xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# Executed by startx (run your window manager from here)

xrdb ~/.Xresources
xrdb -merge ~/.Xresources

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
Expand Down

0 comments on commit 564aaf6

Please sign in to comment.