commit cd820ec9eb56d536202cc3ed3db0fdedd4092474
parent c244637a62d4ecd5bb8b28072b47128758ce7506
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 30 Apr 2022 13:52:11 +0200
vim: removed some plugins that I don't use
Honestly if I need custom text objects, it's easy enough to create
them with Vim's features.
Diffstat:
M | vim/vimrc | | | 35 | ----------------------------------- |
1 file changed, 0 insertions(+), 35 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -154,17 +154,6 @@ Plug 'skanehira/gh.vim'
" Minesweeper
Plug 'iqxd/vim-mine-sweeping'
-" Easier text object definition
-Plug 'kana/vim-textobj-user'
-let installed_textobjs = {
- \ 'deathlyfrantic/vim-textobj-blanklines': 'a<Space>/i<Space> for groups of blank (only whitespace) lines',
- \ 'kana/vim-textobj-entire': 'ae/ie for the entire region of the current buffer',
- \ 'somini/vim-textobj-fold': 'az/iz for a block of folded lines; iz does not include fold marker lines',
- \ 'kana/vim-textobj-function': 'af/if and aF/iF for a function / extensible for any language',
- \ 'kana/vim-textobj-lastpat': 'a//i/ for a region matched to the last search pattern',
- \ 'kana/vim-textobj-line': 'al/il for the current line' }
-for reponame in keys(installed_textobjs) | Plug reponame | endfor
-
Plug 'dense-analysis/ale'
Plug 'Yggdroot/indentLine', { 'for': 'python' }
@@ -460,30 +449,6 @@ let g:ale_c_clangd_options = '-std=gnu99 -Wall'
let g:ale_c_clangformat_options = '-std=gnu99 -Wall'
let g:ale_c_clangtidy_options = '-std=gnu99 -Wall'
let g:ale_c_clangtidy_extra_options = '-std=gnu99 -Wall'
-" textobj-user {{{3
-call textobj#user#plugin('asterisks', {
-\ '-': {
-\ '*sfile*': expand('<sfile>:p'),
-\ 'select-a': 'a*', '*select-a-function*': 'SelectAAsterisks',
-\ 'select-i': 'i*', '*select-i-function*': 'SelectIAsterisks'
-\ }
-\ })
-
-function! SelectAAsterisks()
- normal! F*
- let end_pos = getpos('.')
- normal! f*
- let start_pos = getpos('.')
- return ['v', start_pos, end_pos]
-endfunction
-
-function! SelectIAsterisks()
- normal! T*
- let end_pos = getpos('.')
- normal! t*
- let start_pos = getpos('.')
- return ['v', start_pos, end_pos]
-endfunction
" indentLine {{{3
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
let g:indentLine_enable = 0 " off by default