1 nnoremap <C-p> :Denite file/rec<cr>
2 nnoremap <space>/ :Denite grep:.<cr>
3 nnoremap <space>s :Denite buffer<cr>
5 nnoremap <C-space> pumvisible() ? "\<c-n>" : "\<tab>"
7 nnoremap <F2> :NERDTreeToggle<cr>
8 nnoremap <F3> :TagbarToggle<cr>
9 au Filetype gnuplot map <buffer> <F5> :call OpenIn("gnuplot -persist") <CR>
11 nmap <s-PageDown> :bn<CR>
12 nmap <s-PageUp> :bp<CR>
14 map <a-c> <plug>NERDCommenterToggle
16 imap <C-k> <Plug>(neosnippet_expand_or_jump)
17 smap <C-k> <Plug>(neosnippet_expand_or_jump)
18 xmap <C-k> <Plug>(neosnippet_expand_target)
20 au Filetype c,cpp,objc map <buffer> <F11> :vsplit<CR>:FSRight<CR>
21 au Filetype c,cpp,objc map <buffer> <S-F11> :FSHere<CR>
23 au Filetype markdown map <buffer> <F5> :call RunMarkdown()<CR>
25 " Start interactive EasyAlign in visual mode (e.g. vipga)
26 vmap <Enter> <Plug>(EasyAlign)
27 " Start interactive EasyAlign for a motion/text object (e.g. gaip)
28 nmap ga <Plug>(EasyAlign)
30 if filereadable($HOME . '/.vim/keymaps-local.vim')
31 source ~/.vim/keymaps-local.vim