From 701f716f364b8f4a4d9092629a7f0d5f2d27a6d0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 11 Dec 2022 22:01:53 +0900 Subject: neovim: remote unused plugins --- .config/nvim/lua/plugins.lua | 77 -------------------------------------------- 1 file changed, 77 deletions(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 07e350b..5f3254f 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -119,28 +119,6 @@ packer.startup(function(use) vim.keymap.set('x', '', '(operator-replace)') end, } - -- Reverse text. - use { - 'tyru/operator-reverse.vim', - } - -- Search in a specific region. - use { - 'osyo-manga/vim-operator-search', - config = function() - -- Note: m/ is the prefix of comment out. - vim.keymap.set('n', 'm?', '(operator-search)') - vim.keymap.set('o', 'm?', '(operator-search)') - vim.keymap.set('x', 'm?', '(operator-search)') - end, - } - -- Shiffle text. - use { - 'pekepeke/vim-operator-shuffle', - } - -- Sort text characterwise and linewise. - use { - 'emonkak/vim-operator-sort', - } -- Super surround. use { 'machakann/vim-sandwich', @@ -209,65 +187,10 @@ packer.startup(function(use) use { 'thinca/vim-textobj-comment', } - -- Text object for continuous line. - use { - 'rhysd/vim-textobj-continuous-line', - config = function() - local vimrc = require('vimrc') - - vim.g.textobj_continuous_line_no_default_key_mappings = true - - vim.keymap.set('o', 'aL', '(textobj-continuous-cpp-a)') - vim.keymap.set('x', 'aL', '(textobj-continuous-cpp-a)') - vim.keymap.set('o', 'iL', '(textobj-continuous-cpp-i)') - vim.keymap.set('x', 'iL', '(textobj-continuous-cpp-i)') - - vimrc.autocmd('FileType', { - pattern = 'vim', - command = 'omap aL (textobj-continuous-vim-a)', - }) - vimrc.autocmd('FileType', { - pattern = 'vim', - command = 'xmap aL (textobj-continuous-vim-a)', - }) - vimrc.autocmd('FileType', { - pattern = 'vim', - command = 'omap iL (textobj-continuous-vim-i)', - }) - vimrc.autocmd('FileType', { - pattern = 'vim', - command = 'xmap iL (textobj-continuous-vim-i)', - }) - end, - } - -- Text object for function. - use { - 'kana/vim-textobj-function', - } -- Text object for indent. use { 'kana/vim-textobj-indent', } - -- Text object for last inserted text. - use { - 'rhysd/vim-textobj-lastinserted', - } - -- Text object for last pasted text. - use { - 'gilligan/textobj-lastpaste', - config = function() - vim.g.textobj_lastpaste_no_default_key_mappings = true - - vim.keymap.set('o', 'iP', '(textobj-lastpaste-i)') - vim.keymap.set('x', 'iP', '(textobj-lastpaste-i)') - vim.keymap.set('o', 'aP', '(textobj-lastpaste-a)') - vim.keymap.set('x', 'aP', '(textobj-lastpaste-a)') - end, - } - -- Text object for last searched pattern. - use { - 'kana/vim-textobj-lastpat', - } -- Text object for line. use { 'kana/vim-textobj-line', -- cgit v1.2.3-70-g09d2