Skip to content

Commit

Permalink
update ,jd/,gd
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken committed Oct 3, 2014
1 parent f449405 commit 350103d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ molokai主题
ctrl+n 选择下一个补全
ctrl+p 选择上一个补全
回车 选中
,jd 跳转到函数定义, 分屏打开一个buffer(非常有用)
,gd 跳到声明位置, 仅 filetypes: c, cpp, objc, objcpp, python 有效
,jd 跳转到函数定义, 分屏打开一个buffer(非常有用!!!!!!!!!)
,gd 跳到声明位置, 仅 filetypes: c, cpp, objc, objcpp, python 有效(比较少用)

演示(官方截图)

Expand Down
1 change: 1 addition & 0 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ let g:ycm_collect_identifiers_from_tags_files = 1
" 跳转到定义处, 分屏打开
let g:ycm_goto_buffer_command = 'horizontal-split'
nnoremap <leader>jd :YcmCompleter GoToDefinition<CR>
nnoremap <leader>gd :YcmCompleter GoToDeclaration<CR>

"let g:ycm_seed_identifiers_with_syntax=1 "语言关键字补全, 不过python关键字都很短,所以,需要的自己打开

Expand Down

0 comments on commit 350103d

Please sign in to comment.