aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-03-28 15:43:32 +0100
committerMatthew Lemon <y@yulqen.org>2023-03-28 15:43:32 +0100
commit1e0aaf3a7be7cba038acd6f650cce13d82614d97 (patch)
tree62730752bd3c5173b1fce9c1350d0fcac833bfce /vim
parent46c4a8cc3832f512cc1448a6d7d1bdf77f14ffa2 (diff)
removed a bunch of shit from vimrc
Diffstat (limited to '')
m---------vim/plugged/ale0
m---------vim/plugged/fzf0
m---------vim/plugged/jedi0
m---------vim/plugged/vim-fugitive0
m---------vim/plugged/vim-sensible0
m---------vim/plugged/vim-test0
-rw-r--r--vim/vimrc75
7 files changed, 1 insertions, 74 deletions
diff --git a/vim/plugged/ale b/vim/plugged/ale
-Subproject fbae1bc1937ce69fa80b4b32d178ce666fd5c07
+Subproject 7dbd3c96ac1eb3a1981e740423a31500108f6e2
diff --git a/vim/plugged/fzf b/vim/plugged/fzf
-Subproject 1116e481bef4f63abe0e506ce20469e244c505e
+Subproject ae745d9397bdc8b91f3c1834def3b8ecb0ae57b
diff --git a/vim/plugged/jedi b/vim/plugged/jedi
-Subproject 6ee33bd385c9f5e3b1ceba6338d465953d64f7a
+Subproject 77cfefc1cc25d41b10018c3457ad91e445c2622
diff --git a/vim/plugged/vim-fugitive b/vim/plugged/vim-fugitive
-Subproject 5b52a0f395065d6cb7b65a00a5e17eaf9ebd64d
+Subproject 9acbad1335ee6f30a8497733dcb2373c4550c8a
diff --git a/vim/plugged/vim-sensible b/vim/plugged/vim-sensible
-Subproject 5693bb650a26723975276bef7b1da2f00a571e0
+Subproject 624c7549a5dfccef2030acc545198d102e4be1c
diff --git a/vim/plugged/vim-test b/vim/plugged/vim-test
-Subproject c63b94c1e5089807f4532e05f087351ddb5a207
+Subproject 739024ba3264cf153d54ab8da5cdaaa978f7628
diff --git a/vim/vimrc b/vim/vimrc
index 215b5aa..697c0ba 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -22,7 +22,7 @@ noremap <silent> <leader>ul mmyypVr-<Esc>`m
"
" Show the 'list' characters.
noremap <silent> <leader>ls :set list!<CR>
-"
+
" Remove double- or single-quotes, or graves wrapped around a string.
noremap <silent> <leader>rdq mmF"xf"x`m
noremap <silent> <leader>rsq mmF'xf'x`m
@@ -72,20 +72,12 @@ cnoremap <down> <Nop>
cnoremap <left> <Nop>
cnoremap <right> <Nop>
-" this needs to be here when using vim native package manager:
-" https://github.com/dracula/vim/issues/161
-"packadd! dracula | colorscheme dracula
-
" ignore wrapping. you can move to the visual start of end of a line with `g0`
" and `g$`, respectively.
noremap j gj
noremap k gk
"
-" These do strange things to centering of text, etc.
-"set sidescrolloff=999
-"set scrolloff=999
-
set shell=/bin/sh
set hi=500
set scrolloff=0
@@ -232,19 +224,6 @@ nmap <silent> t<C-s> :TestSuite<CR>
nmap <silent> <S-F10> :TestLast<CR>
nmap <silent> t<C-g> :TestVisit<CR>
-" CoC extensions
-"let g:coc_global_extensions = ['coc-tsserver', 'coc-pyright', 'coc-html']
-
-" Coc Use `[g` and `]g` to navigate diagnostics
-" Coc Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
-" nmap <silent> [g <Plug>(coc-diagnostic-prev)
-" nmap <silent> ]g <Plug>(coc-diagnostic-next)
-
-" " CoC GoTo code navigation.
-" nmap <silent> gd <Plug>(coc-definition)
-" nmap <silent> gy <Plug>(coc-type-definition)
-" nmap <silent> gi <Plug>(coc-implementation)
-"
" ALE ale config
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
let g:ale_sign_error = '✘'
@@ -285,25 +264,6 @@ let g:ale_fix_on_save = 1
let g:ale_linters_explicit = 0
nmap <silent> gr <Plug>(coc-references)
-" Use K to show documentation in preview window.
-"nnoremap <silent> K :call <SID>show_documentation()<CR>
-
-" function! s:show_documentation()
-" if (index(['vim','help'], &filetype) >= 0)
-" execute 'h '.expand('<cword>')
-" elseif (coc#rpc#ready())
-" call CocActionAsync('doHover')
-" else
-" execute '!' . &keywordprg . " " . expand('<cword>')
-" endif
-" endfunction
-"
-"" Quick Editing vimrc
-nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
-
-" Highlight the symbol and its references when holding the cursor.
-" autocmd CursorHold * silent call CocActionAsync('highlight')
-
" clear search highlights
nnoremap <leader><space> :noh<cr>:call clearmatches()<cr>
@@ -447,42 +407,9 @@ command! -bang -nargs=* Rg
nnoremap <C-p>a :Rg
-" from https://www.youtube.com/watch?v=E_rbfQqrm7g
-" easier copy and pasting to and from external in vim!
-" this copies to clipboard and primary selection
-vn remap <C-c> "*y let @+=@*<CR>
-" make sure you are in normal mode for this to work, I think.
-"map <C-v> "+P
-
"" Quick Editing vimrc
nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr>
-" dracula (must be set before colorscheme)
-"let g:dracula_colorterm = 0
-"let g:dracula_bold = 1
-"let g:dracula_italic = 0 " this has to be set to 0 to avoid lots of erroneous highlighting (https://github.com/dracula/vim/issues/219)
-"let g:dracula_underline = 1
-
-
-" Colorscheme
-
-"" this stuff from https://github.com/morhetz/gruvbox/wiki/Terminal-specific
-""Use e 24-bit (true-color) mode in Vim/Neovim when outside tmux.
-""If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
-""(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
-"if (empty($TMUX))
-" if (has("nvim"))
-" "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
-" let $NVIM_TUI_ENABLE_TRUE_COLOR=1
-" endif
-" "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
-" "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
-" " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
-" if (has("termguicolors"))
-" set termguicolors
-" endif
-"endif
-
syntax enable
let g:solarized_termcolors=256