From a6a978410d0daecff139a3ab971dc94c75427eb7 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 14 Aug 2022 20:10:20 -0400 Subject: start using more ide plugins --- .config/nvim/init.vim.bak | 60 ----------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .config/nvim/init.vim.bak (limited to '.config/nvim/init.vim.bak') diff --git a/.config/nvim/init.vim.bak b/.config/nvim/init.vim.bak deleted file mode 100644 index ed3883e..0000000 --- a/.config/nvim/init.vim.bak +++ /dev/null @@ -1,60 +0,0 @@ -" -" getchoo's neovim config -" - -set nocompatible - -set runtimepath+=/home/seth/.local/share/dein/repos/github.com/Shougo/dein.vim -call dein#begin('~/.local/share/dein') - -call dein#add('~/.local/share/dein/repos/github.com/Shougo/dein.vim') -call dein#add('wsdjeg/dein-ui.vim') -call dein#add('itchyny/lightline.vim') -call dein#add('joshdick/onedark.vim') -call dein#add('arcticicestudio/nord-vim') -call dein#add('rose-pine/neovim', {'name': 'rose-pine'}) -call dein#add('neoclide/coc.nvim', { 'merged': 0, 'rev': 'release' }) - -call dein#end() - -" coc settings -"" use for trigger completion and navigate to the next complete item -function! s:check_back_space() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' -endfunction - -"" for lightline.vim -function! CocCurrentFunction() - return get(b:, 'coc_current_function', '') -endfunction - -inoremap - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : - \ coc#refresh() - -inoremap pumvisible() ? "\" : "\" - -" options -set tabstop=2 -set shiftwidth=2 -set expandtab -set smartindent - -" apperance -syntax on -filetype plugin indent on -set termguicolors -colorscheme nord -let g:lightline = { - \ 'colorscheme': 'nord', - \ 'active': { - \ 'left': [ [ 'mode', 'paste' ], - \ [ 'cocstatus', 'currentfunction', 'readonly', 'filename', 'modified' ] ] - \ }, - \ 'component_function': { - \ 'cocstatus': 'coc#status', - \ 'currentfunction': 'CocCurrentFunction' - \ }, - \ } -- cgit v1.2.3