return { -- Theme 'rktjmp/lush.nvim', -- tpope extended universe "tpope/vim-abolish", "tpope/vim-commentary", "tpope/vim-endwise", "tpope/vim-repeat", { "kylechui/nvim-surround", config = true }, { "tpope/vim-fugitive", keys = { { "G", ":Git", mode = "n" }, }, }, -- etc. "MarcWeber/vim-addon-local-vimrc", "qpkorr/vim-bufkill", { "almo7aya/openingh.nvim", keys = { { "gh", "V:OpenInGHFile", mode = {"n"} }, { "gh", ":OpenInGHFile", mode = {"v"} }, }, }, { "chrisbra/unicode.vim", lazy = false, dependencies = { "junegunn/fzf", }, keys = { { "", "(UnicodeFuzzy)", mode = "i" }, }, init = function() vim.g.Unicode_no_default_mappings = 1 end, }, { "junegunn/vim-easy-align", keys = { { "ga", "(EasyAlign)", mode = "x" }, { "ga", "(EasyAlign)", mode = "n" }, }, }, { "ntpeters/vim-better-whitespace", init = function() vim.g.better_whitespace_enabled = 1 vim.g.better_whitespace_filetypes_blacklist = { 'diff' } vim.g.strip_whitespace_on_save = 1 vim.g.strip_whitespace_confirm = 0 vim.g.better_whitespace_operator = '' end, }, { "windwp/nvim-autopairs", opts = { map_cr = true, enable_moveright = true, enable_check_bracket_line = false, check_ts = true, }, config = function(_plugin, opts) local npairs = require("nvim-autopairs") local conds = require("nvim-autopairs.conds") npairs.setup(opts) -- Allow Lisp tick-quotes. The non-Rust rule happens to be the -- first one. npairs.get_rules("'")[1].not_filetypes = { "clojure", "lisp", "scheme" } end, }, }