Vim (vimrc)

Vim para Python e outras coisas

Categoria: Vim

Software: Vim

[ Hits: 2.821 ]

Por: Gildásio Júnior

Manterei esse arquivo online pelo GitHub para poder publicar atualizações... Aqui:

"""" Command to execute
execute pathogen#infect()
filetype plugin on

"""" Visual configurations
set tabstop=4 "Set TAB with 2 spaces
set autoindent "Indent of the previous line for a newly created line
syntax on "Enable highlight because language
set t_Co=256
colorscheme pride "Set my colorsheme to use
set number "Display line number
set ruler "Display the current cursor position
set showcmd "Display an incomplete command

"""" Python configurations
set shiftwidth=4
set smarttab
set expandtab
set softtabstop=4
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with
autocmd BufWritePre *.py normal m`:%s/\s\+$//e``

"""" Search configurations
set incsearch "Show where the pattern while typing a search command
set hlsearch "Highlight all matchs of the search
set ignorecase "Desable case sensitive in search

"""" Keybindings configurations
" map <C-n> :NERDTreeToggle<CR>
" map! <C-n> <ESC>:NERDTreeToggle<CR>


Nenhum comentário foi encontrado.

Contribuir com comentário