From e5ccbd3ad6d4da2f250fb878ffa2fe72261cf6f3 Mon Sep 17 00:00:00 2001 From: PowerUser64 <blakelysnorth@gmail.com> Date: Wed, 13 Jul 2022 18:07:07 -0700 Subject: [PATCH] nvim: add vim-sort-motion and vissort.vim --- .config/nvim/lua/blake/plugins.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index 1ee46f2..280dc30 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -257,6 +257,16 @@ return require('packer').startup({function() -- } -- Conveniences + use { -- sort motion (gs) + 'christoomey/vim-sort-motion', + config = function() + vim.cmd [[ + "let g:sort_motion_flags = 'i' + let g:sort_motion_visual_block_command = 'Vissort' + ]] + end, + requires = 'navicore/vissort.vim', -- config requires + } use { -- Ghost: Web browser integration 'raghur/vim-ghost', opt = true, @@ -298,7 +308,8 @@ return require('packer').startup({function() -- map_c_h = true, -- map_c_w = true, }) - end + end, + requires = 'hrsh7th/nvim-cmp', -- config requires } use { -- ts-autotag: automatically close html tags 'windwp/nvim-ts-autotag',