nvim: Remove ctrlsf and thesaurus_query

Removed the two plugins since I *never* used them in months.
Improved startup slightly by conditionally loading some filetype and
command plugins.
This commit is contained in:
Marty Oehme 2021-11-16 12:03:12 +01:00
parent e617d4ae1e
commit 9fd0ab9b91
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 31 additions and 23 deletions

View file

@ -175,10 +175,6 @@ vim.g.nv_fzf_binds = {
map.n.nore['<leader>n'] = ':NV<cr>'
map.n.nore['<leader>N'] = ':NV!<cr>'
-- PLUGIN: CtrlSF
-- (non-fuzzy) search in wiki with ctrlsf, in fullscreen window
map.n.nore['<leader>wf'] = ':call SearchNotes()<cr>'
-- Mostly dealing with Prose writing from here on out
-- Format current Paragraph (esp useful in prose writing)
map.n.nore.silent['<localleader>q'] = 'gqap'

View file

@ -34,16 +34,19 @@ require("packer").startup(function()
use {
'lewis6991/gitsigns.nvim', -- show vcs changes on left-hand gutter
requires = {'nvim-lua/plenary.nvim'},
tag = 'release',
config = function() require('gitsigns').setup() end,
event = "BufRead"
}
use {
'norcalli/nvim-colorizer.lua', -- color hex, named colors in the correct preview scheme
config = function() require('colorizer').setup() end
config = function() require('colorizer').setup() end,
event = "BufRead"
}
use {
'mhartington/formatter.nvim', -- auto formatting on save
config = function() require('plug._format') end
config = function() require('plug._format') end,
event = "BufRead"
}
-- editing
@ -57,25 +60,36 @@ require("packer").startup(function()
linear = {{"'", "'"}, {'"', '"'}, {'*', '*'}, {'`', '`'}}
}
require('surround').setup {}
end
end,
event = "BufRead"
}
use {
'monaqa/dial.nvim', -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers
event = "BufRead"
}
use {
'tommcdo/vim-exchange', -- adds exchange operator with cx. common use: cxiw . on 2 words to switch
event = "BufRead"
}
use 'monaqa/dial.nvim' -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers
use 'tommcdo/vim-exchange' -- adds exchange operator with cx. common use: cxiw . on 2 words to switch
use {
'windwp/nvim-autopairs',
config = function() require('plug._autopair') end
config = function() require('plug._autopair') end,
event = "BufRead"
} -- Auto close brackets and ''
use 'junegunn/vim-easy-align' -- Align tables and other alignable things
use "tversteeg/registers.nvim" -- Show the contents of regiseters on pasting from '', @, <C-R>
use {
'junegunn/vim-easy-align', -- Align tables and other alignable things
event = "BufRead"
}
use {
'tversteeg/registers.nvim', -- Show the contents of regiseters on pasting from '', @, <C-R>
event = "BufRead"
}
use { -- highlight where the cursor jumps to
'edluffy/specs.nvim',
config = function() require('specs').setup {} end
config = function() require('specs').setup {} end,
event = "BufRead"
}
-- linting
-- use 'desmap/ale-sensible'
-- use 'w0rp/ale' -- asynchronous linting - might be superseded by lsp or coc.nvim at some point
-- colorschemes
use 'norcalli/nvim-base16.lua'
@ -87,10 +101,9 @@ require("packer").startup(function()
}
-- writing
use 'vim-pandoc/vim-pandoc-syntax'
use 'vim-pandoc/vim-pandoc'
use {'vim-pandoc/vim-pandoc-syntax', ft = 'pandoc'}
use {'vim-pandoc/vim-pandoc', ft = 'pandoc'}
use 'micarmst/vim-spellsync' -- personal dict improvements for git sync
use 'ron89/thesaurus_query.vim' -- find thesaurus backed synonyms for word under cursor
use { -- provide distraction free writing
'Pocco81/TrueZen.nvim',
config = function()
@ -104,12 +117,11 @@ require("packer").startup(function()
})
end
}
use 'junegunn/limelight.vim' -- provide even distraction free-er writing (lowlight paragraphs)
use 'dyng/ctrlsf.vim' -- search-and-edit of many wiki files at once
use {'junegunn/limelight.vim', event = 'BufRead'} -- provide even distraction free-er writing (lowlight paragraphs)
use 'alok/notational-fzf-vim' -- quickly search through the wiki
-- languages
use 'euclidianAce/BetterLua.vim' -- better syntax highlighting for lua
use {'euclidianAce/BetterLua.vim', ft = 'lua'} -- better syntax highlighting for lua
--
-- nvim plugs