From 5aff46595aa940ac45da8b33a3e6ebc2e349fd4b Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 24 Apr 2021 15:58:23 +0200 Subject: [PATCH] update keymaps and statusline --- nvim/lua/maps.lua | 3 +++ nvim/lua/statusline.lua | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nvim/lua/maps.lua b/nvim/lua/maps.lua index 3fe7ac0..a49e3dd 100644 --- a/nvim/lua/maps.lua +++ b/nvim/lua/maps.lua @@ -42,3 +42,6 @@ map("n", "cr", ":call CocActionAsync(\'format\')", { silent = true }) -- Use to trigger completion. map("i", "", "coc#refresh()", { silent = true, expr = true }) +-- Use cd to jump to next diagnostic +map("n", "cd", "(coc-diagnostic-next)", { silent = true }) + diff --git a/nvim/lua/statusline.lua b/nvim/lua/statusline.lua index b56f9f5..32c7976 100644 --- a/nvim/lua/statusline.lua +++ b/nvim/lua/statusline.lua @@ -322,13 +322,11 @@ gls.right[4] = { gls.right[5] = { PerCent = { provider = "LinePercent", - separator = " ", - separator_highlight = {colors.darkblue, colors.darkblue}, highlight = {colors.cyan, colors.darkblue, "bold"} } } -gls.right[4] = { +gls.right[6] = { ScrollBar = { provider = 'ScrollBar', highlight = {colors.blue,colors.purple},