From 5a6ff970a9471d5b3127e681fe1755d4efdc0454 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 28 Feb 2023 09:58:54 +0100 Subject: Minor changes --- vim/.vimrc | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 3c7823f..d6110ba 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -11,7 +11,7 @@ let maplocalleader = "," "" Plugins {{{1 call plug#begin('~/.vim/plugged') -Plug 'andymass/vim-matchup' +" Plug 'andymass/vim-matchup' Plug 'PotatoesMaster/i3-vim-syntax' Plug 'SirVer/ultisnips' Plug 'airblade/vim-gitgutter' @@ -43,6 +43,7 @@ Plug 'tpope/vim-dispatch' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-flagship' Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-markdown' Plug 'tpope/vim-obsession' Plug 'tpope/vim-projectionist' Plug 'tpope/vim-repeat' @@ -68,10 +69,11 @@ if has("nvim") && hostname() != "peuplier" Plug '~/dotfiles/plugins/nvim-i3scratchpad' Plug 'neovim/nvim-lspconfig' " Plug 'VonHeikemen/lsp-zero.nvim' - " Plug 'hrsh7th/nvim-cmp' - " Plug 'nvim-treesitter/nvim-treesitter' - " Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } - " Plug 'nvim-treesitter/playground' + Plug 'nvim-treesitter/nvim-treesitter' + Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } + Plug 'nvim-treesitter/playground' + Plug 'jmbuhr/otter.nvim' + Plug 'quarto-dev/quarto-nvim' endif " Colors @@ -81,6 +83,7 @@ Plug 'junegunn/seoul256.vim' Plug 'romainl/Apprentice' Plug 'JuliaEditorSupport/julia-vim' Plug 'arcticicestudio/nord-vim' +Plug 'ellisonleao/gruvbox.nvim' " Plug 'axvr/zepl.vim' call plug#end() @@ -298,8 +301,8 @@ nnoremap AddWhiteSpaceBefore i l:silent call repeat#set("\

AddWhiteSpaceAfter nmap [w AddWhiteSpaceBefore -nnoremap w :update -nnoremap q :q +nnoremap w :w +nnoremap q :QuartoPreview nnoremap d :bd! nnoremap :q @@ -412,7 +415,7 @@ set notermguicolors colo darjeeling " set termguicolors -" colo nord +" colo gruvbox " highlight Comment ctermfg=66 guifg=#5f8787 " highlight SignColumn ctermbg=234 ctermfg=232 guibg=#1c1c1c guifg=#080808 @@ -445,6 +448,7 @@ if has("nvim") && hostname() != "peuplier" try " lua require('lspconfig').pyls.setup{} lua require('lspconfig').julials.setup{} + lua require('lspconfig').pyright.setup{} lua require('lspconfig').texlab.setup{} " autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc autocmd Filetype julia setlocal omnifunc=v:lua.vim.lsp.omnifunc @@ -489,4 +493,5 @@ function! Get_surrounding() endif endfunction +let g:markdown_folding = 0 " vim: nospell -- cgit v1.2.3