diff --git a/vim/init.vim b/vim/init.vim deleted file mode 100644 index 285ed00..0000000 --- a/vim/init.vim +++ /dev/null @@ -1,62 +0,0 @@ -set nocompatible - -call plug#begin() -Plug 'folke/tokyonight.nvim' -Plug 'neoclide/coc.nvim', { 'branch': 'master', 'do': 'yarn install --frozen-lockfile' } -Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } -Plug 'junegunn/fzf.vim' -Plug 'fatih/vim-go', { 'for': 'go' } -Plug 'ocaml/vim-ocaml', { 'for': 'ocaml' } -Plug 'reasonml-editor/vim-reason-plus', { 'for': 'reason' } -Plug 'rescript-lang/vim-rescript', { 'for': 'rescript' } -Plug 'ap/vim-css-color' -Plug 'jiangmiao/auto-pairs' -Plug 'docunext/closetag.vim' -call plug#end() - -syntax on - -inoremap - \ coc#pum#visible() ? coc#pum#next(1) : - \ CheckBackspace() ? "\" : - \ coc#refresh() -inoremap coc#pum#visible() ? coc#pum#confirm() - \: "\u\\=coc#on_enter()\" -nnoremap Ex -nnoremap Rg -nnoremap bprev -nnoremap bnext - -function! CheckBackspace() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~# '\s' -endfunction - -if has('nvim') - inoremap coc#refresh() -else - inoremap coc#refresh() -endif - -colo tokyonight - -set guicursor="disable" -set softtabstop=4 -set tabstop=4 -set shiftwidth=4 -set expandtab -set number -set relativenumber -set nowrap -set termguicolors -set background=dark -set t_Co=256 - -autocmd InsertEnter * set nocursorline -autocmd InsertLeave * set nocursorline - -highlight Normal guibg=NONE ctermbg=NONE -highlight Folded guibg=NONE ctermbg=NONE -highlight Question guibg=NONE ctermbg=NONE -highlight WildMenu guibg=NONE ctermbg=NONE -highlight EndOfBuffer guibg=NONE ctermbg=NONE