diff options
-rw-r--r-- | .config/nvim/init.vim | 46 | ||||
-rw-r--r-- | .vimrc | 13 |
2 files changed, 59 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> @@ -11,6 +11,12 @@ call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-surround' +Plugin 'tpope/vim-repeat' +Plugin 'tpope/vim-speeddating' + +Plugin 'sirtaj/vim-openscad' + +Plugin 'jceb/vim-orgmode' Plugin 'Valloric/YouCompleteMe' @@ -31,3 +37,10 @@ filetype plugin indent on " required syntax enable +set number relativenumber + +set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab + +" Org mode " + +let g:org_agenda_files = ['/home/julian/Dropbox/Noter/2018.org'] |