update nvim config

This commit is contained in:
LordMZTE 2022-10-25 21:28:38 +02:00
parent 09511d8d92
commit 3a5991531b
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 4 additions and 8 deletions

View file

@ -17,6 +17,10 @@ map("n", "*y", '"*y', opts)
map("n", "*p", '"*p', opts)
map("n", "*d", '"*d', opts)
-- Vimgrep
map("n", "<F4>", "<cmd>:cnext<CR>", opts)
map("n", "<S-F4>", "<cmd>:cprevious<CR>", opts)
-- See `:help vim.lsp.*` for documentation on any of the below functions
map("n", "gd", "<cmd>lua vim.lsp.buf.definition()<CR>", opts)
map("n", "K", "<cmd>lua vim.lsp.buf.hover()<CR>", opts)

View file

@ -1,3 +0,0 @@
local g = vim.g
g.markdown_composer_syntax_theme = "dracula"
g.markdown_composer_autostart = not vim.g.started_by_vinput;

View file

@ -81,11 +81,6 @@ return require("packer").startup(function(use)
run = ":TSUpdateSync",
config = pconf "treesitter",
}
use {
"euclio/vim-markdown-composer",
run = "cargo build --release",
config = pconf "markdowncomposer",
}
use "kyazdani42/nvim-web-devicons"