vim集成环境的搭建

来源:互联网 发布:mysql的sequence 编辑:程序博客网 时间:2024/06/07 21:20

CtrP

ctrl + j/k 进行上下选择


ctrl + x 在当前窗口水平分屏打开文件

ctrl + v 同上, 垂直分屏

ctrl + t 在tab中打开

Press <F5> to purge the cache for the current directory to get new files, remove deleted files and apply new ignore options.Press <c-f> and <c-b> to cycle between modes.Press <c-d> to switch to filename only search instead of full path.Press <c-r> to switch to regexp mode.Use <c-j>, <c-k> or the arrow keys to navigate the result list.Use <c-t> or <c-v>, <c-x> to open the selected entry in a new tab or in a new split.Use <c-n>, <c-p> to select the next/previous string in the prompt's history.Use <c-y> to create a new file and its parent directories.Use <c-z> to mark/unmark multiple files and <c-o> to open them.

matchit这个插件,是vim自带的,但是默认不安装。在vim中默认可以用 % 来实现括号之间的跳转,但是有了这个插件可以设置任意想跳转的标记


- Syntax highlighting - Virtualenv support - Run python code (``<leader>r``) - Add/remove breakpoints (``<leader>b``) - Improved Python indentation - Python folding - Python motions and operators (``]]``, ``3[[``, ``]]M``, ``vaC``, ``viM``, ``daC``, ``ciM``, ...) - Code checking (pylint_, pyflakes_, pylama_, ...) that can be run simultaneously (``:PymodeLint``) - Autofix PEP8 errors (``:PymodeLintAuto``) - Search in python documentation (``K``) - Code refactoring <rope refactoring library> (rope_) - Strong code completion (rope_) - Go to definition (``<C-c>g`` for `:RopeGotoDefinition`)

0 0