2
다음과 같은 동작이 발생합니다. 줄에서 'O'를 타격이 settings.py
조각을 감안할 때 33Vim 이중 들여 쓰기 파이썬 파일
31# Application definition
32
33 INSTALLED_APPS = [
34 'rest_framework',
내가 얻을이
31# Application definition
32
33 INSTALLED_APPS = [
34 |<-cursor is here, two indents, 8 spaces
35 'rest_framework',
정말 나머지 라인에 하나 들여 쓰기, 또는 4 자리의 총 될 것 원하는 것은 목록의. 뭐라 구요? 나는 주로 다음과 같은 .vimrc를 사용하고 있는데, 나는 대부분 here에서 가져왔다.
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
" Themes
Plugin 'altercation/vim-colors-solarized'
Plugin 'jnurmine/Zenburn'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
if has('gui_running')
set background=dark
colorscheme solarized
else
colorscheme zenburn
endif
au BufNewFile,BufRead *.py set tabstop=4 shiftwidth=4 textwidth=79 expandtab autoindent fileformat=unix
set encoding=utf-8
set nu
let python_highlight_all=1
syntax on
set backspace=indent,eol,start
감사합니다. –