命令2-Create Project Tree
2019獨角獸企業重金招聘Python工程師標準>>>
1,“C” : create the project tree with dialog (該命令需要在工程文件窗口使用,彈出的第二個窗口中需要填寫出已經創建好的文件夾,否則未填寫或填寫錯的文件夾就無法列出來。總體上說,該命令沒有R好用,R可以直接刷新已存在的文件和文件夾)
2,zM :To fold up the whole project (收攏整個工程文件樹)
?? zO : unfold all (展開整個工程文件樹, 注:光標需要在工程文件上,否則命令無效。)
?? zr : unfold a level (展開整個工程文件樹,但是只展開第一級。)
?? zc zo?:for folding a single directory (展開和關閉單個文件樹)
?? zk, zj :move between folds。The exProject provide ctrl-k and ctrl-j for faster moving around the directory
3, \fc : this operation will move the cursor to the project window, and search current edit buffer, if the file founded, it will jump the cursor to it.
4,shift-<enter> :on the directory line, it will open a command window with the path of the directory to help you do some operation outside exVim。(如果光標在文件夾上,則打開外面環境的命令行。如果光標是在文件上,則是打開多個代碼編輯窗口)
5,To create a new file in exProject window, you can move your cursor under a file line or a directory line, and press o. After that yo will see a line with mark |-[] under your cursor like the picture shows below: (如何保存并退出新創建的文件?? 是:WQ?? ?)
the feature never done, it create the directory virtually. That means if you don’t create the directory with same path same name manually in your file system, it will never be access in exProject.?? (o 命令可以直接創建文件,但是不能創建文件夾(作者說后面版本可能會連接mkdir()直接創建文件夾),必須手動去創建好文件夾。)
?
??
6,<leader>r :it will only refresh the directory your cursor in (<leader>R sometimes cause too much time since it refresh the whole project.)
7,Search tags :The exTagSelect plugin in exVim is responsible for searching tags. You can use \] to get the tag information of the word under the cursor. Also you can use :TS <tag-name> command to input a tag and get the result.
8,When you are in tag select-window, you can press <enter> to jump to the definition, meanwhile the exTagSelect will record the position to the exJumpStack, you can use <leader>tt to check your stack result. And use <leader>tf, <leader>tb to move backward and forward from the next/last definition.(<leader>tf, <leader>tb? 該兩個命令使用了\],然后enter鍵后可以返回或返回后再進入搜索結果。類似前進和后退。\tt命令是查看當前搜索出來(enter進入搜索結果文件后)的結果入口)
?
9,<leader>ss :To browse the whole symbol list
10,<leader>r and? <leader>d?? pick up the matched result from select-window to quick-view-window(這兩個命令用于? \ss后,在symbol list中黃色標出匹配的pattern)
轉載于:https://my.oschina.net/appleliu/blog/13373
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的命令2-Create Project Tree的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【联盟】三星大容量MLC FLASH 换
- 下一篇: fd_set struct