Created
May 11, 2021 13:36
-
-
Save alex-re/2a2995c4346af56b38aa1af2c03b40fc to your computer and use it in GitHub Desktop.
my .vimrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
Plugin 'vim-scripts/indentpython.vim' | |
Plugin 'vim-syntastic/syntastic' | |
Plugin 'nvie/vim-flake8' | |
" Bundle 'Valloric/YouCompleteMe' | |
" add all your plugins here (note older versions of Vundle | |
" used Bundle instead of Plugin) | |
" ... | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
let python_highlight_all=1 | |
syntax on | |
" colorscheme desert | |
colorscheme default | |
set encoding=utf-8 | |
set wildmenu | |
set incsearch | |
set mouse=a | |
set number | |
set cursorline | |
hi clear cursorline | |
highlight LineNr ctermfg=grey | |
highlight CursorLineNR cterm=bold ctermfg=green | |
au BufNewFile,BufRead *.py | |
\set tabstop=4 | |
\set softtabstop=4 | |
\set shiftwidth=4 | |
\set textwidth=79 | |
\set expandtab | |
\set autoindent | |
\set fileformat=unix | |
au BufNewFile,BufRead *.js, *.html, *.css | |
\ set tabstop=2 | |
\ set softtabstop=2 | |
\ set shiftwidth=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment