code-vagabond
4/17/2017 - 2:57 PM

init.vim for neovim inside ~/.config/nvim/ or on windows: /Users/[Username]/AppData/Local/nvim/

init.vim for neovim inside ~/.config/nvim/ or on windows: /Users/[Username]/AppData/Local/nvim/


"Bundle Scripts-----------------------------
if has('vim_starting')  
  set runtimepath+=~/.config/nvim/bundle/neobundle.vim/
  set runtimepath+=~/.config/nvim/
endif

let neobundle_readme=expand('~/.config/nvim/bundle/neobundle.vim/README.md')

if !filereadable(neobundle_readme)  
  echo "Installing NeoBundle..."
  echo ""
  silent !mkdir -p ~/.config/nvim/bundle
  silent !git clone https://github.com/Shougo/neobundle.vim ~/.config/nvim/bundle/neobundle.vim/
  let g:not_finsh_neobundle = "yes"
endif

call neobundle#begin(expand('$HOME/.config/nvim/bundle'))  
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'https://github.com/freeo/vim-kalisi'  
NeoBundle 'scrooloose/nerdcommenter'
NeoBundle 'arakashic/chromatica.nvim'
NeoBundle 'vim-airline/vim-airline'
NeoBundle 'vim-airline/vim-airline-themes'
" ------------------------------------
" THIS IS WHERE YOUR PLUGINS WILL COME
" ------------------------------------

call neobundle#end()  
filetype plugin indent on
syntax on
filetype plugin on
syntax enable
" syntax sync fromstart
" syntax sync minlines=20
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab


" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck  
"End NeoBundle Scripts-------------------------

"if (has("termguicolors"))
"  set termguicolors
"endif

colorscheme kalisi
set background=dark
set number

" set background to none to take transparent property from xterm
hi Normal ctermbg=none guibg=none
hi NonText ctermbg=none

" syntax highlighting plugin
" let g:chromatica#enable_at_startup=1