Skip to content

Commit

Permalink
unite関連のkeymap追加
Browse files Browse the repository at this point in the history
  • Loading branch information
shim0mura committed May 20, 2012
1 parent e4f645c commit f481b54
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .vimrc
Expand Up @@ -151,6 +151,29 @@ set backupdir=~/vim_backup
set swapfile
set directory=~/vim_swap

" keymaps
" --------------------
" paste clipboad in insert mode
imap <C-K> <ESC>"*pa
" edit .vimrc easily
nnoremap <silent> <Space>ev :<C-u>edit $MYVIMRC<CR>
" let g:unite_enable_start_insert=1
" バッファ一覧
nnoremap <silent> ;ub :<C-u>Unite buffer<CR>
" ファイル一覧
nnoremap <silent> ;uf :<C-u>UniteWithBufferDir -buffer-name=files file<CR>
" レジスタ一覧
nnoremap <silent> ;ur :<C-u>Unite -buffer-name=register register<CR>
" 最近使用したファ; ル一覧
nnoremap <silent> ;um :<C-u>Unite file_mru<CR>
" 常用セット
nnoremap <silent> ;uu :<C-u>Unite buffer file_mru<CR>
" 全部乗せ
nnoremap <silent> ;ua :<C-u>UniteWithBufferDir -buffer-name=files buffer file_mru bookmark file<CR>
au FileType unite nnoremap <silent> <buffer> <ESC><ESC> q
au FileType unite inoremap <silent> <buffer> <ESC><ESC> <ESC>q
"
" -------------------------------------------------------------------
" HTML Key Mappings for Typing Character Codes
Expand Down

0 comments on commit f481b54

Please sign in to comment.