summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-03 21:53:27 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-03 21:53:27 +0100
commit4cf219097751b4a45dfc5a07123e02872ab1402e (patch)
treef32b63098d95028d9d5d27c07b2b222b03373b00 /vim
parentacc3dcb303910d6b79bcc34e6a8ca1a64bffc024 (diff)
I am going minimal vim again...
Removes colour, a lot of plugins and makes things faster.
Diffstat (limited to '')
-rw-r--r--vim/vimrc33
1 files changed, 21 insertions, 12 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d7e3050..63f9920 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -48,24 +48,24 @@ noremap <silent> <leader>rs :!clear; sh %<CR>
" essential plugins
call plug#begin()
-Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
-Plug 'junegunn/fzf.vim'
-Plug 'sheerun/vim-polyglot'
+" Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
+" Plug 'junegunn/fzf.vim'
+" Plug 'sheerun/vim-polyglot'
Plug 'preservim/vim-markdown'
Plug 'mhinz/vim-signify'
Plug 'vim-test/vim-test'
Plug 'ledger/vim-ledger'
-Plug 'jlanzarotta/bufexplorer'
+" Plug 'jlanzarotta/bufexplorer'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-commentary'
"Plug 'ycm-core/YouCompleteMe'
"Plug 'jayli/vim-easycomplete'
-Plug 'rose-pine/vim'
+" Plug 'rose-pine/vim'
Plug 'SirVer/UltiSnips'
Plug 'honza/vim-snippets'
-Plug 'dense-analysis/ale'
-Plug 'davidhalter/jedi-vim'
+" Plug 'dense-analysis/ale'
+" Plug 'davidhalter/jedi-vim'
call plug#end()
" easycomplete
@@ -136,11 +136,13 @@ let test#vimterminal#term_position = "belowright"
" \ endif
"augroup END
-set shell=/bin/sh
+" set shell=/bin/sh
+" set t_Co=0 " this is supposed to remove colours
+set grepprg=ag\ --vimgrep\ --nogroup\ --nocolor
set hi=500
set scrolloff=0
-set novisualbell
-set relativenumber "show line numbers
+" set novisualbell
+"set relativenumber "show line numbers
set wildignore=**/__pycache*/**
set wildmenu "enable a menu that shows tab completion options in the status bar
set wildchar=<TAB>
@@ -431,7 +433,7 @@ nnoremap <C-p>a :Rg
"" Quick Editing vimrc
nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
-syntax enable
+" syntax enable
let g:solarized_termcolors=256
let g:gruvbox_termcolors=256
let g:gruvbox_contrast_dark='hard'
@@ -443,7 +445,7 @@ let g:gruvbox_invert_signs='0'
let g:gruvbox_improved_strings='0'
set background=dark
"colorscheme hipster
-colorscheme rosepine
+" colorscheme rosepine
" manual highlights
" highlight Visual ctermfg=black ctermbg=LightMagenta
@@ -471,3 +473,10 @@ augroup languages
autocmd FileType html,javascript,css,json,yaml,sh
\ setlocal ts=2 sts=2 sw=2 expandtab
augroup END
+
+" Switching off colours
+syntax off
+set nohlsearch
+set background=dark
+highlight clear
+" highlight Normal ctermfg=white ctermbg=black