diff options
| -rw-r--r-- | .vimrc | 84 |
1 files changed, 42 insertions, 42 deletions
@@ -59,51 +59,51 @@ colorscheme xoria256 "set colorscheme """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Vim variables """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -set encoding=utf-8 " set the encoding to utf-8 -set t_Co=256 " set terminal color 265 -set clipboard=unnamed " fix not copying between clipboard and vim -set backspace=indent,eol,start " fix backspace not deleteing existing text -set number " set numbers column on the left -set complete-=i " Faster vim completion -set nrformats-=octal " Increment numbers decimally using Ctrl+A and Ctrl+X -set autoindent " Auto indent -set smartindent "Smart indet +set encoding=utf-8 " set the encoding to utf-8 +set t_Co=256 " set terminal color 265 +set clipboard=unnamed " fix not copying between clipboard and vim +set backspace=indent,eol,start " fix backspace not deleteing existing text +set number " set numbers column on the left +set complete-=i " Faster vim completion +set nrformats-=octal " Increment numbers decimally using Ctrl+A and Ctrl+X +set autoindent " Auto indent +set smartindent " Smart indet set smarttab -set softtabstop=2 " indentation -set tabstop=2 " indentation -set shiftwidth=2 " indentation -set expandtab " convert tabs to spaces -set ttyscroll=3 " speed up scrolling -set ttyfast " Optimize for fast terminal connections -set lazyredraw " to avoid scrolling problems -"set ttimeout " less timeout for faster navigation -"set ttimeoutlen=100 " time out for faster navigation -set incsearch " Make search act like search in modern browsers -set ignorecase " Ignore case when searching shortend ic -" set noignorecase " Case Senetive searching shortend noic -set smartcase " case-sensitive search if any caps -set hlsearch " Highlight search things shortend hls or nohls -set laststatus=2 " Always show the status line -set ruler " Always show current position -set showcmd " display incomplete commands -set wildmenu " Turn on Wild menu -set wildignore=*.o,*~,*.pyc " Ignore compiled files +set softtabstop=2 " indentation +set tabstop=2 " indentation +set shiftwidth=2 " indentation +set expandtab " convert tabs to spaces +set ttyscroll=3 " speed up scrolling +set ttyfast " Optimize for fast terminal connections +set lazyredraw " to avoid scrolling problems +" set ttimeout " less timeout for faster navigation +" set ttimeoutlen=100 " time out for faster navigation +set incsearch " Make search act like search in modern browsers +set ignorecase " Ignore case when searching shortend ic +" set noignorecase " Case Senetive searching shortend noic +set smartcase " case-sensitive search if any caps +set hlsearch " Highlight search things shortend hls or nohls +set laststatus=2 " Always show the status line +set ruler " Always show current position +set showcmd " display incomplete commands +set wildmenu " Turn on Wild menu +set wildignore=*.o,*~,*.pyc " Ignore compiled files set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+ -set undofile " Save undo's after file closes -set undodir=$HOME/.vim/undo " where to save undo histories -set undolevels=200 " How many undos -set undoreload=200 " number of lines to save for undo -set fileformats+=mac " correct mac file format -set tabpagemax=50 " Set the maximum number of tabs allowed -set modelines=0 " disable the modelines which i don't understand -set nomodeline " disable the modelines which i don't understand -set lbr " Vim to wrap existing text as desired -set nowrap " let Vim Wrap lines or leave them as long as they get +set undofile " Save undo's after file closes +set undodir=$HOME/.vim/undo " where to save undo histories +set undolevels=200 " How many undos +set undoreload=200 " number of lines to save for undo +set fileformats+=mac " correct mac file format +set tabpagemax=50 " Set the maximum number of tabs allowed +set modelines=0 " disable the modelines which i don't understand +set nomodeline " disable the modelines which i don't understand +set lbr " Vim to wrap existing text as desired +set nowrap " let Vim Wrap lines or leave them as long as they get set noeb vb t_vb= -" set cursorline " highlight current line -" set nocursorline " don't highlight current line -set splitbelow " position the preview window below current windows -set mouse=a " enable mouse movements, default set mouse= +" set cursorline " highlight current line +" set nocursorline " don't highlight current line +set splitbelow " position the preview window below current windows +set mouse=a " enable mouse movements, default set mouse= " set vim startup faster if !empty(&viminfo) |
