際際滷

際際滷Share a Scribd company logo
Emacs ユ`ザ`が
Vim を聞ってみた
  (ちょっとだけ Git)

   Yoshiyuki MIYAGI
そういえば
まともに




聞ったことoい
どうせやるならいろいろ

? O協ファイルをちゃんと Github で砿尖
? パッケ`ジ砿尖は採聞っているのが送佩
 り?

? Emacs ユ`ザ`のための Vim O協
Gitリポジトリ恬った
? Zsh
? Emacs
? 徭恬宴旋コマンド
? Vim ○ New!
 https://github.com/yosshi/oh-my-settings
更撹
      制ぉ   README.md
      制ぉ   bin
           県ぉ docdiff4subversion
      制ぉ   emacs
           県ぉ README
      制ぉ   mac
           制ぉ README
           県ぉ defaults_hack.sh
      制ぉ   vim
           制ぉ bundle
              県ぉ neobundle.vim
           県ぉ vimrc
      県ぉ   zsh
            県ぉ README
$ ln -s /path/to/oh-my-settings/vim ~/.vim
$ ln -s /path/to/oh-my-settings/vim/vimrc
~/.vimrc
パッケ`ジ砿尖聞おう
恷除の送佩りは Neobundle.vim らしい
git submodule を聞って宴旋にしよう

$ git submodule add git submodule
add git://github.com/Shougo/
neobundle.vim.git vim/bundle/
neobundle.vim
$ git submodule init
$ git submodule update

  https://github.com/Shougo/neobundle.vim
.gitignore

## vim/bundle
vim/bundle/*
!vim/bundle/neobundle.vim
.vimrc 児云峰
if has('vim_starting')
    set runtimepath+=~/.vim/bundle/
neobundle.vim/
    call neobundle#rc(expand('~/.vim/
bundle/'))
endif

NeoBundle 'Shougo/neobundle.vim'
NeoBundle 'altercation/vim-colors-solarized'

filetype plugin on

           :NeoBundleInstall
弼笋┐討澆襪茲


Vimrc
  NeoBundle 'altercation/vim-colors-
  solarized'

  set background=light
  colorscheme solarized

        http://ethanschoonover.com/solarized
とりあえず秘れた
NeoBundle   'altercation/vim-colors-solarized'
NeoBundle   'L9'
NeoBundle   'vim-ruby/vim-ruby'
NeoBundle   'FuzzyFinder'
NeoBundle   'git://github.com/motemen/git-vim.git'
NeoBundle   'git://github.com/Shougo/neocomplcache.git'


        かい聞い圭はこれから僥ぶ嚠協
            コ`ドa頼ぐらいはO協した
でも、やっぱりさ
Emacs 聞いなわけで
  Ctrl-a とか
    Ctrl-k
    Crtl-y
 したくなるわけよ?
VimでEmacsキ`バインド
" ------------------------------------
                                              " 卞
" EmacsL荷恬vS( INSERT mode )
                                              imap <C-a> <Home>
" ------------------------------------
                                              imap <C-e> <End>
" コマンド秘薦嶄僅
                                              imap <C-b> <Left>
imap <silent> <C-g> <ESC><ESC><ESC><CR>i      imap <C-f> <Right>
                                              imap <C-n> <Down>
" 鮫中蛍護                                        imap <C-p> <UP>
imap   <silent>   <C-x>1   <ESC>:only<CR>i    "imap <ESC>< <ESC>ggi
imap   <silent>   <C-x>2   <ESC>:sp<CR>i      "imap <ESC>> <ESC>Gi
imap   <silent>   <C-x>0   <ESC>:vsp<CR>i
imap   <silent>   <C-x>o   <ESC><C-w>w<CR>i   " ファイル
imap   <silent>   <C-x>p   <ESC><C-w>p<CR>i   imap   <C-c><C-c>   <ESC>:qa<CR>
                                              imap   <C-x><C-c>   <ESC>:qa!<CR>
" 肇、シ                                       imap   <C-w><C-w>   <ESC>:w<CR>
imap <C-k> <ESC>d$i                           imap   <C-x><C-w>   <ESC>:w!<CR>
imap <C-y> <ESC>pi                            imap   <C-x><C-f>   <ESC>:e
imap <C-d> <ESC>xi
                                              " エラ`リカバリ
                                              " imap <C-/> <ESC>ui

                                              " その麿
                                              map    <C-x><C-e>   :Explore<CR>
                  http://uguisu.skr.jp/Windows/vim.html
やっぱりこれだよ。
Enjoy, Coding!!



http://twitter.com/suikwasha/statuses/234541803402055680

More Related Content

Emacs 聞いが Vim を聞ってみた(ちょっとだけGit)

Editor's Notes