Open wisetc opened 5 years ago
参考 http://vim.wikia.com/wiki/Open_file_under_cursor
gd will take you to the local declaration.
gD will take you to the global declaration.
参考 http://vim.wikia.com/wiki/Jumping_to_the_declaration_of_a_local/global_variable
👉 https://github.com/wisetc/practice/blob/master/%E6%8A%80%E6%9C%AF%E6%9C%89%E6%84%9F%E8%80%8C%E5%8F%91/%E7%BC%96%E8%BE%91%E5%99%A8%E7%9F%A5%E8%AF%86/%E4%BD%A0%E6%89%80%E4%B8%8D%E7%9F%A5%E9%81%93%E7%9A%84VIM%E6%8A%80%E5%B7%A7.md
打开光标下的文件
参考 http://vim.wikia.com/wiki/Open_file_under_cursor
用 g 转到定义
gd will take you to the local declaration.
gD will take you to the global declaration.
参考 http://vim.wikia.com/wiki/Jumping_to_the_declaration_of_a_local/global_variable
👉 https://github.com/wisetc/practice/blob/master/%E6%8A%80%E6%9C%AF%E6%9C%89%E6%84%9F%E8%80%8C%E5%8F%91/%E7%BC%96%E8%BE%91%E5%99%A8%E7%9F%A5%E8%AF%86/%E4%BD%A0%E6%89%80%E4%B8%8D%E7%9F%A5%E9%81%93%E7%9A%84VIM%E6%8A%80%E5%B7%A7.md