diff --git a/lua/plugin_specs.lua b/lua/plugin_specs.lua index d202524..7f4281f 100644 --- a/lua/plugin_specs.lua +++ b/lua/plugin_specs.lua @@ -115,18 +115,7 @@ local plugin_specs = { -- optional for icon support dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() - require("fzf-lua").setup { - winopts = { - row = 0.5, - height = 0.7, - }, - } - - vim.keymap.set("n", "ff", "FzfLua files", { desc = "Fuzzy find files" }) - vim.keymap.set("n", "fg", "FzfLua live_grep", { desc = "Fuzzy grep files" }) - vim.keymap.set("n", "fh", "FzfLua helptags", { desc = "Fuzzy grep tags in help files" }) - vim.keymap.set("n", "ft", "FzfLua btags", { desc = "Fuzzy search buffer tags" }) - vim.keymap.set("n", "fb", "FzfLua buffers", { desc = "Fuzzy search opened buffers" }) + require("config.fzf-lua") end, }, { @@ -347,9 +336,6 @@ local plugin_specs = { end, }, - -- Another markdown plugin - -- { "preservim/vim-markdown", ft = { "markdown" } }, - -- Faster footnote generation { "vim-pandoc/vim-markdownfootnotes", ft = { "markdown" } }, diff --git a/viml_conf/plugins.vim b/viml_conf/plugins.vim index cbf8ec4..70a7446 100644 --- a/viml_conf/plugins.vim +++ b/viml_conf/plugins.vim @@ -72,25 +72,6 @@ let g:neoformat_c_clangformat = { let g:neoformat_enabled_cpp = ['clangformat'] let g:neoformat_enabled_c = ['clangformat'] -"""""""""""""""""""""""""vim-markdown settings""""""""""""""""""" -" Disable header folding -let g:vim_markdown_folding_disabled = 1 - -" Whether to use conceal feature in markdown -let g:vim_markdown_conceal = 1 - -" Disable math tex conceal and syntax highlight -let g:tex_conceal = '' -let g:vim_markdown_math = 0 - -" Support front matter of various format -let g:vim_markdown_frontmatter = 1 " for YAML format -let g:vim_markdown_toml_frontmatter = 1 " for TOML format -let g:vim_markdown_json_frontmatter = 1 " for JSON format - -" Let the TOC window autofit so that it doesn't take too much space -let g:vim_markdown_toc_autofit = 1 - """""""""""""""""""""""""markdown-preview settings""""""""""""""""""" " Only setting this for suitable platforms if g:is_win || g:is_mac