Skip to content

Commit

Permalink
http://d.hatena.ne.jp/tyru/20091214/honki_dasite_kangaetemita
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Dec 13, 2009
1 parent b83db93 commit 96ac119
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
7 changes: 7 additions & 0 deletions .bashrc
Expand Up @@ -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"
Expand Down
37 changes: 15 additions & 22 deletions .vimrc
Expand Up @@ -881,39 +881,32 @@ nnoremap ZZ <Nop>
" map! {{{
noremap! <C-f> <Right>
noremap! <C-b> <Left>
noremap! <M-f> <C-Right>
noremap! <M-b> <C-Left>
noremap! <C-a> <Home>
noremap! <C-e> <End>
noremap! <C-d> <Del>
noremap! <C-k> <C-o>D
noremap! <M-(> ()<Left>
noremap! <M-[> []<Left>
noremap! <M-<> <><Left>
noremap! <M-{> {}<Left>
noremap! <M-)> \(\)<Left><Left>
noremap! <M-]> \[\]<Left><Left>
noremap! <M->> \<\><Left><Left>
noremap! <M-}> \{\}<Left><Left>
noremap! <M-;> 「」<Left>
noremap! <M-+> 『』<Left>
noremap! <M-@> 【】<Left>
noremap! <M-`> 〔〕<Left>
noremap! <M-:>
noremap! <C-h><C-f> ()<Left>
noremap! <C-h><C-d> []<Left>
noremap! <C-h><C-s> <><Left>
noremap! <C-h><C-a> {}<Left>
noremap! <C-h>f \(\)<Left><Left>
noremap! <C-h>d \[\]<Left><Left>
noremap! <C-h>s \<\><Left><Left>
noremap! <C-h>a \{\}<Left><Left>
noremap! <C-h><C-h> 「」<Left>
noremap! <C-h><C-j> 『』<Left>
noremap! <C-h><C-k> 【】<Left>
noremap! <C-r><C-o> <C-r><C-p>"
noremap! <C-r><C-r> <C-r><C-p>+
" }}}
" imap {{{
inoremap <S-CR> <C-o>O
inoremap <C-CR> <C-o>o
" <Space><BS> for saving current pos
inoremap <C-l> <Space><BS><C-o><C-l>
inoremap <C-h>o <C-o>O
inoremap <C-h><C-o> <C-o>o
" delete in parenthesis
" delete characters in parenthesis
inoremap <C-z> <C-o>di(
" omni
Expand Down
5 changes: 5 additions & 0 deletions .zshrc
Expand Up @@ -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
# }}}
# }}}

Expand Down

0 comments on commit 96ac119

Please sign in to comment.