美文网首页
相关工具 VIM(VIM 代码不全:YouCompleteMe)

相关工具 VIM(VIM 代码不全:YouCompleteMe)

作者: 普普通通的我 | 来源:发表于2017-05-31 20:05 被阅读0次

    http://easwy.com/blog/archives/advanced-vim-skills-catalog/

    1、Mac 下配置 Vim 代码补全:YouCompleteMe

          参照网址:https://www.oschina.net/question/2012764_237658

    2、Mac 下 编辑快捷键:参照网址:http://www.jianshu.com/p/6f13474d36ac

         常用快捷键补充:

            :open file  在vim 窗口中打开文件

            :split file    在新的 vim 窗口中打开文件

            :bn      切换到下一个文件

             :bp      切换到上一个文件

             /  查找的内容 enter  查找

              v ↓ fn f4  快速注释

              control+w  目录和工作窗口之间的切换

              alt+command+左(右)     分屏切换

               command+d                                                垂直分屏

               command+shift+d                                        水平分屏

               command+option+方向键                            切换分屏

               command+t                                                    新建标签

               command+w                                                 关闭标签

                command+数字、command+左右方向键    切换标签

                command+enter                                            切换全屏

                command+f                                                    查找

    3、 VIM 的常用命令:

           vim   直接启动vim

           vim filename  打开并创建名为 filename 的文件

           vim file1 file2 file3 同时打开多个文件

    4、vim 插件:

           pylint语法检查器

           lookupfile查找文件

    5、item2 恢复默认设置    defaults deletecom.googlecode.iterm2

    相关文章

      网友评论

          本文标题:相关工具 VIM(VIM 代码不全:YouCompleteMe)

          本文链接:https://www.haomeiwen.com/subject/tzvjfxtx.html