diff options
author | Julian Teu <julianteule@gmail.com> | 2018-03-24 14:09:01 +0100 |
---|---|---|
committer | Julian Teu <julianteule@gmail.com> | 2018-03-24 14:09:01 +0100 |
commit | 3b1538f89d6e7e6676297cac66a7eeea46f15f5c (patch) | |
tree | f8d6ac2ca1797f1c3203b87b6814574006f918bd /.config | |
parent | 25620f288dc388b06f0ca2f7e173e4ed20599740 (diff) |
Added neovim config
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.vim | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..12074af --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,46 @@ + +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +" alternatively, pass a path where Vundle should install plugins +"call vundle#begin('~/some/path/here') + +" let Vundle manage Vundle, required +Plugin 'VundleVim/Vundle.vim' + +Plugin 'tpope/vim-surround' +Plugin 'tpope/vim-repeat' +Plugin 'tpope/vim-speeddating' + +Plugin 'zchee/deoplete-jedi' + +Plugin 'sirtaj/vim-openscad' + +Plugin 'nanotech/jellybeans.vim' + +Plugin 'Shougo/deoplete.nvim' + + +call vundle#end() " required +filetype plugin indent on " required + + +colorscheme elflord + +syntax enable +set number relativenumber + +set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab + + +let g:deoplete#enable_at_startup = 1 + + +inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" +inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" + + +tnoremap <C-e> <C-\><C-n> |