2015-08-25 00:05:28 +02:00
|
|
|
" Global settings
|
|
|
|
syntax on
|
|
|
|
set showcmd
|
|
|
|
set ruler
|
|
|
|
set mouse=a
|
2015-09-25 17:42:06 +02:00
|
|
|
set backupdir=~/.config/neovim/backup/
|
|
|
|
set directory=~/.config/neovim/backup/
|
2015-08-25 00:05:28 +02:00
|
|
|
set number
|
|
|
|
|
|
|
|
" Colors
|
|
|
|
highlight LineNr ctermfg=cyan
|
|
|
|
|
|
|
|
" Indent
|
|
|
|
set tabstop=2
|
|
|
|
set shiftwidth=2
|
|
|
|
set expandtab
|
|
|
|
|
|
|
|
" Search
|
|
|
|
set incsearch
|
|
|
|
set ignorecase
|
2015-10-01 13:40:16 +02:00
|
|
|
|
|
|
|
" Vundle
|
|
|
|
|
|
|
|
filetype off
|
|
|
|
set rtp+=~/.config/neovim/bundle/Vundle.vim
|
|
|
|
call vundle#begin('~/.config/neovim/bundle')
|
|
|
|
|
|
|
|
Plugin 'VundleVim/Vundle.vim'
|
|
|
|
Plugin 'kien/ctrlp.vim'
|
|
|
|
" Languages
|
|
|
|
Plugin 'kchmck/vim-coffee-script'
|
|
|
|
Plugin 'fatih/vim-go'
|
|
|
|
Plugin 'wting/rust.vim'
|
|
|
|
Plugin 'godlygeek/tabular' " dependency for markdown
|
|
|
|
Plugin 'plasticboy/vim-markdown'
|
|
|
|
|
|
|
|
call vundle#end()
|
|
|
|
filetype plugin indent on
|
|
|
|
|
|
|
|
" CtrlP
|
|
|
|
|
|
|
|
let g:ctrlp_map = '<c-p>'
|
|
|
|
let g:ctrlp_cmd = 'CtrlP'
|
|
|
|
|
|
|
|
" Markdown
|
|
|
|
|
|
|
|
let g:vim_markdown_folding_disabled=1
|