From 566048691526b485df8417abadeec5eda19a4803 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 8 Jan 2020 14:02:22 +0100 Subject: [PATCH] Removed obsolete vim config --- vim/ftplugin/cpp.vim | 3 - vim/install.sh | 5 -- vim/vimrc | 136 ------------------------------------------- 3 files changed, 144 deletions(-) delete mode 100644 vim/ftplugin/cpp.vim delete mode 100755 vim/install.sh delete mode 100644 vim/vimrc diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim deleted file mode 100644 index af6c740..0000000 --- a/vim/ftplugin/cpp.vim +++ /dev/null @@ -1,3 +0,0 @@ -" max line length column -set colorcolumn=100 - diff --git a/vim/install.sh b/vim/install.sh deleted file mode 100755 index 5bba86b..0000000 --- a/vim/install.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh - -ln -svrf vimrc ~/.vimrc -ln -svrf ftplugin ~/.vim/ftplugin - diff --git a/vim/vimrc b/vim/vimrc deleted file mode 100644 index 9880df2..0000000 --- a/vim/vimrc +++ /dev/null @@ -1,136 +0,0 @@ -" vimrc.local {{{ -if filereadable("~/.vimrc.local") - source ~/.vimrc.local -endif -" }}} - -" vim-plug installer {{{ -if empty(glob('~/.vim/autoload/plug.vim')) - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs - \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $MYVIMRC -endif -" }}} - -" vim-plug plugins {{{ -call plug#begin('~/.vim/vim-plug') - -" deoplete -Plug 'Shougo/deoplete.nvim' -Plug 'roxma/nvim-yarp' -Plug 'roxma/vim-hug-neovim-rpc' - -" LanguageClient-neovim -Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh', } - -Plug 'Shougo/vimproc.vim', {'do' : 'make'} - -Plug 'rhysd/vim-clang-format' -Plug 'derekwyatt/vim-fswitch' -Plug 'altercation/vim-colors-solarized' -Plug 'craigemery/vim-autotag' -Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } -Plug 'junegunn/fzf.vim' -Plug 'airblade/vim-gitgutter' -Plug 'tpope/vim-fugitive' -Plug 'tpope/vim-surround' -Plug 'tpope/vim-obsession' -Plug 'dhruvasagar/vim-prosession' -Plug 'linuor/ucmake.vim' -Plug 'skywind3000/asyncrun.vim' -Plug 'markonm/traces.vim' -Plug 'christoomey/vim-tmux-navigator' - -Plug 'mandlm/vim-split-open' - -call plug#end() -" }}} - -packadd! termdebug - -" tabwidth -set tabstop=4 -set shiftwidth=4 - -" dark theme -set background=dark - -" line numbers -set number - -" faster saving -set nofsync - -" autoread/checktime timer {{{ -set autoread -function CheckTime(timer) - checktime -endfunction -let timerChecktime = timer_start(4000, 'CheckTime', {'repeat': -1}) -" }}} - -" ctags config -set tags=./tags; -nnoremap - -" clang-format -let g:clang_format#auto_format = 1 -let g:clang_format#enable_fallback_style = 0 - -" autotag -let g:autotagmaxTagsFileSize = 1024 * 1024 * 128 - -" deoplete -let g:deoplete#enable_at_startup = 1 -autocmd CompleteDone * silent! pclose! -call deoplete#custom#source('_', 'matchers', ['matcher_full_fuzzy']) - -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" - -" LanguageClient-neovim -set hidden -nnoremap :call LanguageClient_contextMenu() -nnoremap :call LanguageClient#textDocument_definition() -let g:LanguageClient_serverCommands = { - \ 'python': ['pyls'], - \ 'cpp': ['/usr/lib/llvm/8/bin/clangd'], - \ } - -" lightline config -let g:lightline = { 'colorscheme': 'solarized' } - -" vim-fswitch -nmap o :FSHere - -" vim-colors-solarized -colorscheme solarized - -" fzf.vim -nmap :Files -nmap :Rg \b\b -nmap :Tags - -" terminal colors -hi Terminal ctermfg=fg ctermbg=NONE guifg=fg guibg=NONE guisp=NONE cterm=NONE gui=NONE - -" incremental searching -set incsearch -set hlsearch - -" asynrun.vim -let g:asyncrun_open = 16 - -" prosession -let g:prosession_tmux_title = 1 -let g:prosession_per_branch = 1 - -" modeline -set modeline -set modelines=5 - -" vimrc editing -nnoremap ev :split $MYVIMRC -nnoremap sv :source $MYVIMRC:echo "Reloaded vimrc" - -" vim: foldmethod=marker foldmarker={{{,}}}