From 96ac119bbd98f42d270ee9b015d6fafdfbd979f9 Mon Sep 17 00:00:00 2001 From: tyru Date: Mon, 14 Dec 2009 00:13:00 +0900 Subject: [PATCH] http://d.hatena.ne.jp/tyru/20091214/honki_dasite_kangaetemita --- .bashrc | 7 +++++++ .vimrc | 37 +++++++++++++++---------------------- .zshrc | 5 +++++ 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/.bashrc b/.bashrc index b8368a61..a7e7d570 100644 --- a/.bashrc +++ b/.bashrc @@ -63,6 +63,13 @@ if [ "$OS" = 'Cygwin' ]; then fi # }}} +# misc. {{{ +# C-sによる画面の停止を無効{{{ +# http://d.hatena.ne.jp/hogem/20090411/1239451878 +stty stop undef +# }}} +# }}} + ### local ### {{{ if [ -e "$HOME/.alias.local" ]; then source "$HOME/.alias.local" diff --git a/.vimrc b/.vimrc index 4feb9fa4..98ab2bcd 100644 --- a/.vimrc +++ b/.vimrc @@ -881,39 +881,32 @@ nnoremap ZZ " map! {{{ noremap! noremap! -noremap! -noremap! noremap! noremap! noremap! noremap! D -noremap! () -noremap! [] -noremap! <> -noremap! {} -noremap! \(\) -noremap! \[\] -noremap! > \<\> -noremap! \{\} - -noremap! 「」 -noremap! 『』 -noremap! 【】 -noremap! 〔〕 -noremap! : +noremap! () +noremap! [] +noremap! <> +noremap! {} +noremap! f \(\) +noremap! d \[\] +noremap! s \<\> +noremap! a \{\} + +noremap! 「」 +noremap! 『』 +noremap! 【】 noremap! " noremap! + " }}} " imap {{{ -inoremap O -inoremap o - -" for saving current pos -inoremap +inoremap o O +inoremap o -" delete in parenthesis +" delete characters in parenthesis inoremap di( " omni diff --git a/.zshrc b/.zshrc index 492f5d48..0b54c9a7 100644 --- a/.zshrc +++ b/.zshrc @@ -180,6 +180,11 @@ function snatch () { gdb -p $1 -batch -n -x =( echo -e "p (int)open(\"/proc/$$/fd/1\", 1)\np (int)dup2(\$1, 1)\np (int)dup2(\$1, 2)" ) } +# }}} + +# C-sによる画面の停止を無効{{{ +# http://d.hatena.ne.jp/hogem/20090411/1239451878 +stty stop undef # }}} # }}}