From 14e419ae59a20edb5203f83c04f2b850d222d602 Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Sun, 4 Feb 2024 16:51:31 +0100 Subject: [PATCH] nvim: Update config --- nvim/init.vim | 15 ++++++++++---- nvim/spell/pl.utf-8.add | 38 ++++++++++++++++++++++++++++++++++++ nvim/spell/pl.utf-8.add.spl | Bin 466 -> 1038 bytes 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index de715e6..88192b4 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -9,7 +9,7 @@ endif let g:vimtex_compiler_progname = "nvr" let g:vimtex_view_method = 'zathura' -let g:vimtex_latexmk_options = '-pdf -bibtex -pdflatex="xelatex -synctex=1 \%S \%O" -verbose -file-line-error -interaction=nonstopmode' +" let g:vimtex_latexmk_options = '-pdf -bibtex -pdflatex="xelatex -synctex=1 \%S \%O" -verbose -file-line-error -interaction=nonstopmode' let g:deoplete#enable_at_startup = 1 set mouse=a @@ -23,7 +23,6 @@ call plug#begin($VIMHOME.'/plugged') Plug 'vim-airline/vim-airline-themes' Plug 'rafi/awesome-vim-colorschemes' Plug 'lervag/vimtex' - Plug 'ctrlpvim/ctrlp.vim' Plug 'tpope/vim-surround' Plug 'airblade/vim-gitgutter' Plug 'tpope/vim-commentary' @@ -32,6 +31,8 @@ call plug#begin($VIMHOME.'/plugged') Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'gootorov/q-sharp.vim' Plug 'tpope/vim-fugitive' + Plug 'junegunn/fzf.vim' + Plug 'simnalamburt/vim-mundo' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', @@ -48,10 +49,11 @@ let g:deoplete#disable_auto_complete = 1 let g:LanguageClient_serverCommands = { \ 'python': ['/home/kadet/.config/nvim/venv/env/bin/pyls'], + \ 'c': ['clangd'], \ } call deoplete#custom#var('omni', 'input_patterns', { - \ 'tex': g:vimtex#re#deoplete + \ 'tex': g:vimtex#re#deoplete \}) set colorcolumn=80,120 @@ -103,6 +105,11 @@ if has("multi_byte") " set fileencodings=ucs-bom,utf-8,latin1 endif +" undo +set undofile +set undodir=$VIMHOME/undo +set undolevels=1000 + " i like to have ctrl-x menu set shortmess-=c @@ -203,7 +210,7 @@ inoremap return !col || getline('.')[col - 1] =~ '\s' endfunction"}}} -nmap \\ :CtrlP +nmap \\ :Files " local settings if filereadable("~/.local.vimrc") diff --git a/nvim/spell/pl.utf-8.add b/nvim/spell/pl.utf-8.add index 70b3246..6d2b4aa 100644 --- a/nvim/spell/pl.utf-8.add +++ b/nvim/spell/pl.utf-8.add @@ -23,3 +23,41 @@ parametryzowalność parametryzowalnych parametryzacji Parametryzacja +podgraf +ustrukturyzowane +ustrukturyzowanych +nieustrukturyzowane +podgrafem +podgrafami +podgrafów +Konceptualnie +podgrafy +ustandaryzowanym +konceptualnie +implementacyjnie +implementacyjnym +zasobochłonności +ustandaryzowany +komentowalne +etykietowalne +przetwarzalne +niekomercyjność +bezstanowość +uruchomieniowego +uruchomieniowe +konkluzywny +percentyl +percentyla +#ediwresum +#ediwresum +fediwersum +Mastodon +usłogodawca +przetwarzalnej +inicjalizacji +kolejkowania +inicjalizację +inicjalizacją +uruchomieniowych +wirtualizacji +zwirtualizowanego diff --git a/nvim/spell/pl.utf-8.add.spl b/nvim/spell/pl.utf-8.add.spl index fff48a3d7004db70dc15fa0d23ec8b4ff1e9cd15..01c49154001e21e1565f9180c72cbb74043242c9 100644 GIT binary patch literal 1038 zcmZuwOK#La5bbKinlm642xSNI6_8l4VUbmY)bVsC?N8h3v1Qpyq$m|qZ-boD%awneT8>B`g z6N(HPZt&jo?d4#bC>`)#8eHUZQh=|Nm?;BpZv$>u6KD#=$sW)#ait|D?DcWY_YbV7 z#dDWIBS=d$M_H5?w7x?W;5X40)YhTupu7ZlYaq5pWJVw3s$@dGTD2#{jvj#~zp*Z; zfz;ZPIgfyNG?;MgLL2vdz?j{ zqgV~d9dIW!S)HdDPudAthA&xHZ9VAsS1=Xydzo8p4N*GK&jI~!m!2OQl3sZxr|&4t zmmr_?IcC0{f%VW9KoqoD`iqTuKY`U-@q=@hvu@SOY{ZiBNOdYAz# zz>N5hX#D_>uz&z?2lm>=HDI(`evMg7JLEV=TE6bz(}3?nE`e&)hP73Te$b~iTjgnO zf3S{I-QetB_g6u;(>;?xPM23n%1xHC! z<6u{!F;&3ABN4q#<)2uc=%S~3BH3%Ev+m!CiL$y2)+g*)Y_xe`AR+Zqd@FeT+lP&S z9PeVPY>iAEjU5dGX-6VzMabcxU7Yn96AO_>#$B&jJ=31V@VU_H7)zd7(~J5V