Making this partially because I need help with making it work more like an ide, but this is also a general discussion thread about vim.
Post you're vimrcs:filetype plugin indent on
syntax on
colorscheme jellybeans
set ls=2
set cindent
set number
set hlsearch
set incsearch
set ignorecase
set smartcase
set ruler
set mouse=a
>>56958513
>jellybeans
good taste
set nocompatible " required
filetype off " required
set number
set mouse=a
" 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)
" Utilities
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" Custom Key Mappings
i've got vundle installed and i'm still modifying it
call pathogen#infect()
filetype off
syntax on
filetype plugin indent on
let mapleader = " "
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
xnoremap <leader>c <esc>:'<,'>:w !cat > vimClipping<CR>
colorscheme phd
set ts=4 sw=4 et
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
set omnifunc=syntaxcomplete#Complete
I keep it vanilla." General
" =======
set encoding=utf8
set history=700
set backup
set backupdir ~/.vim/backup
set ic
" Interface
" =========
set nu
set cursorline
" Indenting
" =========
set tabstop=4 shiftwidth=4 expandtab
set smartindent
set autoindent
set wrap
" Status Line
" ===========
" From tpope
set laststatus=2
set statusline=[%n]\ %<%.99f\ %h%w%m%r%y%-16(\ %l,%c-%v\ %)%P
set backupdir=~/.vim/tmp//
set directory=~/.vim/tmp//
set undodir=~/.vim/tmp//
set title ruler
set tabstop=8 softtabstop=2 shiftwidth=2 expandtab
autocmd Filetype python setlocal softtabstop=4 shiftwidth=4 expandtab
function Trim()
let l = line(".")
let c = col(".")
%s/\s\+$//e
call cursor(l, c)
endfunction
>>56959174
>set tabstop=4 shiftwidth=4 expandtab
>>56959275
It's what happens when you work with shitty code that has mixed tabs and spaces and irregular indentations