Skip to content

Instantly share code, notes, and snippets.

@snipsnipsnip
Last active August 24, 2019 15:25
Show Gist options
  • Save snipsnipsnip/125228 to your computer and use it in GitHub Desktop.
Save snipsnipsnip/125228 to your computer and use it in GitHub Desktop.
bashrc, inputrc, nethackrc, screenrc, vimrc
export PATH=~/bin:$PATH
export LANG=ja_JP.UTF-8
PS1="\\t \[\e[32m\]\\w\[\e[\$((\$? ? 33 : 36))m\]> \[\e[0m\]"
complete -d cd
complete -c man
alias rm='rm -i'
alias ..='cd ..'
alias l='ls -l'
alias la='ls -la'
if [ "$TERM" != "screen" ]
then
if [ "$SSH_CLIENT" == "" ]
then
cd ~/Desktop
else
screen -R
fi
fi
set convert-meta off
set meta-flag on
set input-meta on
set output-meta on
set completion-ignore-case on
set expand-tilde off
set show-all-if-ambiguous on
set visible-stats on
"\e[4~": end-of-line
"\e[1~": beginning-of-line
"\e[3~": delete-char
OPTIONS=name:n,role:w,race:h,gender:male,align:c
OPTIONS=dogname:crode,catname:zjena,fruit:mold
OPTIONS=autopickup,pickup_types:$
OPTIONS=color,lit_corridor,hilite_pet,safe_pet
OPTIONS=checkpoint,nocmdassist
OPTIONS=pushweapon,autoquiver,autodig,nosparkle
OPTIONS=disclose:+i +a -v -g -c
escape ^T^T
nethack on
colorscheme elflord
se ai
se tabstop=8
se et
se sts=2
se sw=2
set mouse=a
set ttymouse=xterm2
set pastetoggle=<C-p>
se nohls
se ignorecase
set fencs=utf8,euc-jp,sjis,iso-2022-jp
set fileformats=unix,dos,mac
au filetype python se sw=4 sts=4
au filetype make se noet
autocmd FileType css set smartindent
set shortmess+=I
startinsert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment