When python encounters vim and pythonvim
First:
Preface:
At this age, I fell in love with vim not because of its beauty, but because it was very sunny that day. I used it to break down the keyboard. ------ A person who did not want to be named
The first time I came into contact with vim was in the linux operating system class. The idea at the time was: "How is this so difficult to use? I don't know how to input anything ".
However, after several days of understanding and practice. I was deeply shocked. advanced Concepts/multiple modes/full keyboard operations/quick positioning/cool shortcuts and commands/rich plug-ins/flexible configuration and so on.
It is no wonder that vim has been able to break away from several other text editors for decades, making it difficult to surpass.
If you are familiar with vim, skip the following section.
Otherwise:
- 1. Discard other text editors, nodepad/nodepad ++/nodepad2/editplus/sublime text2, etc.
- 2. Download gvim74 from the official website. When installing gvim74, Tick all the options. After installing gvim74, there are three shortcut icons to remove gvim easy and gvim readonly.
- 3. Hit vimtutor. bat through the command line. It took me half an hour to repeat it. Whenever I felt I was not skilled enough, I practiced it until muscle reflex.
- 4. Search for "vim cheatsheet" or "vim Wallpaper" and paste it on the desktop. Refer to it from time to time.
- 5. Refer to other people's vimrc configurations to create the most suitable for yourself.
Recommended resources: VIM tutorials and learning materials (updated on 2010-02-19)
Favorite plug-ins: 'gmarik/vundle' plug-in Manager
'Tomasr/molok' Color Scheme
'Hdima/python-syntax 'python syntax
'Kevinw/pyflakes-vim 'python syntax check
'Valloric/youcompleteme' killer completion, clang completion, and cache completion
'Scrooloose/nerdtree' file tree directory
'Scrooloose/nerdcommenter'
'Lokaltog/vim-easydemo' killer jump
'Kien/ctrlp. vim 'is a killer, redefining how the Editor opens files.
'Sirver/ultisnips 'to quickly insert a code snippet snippets
'Honza/vim-snippets' snippets Template
'Kien/rainbow_parentheses.vim 'Beautiful matching and highlighting of nested brackets
'Yggdroot/indentline' indent dotted line
'Vim-scripts/matchit.zip 'extended % matching for HTML, LaTeX, and other ages
'Raimondi/delimitMate 'brackets
'Terryma/vim-expand-region' allows you to exactly ally select increasingly larger regions of text using the same key combination.
'Junegunn/vim-easy-align 'facilitates separator-based align, for example, =
Primary Key Binding: let mapleader = ',' sets the primary key
Let g: mapleader = ','
Nmap <leader> w: w! <Cr> saved quickly
Noremap <c-c> :! Python % <cr> quickly run the current file in python
Press; key trigger (ctrlp)
Press the f key to trigger (easymotion) double letter jump
Press the Space key to switch the annotation (nerdcommenter)
Press <leader> t side file directory (nerdtree)
Press <c-j> to trigger ultisnips completion.
Press <c-n> select downward, and press <c-p> select upward