Nvim: sync development setup from viessmann machine
This commit is contained in:
@@ -14,15 +14,26 @@ call plug#begin('~/.config/nvim/plugins')
|
||||
" Code development helpers {{{
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'ray-x/lsp_signature.nvim'
|
||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
Plug 'RRethy/vim-illuminate'
|
||||
|
||||
" main one
|
||||
Plug 'ms-jpq/coq_nvim', {'branch': 'coq'}
|
||||
" 9000+ Snippets
|
||||
Plug 'ms-jpq/coq.artifacts', {'branch': 'artifacts'}
|
||||
Plug 'ms-jpq/coq.thirdparty', {'branch': '3p'}
|
||||
|
||||
Plug 'wellle/context.vim'
|
||||
Plug 'dbeniamine/cheat.sh-vim'
|
||||
"Plug 'dbeniamine/cheat.sh-vim'
|
||||
Plug 'puremourning/vimspector'
|
||||
Plug 'derekwyatt/vim-fswitch'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
Plug 'vim-test/vim-test'
|
||||
"Plug 'vim-test/vim-test'
|
||||
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||
Plug 'liuchengxu/vista.vim'
|
||||
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
Plug 'nvim-treesitter/playground'
|
||||
Plug 'p00f/nvim-ts-rainbow'
|
||||
Plug 'nvim-treesitter/nvim-treesitter-textobjects'
|
||||
Plug 'cdelledonne/vim-cmake'
|
||||
" }}}
|
||||
|
||||
" Completion {{{
|
||||
@@ -32,11 +43,14 @@ Plug 'hrsh7th/cmp-buffer'
|
||||
Plug 'hrsh7th/cmp-path'
|
||||
Plug 'hrsh7th/cmp-cmdline'
|
||||
Plug 'hrsh7th/cmp-calc'
|
||||
Plug 'joshzcold/cmp-jenkinsfile'
|
||||
Plug 'petertriho/cmp-git'
|
||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
Plug 'quangnguyen30192/cmp-nvim-ultisnips'
|
||||
" }}}
|
||||
|
||||
" Files switch, jump and grep-like tools {{{
|
||||
Plug 'derekwyatt/vim-fswitch'
|
||||
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'junegunn/fzf' | Plug 'junegunn/fzf.vim'
|
||||
Plug 'nvim-lua/popup.nvim'
|
||||
@@ -45,25 +59,24 @@ Plug 'nvim-lua/plenary.nvim'
|
||||
"Plug 'fhill2/telescope-ultisnips.nvim'
|
||||
Plug 'inside/vim-search-pulse'
|
||||
Plug 'wellle/targets.vim'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
Plug 'kevinhwang91/nvim-hlslens'
|
||||
Plug 'camspiers/lens.vim'
|
||||
"Plug 'voldikss/vim-floaterm'
|
||||
"Plug 'kevinhwang91/nvim-hlslens'
|
||||
"Plug 'camspiers/lens.vim'
|
||||
"Plug 'karb94/neoscroll.nvim'
|
||||
" }}}
|
||||
|
||||
" Git integration {{{
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'mhinz/vim-signify' " Mark edited lines - faster gitgutter
|
||||
"Plug 'mhinz/vim-signify' " Mark edited lines - faster gitgutter
|
||||
Plug 'APZelos/blamer.nvim'
|
||||
" }}}
|
||||
|
||||
" Support for random filetypes {{{
|
||||
"Plug 'masukomi/vim-markdown-folding'
|
||||
"Plug 'weirongxu/plantuml-previewer.vim' |
|
||||
"Plug 'plasticboy/vim-markdown'
|
||||
Plug 'kergoth/vim-bitbake' " Bitbake templates and syntax
|
||||
Plug 'pboettch/vim-cmake-syntax'
|
||||
Plug 'aklt/plantuml-syntax'
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
|
||||
"Plug 'vim-pandoc/vim-pandoc'
|
||||
Plug 'chrisbra/csv.vim'
|
||||
" }}}
|
||||
|
||||
@@ -71,9 +84,9 @@ Plug 'chrisbra/csv.vim'
|
||||
"Plug 'MortenStabenau/matlab-vim'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'lukas-reineke/virt-column.nvim'
|
||||
Plug 'jez/vim-superman' "vman application
|
||||
"Plug 'jez/vim-superman' "vman application
|
||||
Plug 'glacambre/firenvim'
|
||||
Plug 'JMcKiern/vim-shoot'
|
||||
"Plug 'JMcKiern/vim-shoot'
|
||||
" }}}
|
||||
|
||||
" Note taking {{{
|
||||
@@ -87,11 +100,14 @@ Plug 'jaredgorski/spacecamp'
|
||||
Plug 'lifepillar/vim-gruvbox8'
|
||||
Plug 'dylanaraps/wal'
|
||||
Plug 'vim-airline/vim-airline' | Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'tanvirtin/monokai.nvim'
|
||||
Plug 'marko-cerovac/material.nvim'
|
||||
" }}}
|
||||
"
|
||||
call plug#end()
|
||||
|
||||
set termguicolors
|
||||
set shell=bash
|
||||
|
||||
if plug_install
|
||||
PlugInstall --sync
|
||||
@@ -111,7 +127,8 @@ set colorcolumn=80
|
||||
|
||||
set background=dark
|
||||
"colorscheme wal
|
||||
colorscheme gruvbox8
|
||||
let g:material_style = "deep ocean"
|
||||
colorscheme material
|
||||
highlight MatchParen cterm=underline ctermbg=black ctermfg=NONE
|
||||
highlight VirtColumn ctermfg=DarkGrey ctermbg=NONE
|
||||
set listchars=tab:▸\ ,trail:¬
|
||||
@@ -119,9 +136,10 @@ set list
|
||||
hi clear SpellBad
|
||||
hi SpellBad cterm=underline
|
||||
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set softtabstop=2
|
||||
|
||||
set expandtab
|
||||
|
||||
set ignorecase
|
||||
@@ -153,11 +171,12 @@ set undodir=~/.cache/nvim/undo/
|
||||
set undofile
|
||||
|
||||
"let mapleader = "\\"
|
||||
map <Space> <leader>
|
||||
nmap <space> <leader>
|
||||
|
||||
inoremap jj <ESC>
|
||||
inoremap jk <ESC>
|
||||
inoremap :w<CR> <Esc>:w<CR>
|
||||
nnoremap Q <cmd>q
|
||||
|
||||
" Reselect visual block after incrementing/decrementing
|
||||
vnoremap <c-a> <c-a>gv
|
||||
|
||||
Reference in New Issue
Block a user