summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc21
1 files changed, 13 insertions, 8 deletions
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 <silent> <Plug>AddWhiteSpaceBefore i <Esc>l:silent call repeat#set("\<P
nmap ]w <Plug>AddWhiteSpaceAfter
nmap [w <Plug>AddWhiteSpaceBefore
-nnoremap <Leader>w :update<cr>
-nnoremap <Leader>q :q<cr>
+nnoremap <Leader>w :w<cr>
+nnoremap <Leader>q :QuartoPreview<cr>
nnoremap <Leader>d :bd!<cr>
nnoremap <c-d> :q<cr>
@@ -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