diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-05-28 11:35:07 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-05-28 11:35:07 +0200 |
| commit | e4b092f5c272a4504c5f6c79df4b44c613e4966a (patch) | |
| tree | 72aa66d82a295c458712d44ab957fa10137f80d9 /.config/nvim | |
| parent | 40a4d7bba0016c4a440c130ef2181dc068c4ea97 (diff) | |
dotfiles update
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/init.vim | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 03e10a2..03150b5 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -26,6 +26,7 @@ let g:airline_powerline_fonts = 1 let g:minimap_highlight='Visual' let g:python3_host_prog='/usr/bin/python3' let g:DiffColors = 0 +let g:AutoPairsMultilineClose = 0 if exists("g:neovide") nmap <silent> <C-=> :lua vim.g.neovide_scale_factor = vim.g.neovide_scale_factor + 0.1<CR> @@ -95,7 +96,6 @@ call plug#end() " keybinds tnoremap <Esc> <C-\><C-n> - nnoremap tt :tabnew<CR> nnoremap <CR> o<Esc> nnoremap <leader>qf <Plug>(coc-fix-current) @@ -254,7 +254,7 @@ let g:vimtex_compiler_latexmk_engines = { '_': '' } " TeX quotes autocmd FileType tex let b:surround_{char2nr("q")} = "`\r'" autocmd FileType tex let b:surround_{char2nr('Q')} = "``\r''" -autocmd FileType tex let b:AutoPairs = AutoPairsDefine({'(':')', '[':']', '{':'}', "``":"''", "`":"'", '$':'$', '"':'"'}) +autocmd FileType tex let b:AutoPairs = {'(':')', '[':']', '{':'}', "``":"''", "`":"'", '$':'$', '"':'"'} " AutoPairs for plantuml autocmd FileType plantuml let b:AutoPairs = {'(':')', '[':']', '{':'}', '`':'`'} @@ -355,6 +355,12 @@ augroup devicetree_ft au BufRead,BufNewFile *.dtsi set syntax=dts augroup END +augroup BibLaTeX + " add allowed characters in biblatex labels to word delimiters + autocmd! + autocmd FileType bib setlocal iskeyword+=:,- +augroup END + " sneak let g:sneak#use_ic_scs = 0 |