From 99af6469c9497f78f20a7b30909bb7d4f14c6c88 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sat, 20 Feb 2021 22:45:45 +0100 Subject: [PATCH] Update vimrc --- .config/vim/vimrc | 54 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 8843c0a..12c7bba 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -10,27 +10,34 @@ endif " Plug plugins using VimPlug call plug#begin('~/.config/vim/plugged') + " Tools Plug 'editorconfig/editorconfig-vim' Plug 'airblade/vim-gitgutter' Plug 'samoshkin/vim-mergetool' Plug 'fidian/hexmode' Plug 'scrooloose/nerdtree' + Plug 'vim-scripts/DoxygenToolkit.vim' + Plug 'drmikehenry/vim-headerguard' + Plug 'jiangmiao/auto-pairs' + + " Eye-Candy Plug 'itchyny/lightline.vim' Plug 'nanotech/jellybeans.vim' Plug 'scrooloose/syntastic' - Plug 'sersorrel/vim-lilypond' - Plug 'vim-scripts/DoxygenToolkit.vim' - Plug 'drmikehenry/vim-headerguard' - Plug 'sirtaj/vim-openscad' - Plug 'cespare/vim-toml' - Plug 'posva/vim-vue' - Plug 'lervag/vimtex' - Plug 'fatih/vim-go' + Plug 'Yggdroot/indentLine' + + " Commands Plug 'machakann/vim-swap' - Plug 'tpope/vim-sleuth' - Plug 'neoclide/coc.nvim', { 'branch': 'release' } + Plug 'matze/vim-move' + + " Syntax highlighting + Plug 'sirtaj/vim-openscad' + Plug 'lervag/vimtex' + Plug 'sheerun/vim-polyglot' call plug#end() +"let g:indentLine_setColors = 0 + packadd termdebug set number relativenumber @@ -55,7 +62,13 @@ set laststatus=2 set encoding=utf-8 +set mouse=a + +set incsearch +set hlsearch + set nowrap +set nocompatible set wildmode=longest,list,full @@ -81,6 +94,7 @@ endif map b :Break map n :NERDTreeToggle +nnoremap :noh autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif @@ -148,22 +162,6 @@ let g:vimtex_compiler_latexmk = { \ 'build_dir': 'latexmk_output' \} +let g:move_key_modifier = 'C' -inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" - -inoremap coc#refresh() - -"GoTo code navigation -nmap g -nmap gd (coc-definition) -nmap gt (coc-type-definition) -nmap gi (coc-implementation) -nmap gr (coc-references) - -nmap rn (coc-rename) - -"show all diagnostics. -nnoremap d :CocList diagnostics -"manage extensions. -nnoremap e :CocList extensions +let g:indentLine_char_list = ['|', '¦', '┆', '┊']