Last active
April 7, 2020 07:14
-
-
Save NithishKolli/91766332a8168a25b8f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" Sets how many lines of history VIM has to remember | |
set history=500 | |
" Set to auto read when a file is changed from the outside | |
set autoread | |
set wildmenu | |
set wildmode=longest:list,full | |
"Always show current position | |
set ruler | |
" Configure backspace so it acts as it should act | |
set backspace=eol,start,indent | |
set whichwrap+=<,>,h,l | |
" Ignore case when searching | |
set ignorecase | |
" When searching try to be smart about cases | |
set smartcase | |
" Highlight search results | |
set hlsearch | |
" Makes search act like search in modern browsers | |
set incsearch | |
" Don't redraw while executing macros (good performance config) | |
""" set lazyredraw | |
" For regular expressions turn magic on | |
""" set magic | |
" Show matching brackets when text indicator is over them | |
set showmatch | |
" How many tenths of a second to blink when matching brackets | |
set mat=2 | |
" No annoying sound on errors | |
set noerrorbells | |
set novisualbell | |
set t_vb= | |
set tm=500 | |
" Add a bit extra margin to the left | |
set foldcolumn=1 | |
" Highlight Syntax | |
syntax enable | |
colorscheme desert | |
set background=light | |
" Set utf8 as standard encoding and en_US as the standard language | |
set encoding=utf8 | |
" Turn backup off | |
set nobackup | |
set nowb | |
set noswapfile | |
" Use spaces instead of tabs | |
set expandtab | |
" Be smart when using tabs ;) | |
set smarttab | |
" 1 tab == 4 spaces | |
set shiftwidth=4 | |
set tabstop=4 | |
set number | |
set ts=4 | |
set guifont=Courier_New:h10:cANSI | |
"set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff}]\ | |
" \ [%l/%L\ (%p%%) | |
"au FileType py set autoindent | |
"au FileType py set textwidth=79 | |
"au FileType py set smartindent | |
"au BufNewFile,BufRead *.py | |
" \ set softtabstop=4 | |
" \ set tabstop=4 | |
" \ set shiftwidth=4 | |
" \ set textwidth=79 | |
" \ set expandtab | |
" \ set autoindent | |
" \ set fileformat=unix | |
set shiftround | |
"set ruler | |
set selection=exclusive | |
set selectmode=mouse,key | |
set wildignore+=*.pyc,*.pkl,*.npy | |
set window=61 | |
":let python_highlight_all=1 | |
set lines=30 columns=100 | |
map <F2> <ESC>:NERDTreeToggle<RETURN> | |
map <F4> <ESC>:NERDTree D:\Scripts\Python\NLP<RETURN> | |
map <F5> <ESC>:NERDTree D:\_Scripts\Python<RETURN> | |
" [count]<leader>cc |NERDComComment| | |
" Vundle code | |
set nocompatible | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#begin() | |
" Let Vundle manage Vundle | |
Plugin 'gmarik/vundle' | |
" Plugins | |
Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} | |
Plugin 'klen/python-mode' | |
Bundle 'tpope/vim-fugitive' | |
Plugin 'vim-scripts/indentpython.vim' | |
Plugin 'scrooloose/syntastic' | |
Bundle 'scrooloose/nerdcommenter' | |
Plugin 'nvie/vim-flake8' | |
"Plugin 'altercation/vim-colors-solarized' | |
" Bundle 'The-NERD-Commenter' | |
" The bundles you install will be listed here | |
call vundle#end() | |
filetype plugin on | |
filetype indent on | |
" Powerline setup | |
set guifont=DejaVu_Sans_Mono_for_Powerline:h10 | |
set laststatus=2 | |
" let g:Powerline_symbols='fancy' | |
" Enable folding | |
set foldmethod=indent | |
set foldlevel=99 | |
" Enable folding with the spacebar | |
nnoremap <space> za | |
" split navigations | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment