From 22ce8a88aa960bd2362c5ce0afb650ccdffefff2 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sun, 10 Jul 2022 20:53:38 +0200 Subject: [PATCH] stop formatting on save, add hotkey for project search --- .config/lvim/config.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/lvim/config.lua b/.config/lvim/config.lua index 5b2c45716..e06891fb4 100644 --- a/.config/lvim/config.lua +++ b/.config/lvim/config.lua @@ -14,6 +14,7 @@ lvim.builtin.treesitter.highlight.enabled = true lvim.lsp.automatic_servers_installation = false vim.g.NERDTreeHijackNetrw = 0 vim.g.lf_replace_netrw = 1 +lvim.format_on_save = false local formatters = require "lvim.lsp.null-ls.formatters" formatters.setup { @@ -123,7 +124,8 @@ lvim.builtin.which_key.mappings = { ["f"] = { require("lvim.core.telescope.custom-finders").find_project_files, "Find File" }, ["h"] = { "nohlsearch", "No Highlight" }, ["e"] = { "Lf", "List Files" }, - b = { + ["P"] = { "Telescope projects", "Projects" }, + b = { name = "Buffers", j = { "BufferLinePick", "Jump" }, f = { "Telescope buffers", "Find" }, @@ -149,7 +151,7 @@ lvim.builtin.which_key.mappings = { "Sort by language", }, }, - p = { + p = { name = "Packer", c = { "PackerCompile", "Compile" }, i = { "PackerInstall", "Install" },