Commits

Vladislav Bortnikov  committed fd71e8a

Latest changes

  • Participants
  • Parent commits 3220c9f

Comments (0)

Files changed (2)

     "git://github.com/hallettj/jslint.vim.git",
 #    "git://github.com/joestelmach/javaScriptLint.vim.git",
     "git://github.com/motemen/git-vim.git",
-    "git://github.com/mbadran/headlights.git",
+    #"git://github.com/mbadran/headlights.git",
     "git://github.com/scrooloose/nerdtree.git",
     "git://github.com/scrooloose/nerdcommenter.git",
     "git://github.com/kevinw/pyflakes-vim.git",
 call pathogen#runtime_append_all_bundles()
 call pathogen#helptags()
 
+set fullscreen
+
 filetype plugin indent on
 syntax on
 
 let did_install_syntax_menu = 1
 let g:user_zen_leader_key = '<D-Space>'
 
+colorscheme molokai
 set background=dark
-colorscheme molokai
 
 " Settings --------------------------------------------------------------------
 set nocompatible
 set tabstop=4 shiftwidth=4 softtabstop=4 expandtab
 set number ruler
 set encoding=utf-8
-set scrolloff=3
 set autoindent smartindent
 set showmode showcmd
 set hidden
 set ttyfast
 set ruler
 set backspace=indent,eol,start
+set scrolloff=3
 set ignorecase smartcase
 set gdefault
 set incsearch showmatch hlsearch
 set textwidth=79
 set formatoptions=qrn1
 set ffs=unix,dos,mac
-set fencs=utf-8,cp1251,koi8-r,ucs-2,cp866
+set fencs=utf-8,cp1251,cp866,koi8-r,ucs-2
 set shellslash
 set grepprg=grep\ -nH\ $*
 set spelllang=ru_yo,en
 set nospell
-set lazyredraw
 if v:version >= 703
     set colorcolumn=85
 
 
 " View opts -------------------------------------------------------------------
 if has("gui_running")
-    set guifont=TerminusMedium:h12
-    set noantialias " Terminus looks better that way
+    " set guifont=TerminusMedium:h12
+    set guifont=Monaco:h12
+    set noantialias
+    " set noantialias " Terminus looks better that way
     set guioptions-=T
     set fuopt+=maxhorz
 else
   set t_Co=256
+  let g:indent_guides_indent_levels = 0
 endif
 
-
 " Status line opts ------------------------------------------------------------
 hi StatColor guibg=#95e454 guifg=black ctermbg=lightgreen ctermfg=black
 hi Modified guibg=orange guifg=black ctermbg=lightred ctermfg=black
 nmap <silent><Leader>tp <Esc>:Pytest previous<CR>
 nmap <silent><Leader>te <Esc>:Pytest error<CR>
 
+" vim -b : edit binary using xxd-format!
+augroup Binary
+  au!
+  au BufReadPre  *.bin let &bin=1
+  au BufReadPost *.bin if &bin | %!xxd
+  au BufReadPost *.bin set ft=xxd | endif
+  au BufWritePre *.bin if &bin | %!xxd -r
+  au BufWritePre *.bin endif
+  au BufWritePost *.bin if &bin | %!xxd
+  au BufWritePost *.bin set nomod | endif
+augroup END