~kiwec/dotfiles

86b69fcd0c8198c85a7c7bc0d05d910a561ba65e — Wolf Clément 4 years ago 0dd59fe
Update nvim
1 files changed, 5 insertions(+), 30 deletions(-)

M .config/nvim/init.vim
M .config/nvim/init.vim => .config/nvim/init.vim +5 -30
@@ 4,23 4,16 @@ filetype off
set rtp+=~/.config/nvim/bundle/Vundle.vim
call vundle#begin('~/.config/nvim/bundle')
Plugin 'VundleVim/Vundle.vim'
Plugin 'dhruvasagar/vim-table-mode'
Plugin 'Shougo/deoplete.nvim'
Plugin 'Shougo/neosnippet'
Plugin 'Shougo/neosnippet-snippets'
Plugin 'scrooloose/syntastic'
Plugin 'scrooloose/nerdtree'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'mattn/emmet-vim'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-fugitive'
Plugin 'bling/vim-airline'
Plugin 'wookiehangover/jshint.vim'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'pangloss/vim-javascript'
Plugin 'tpope/vim-endwise'
Plugin 'junegunn/vim-easy-align'
Plugin 'osyo-manga/vim-over'
Plugin 'jiangmiao/auto-pairs'
Plugin 'sickill/vim-pasta'
Plugin 'airblade/vim-gitgutter'


@@ 28,9 21,6 @@ Plugin 'altercation/vim-colors-solarized'
call vundle#end()
filetype plugin indent on

" Tables
let g:table_mode_corner="|"

" NeoComplete
let g:deoplete#enable_at_startup = 1
let g:neocomplete#enable_smart_case = 1


@@ 49,17 39,6 @@ smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: "\<TAB>"

" Syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_cpp_compiler = 'clang++'
let g:syntastic_cpp_compiler_options = ' -std=c++14 -stdlib=libc++'

" NERDTree
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif


@@ 67,11 46,6 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT
" CtrlP
let g:ctrlp_cmd = 'CtrlPMixed'

" Emmet
let g:user_emmet_install_global = 0
let g:user_emmet_leader_key='<C-E>'
autocmd FileType html,css EmmetInstall

" Solarized colorscheme
syntax enable
set background=dark


@@ 96,8 70,7 @@ hi IndentGuidesEven ctermbg=black
set number
set linebreak
set showbreak=+++
set textwidth=80
set visualbell
set t_vb=
set updatetime=250
set hlsearch
set smartcase


@@ 106,9 79,9 @@ set incsearch
 
set autoindent
set cindent
set shiftwidth=2
set sw=4
set ts=4
set smartindent
set tabstop=2
set noexpandtab 
set ruler
 


@@ 116,3 89,5 @@ set undolevels=1000
set backspace=indent,eol,start
let mapleader = ","

au BufNewFile,BufRead *.handlebars set filetype=html