From 82477203f36fb6554633cf11411a907eb0219827 Mon Sep 17 00:00:00 2001 From: whitestarrain <55945266+whitestarrain@users.noreply.github.com> Date: Sat, 15 Oct 2022 22:21:15 +0800 Subject: [PATCH] =?UTF-8?q?lualine=20git=E5=9B=BE=E6=A0=87=E4=BF=AE?= =?UTF-8?q?=E6=94=B9&bullet=20map=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/plugs/bullets.vim | 3 +++ nvim/plugs/ui/lualine.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/plugs/bullets.vim b/nvim/plugs/bullets.vim index 3e63ab2d..24c88739 100644 --- a/nvim/plugs/bullets.vim +++ b/nvim/plugs/bullets.vim @@ -7,6 +7,9 @@ let g:bullets_enabled_file_types = [ " 禁用默认mapping let g:bullets_set_mappings = 0 +" https://stackoverflow.com/questions/598113/can-terminals-detect-shift-enter-or-control-enter +" in windows terminal is let g:bullets_custom_mappings = [ \ ['imap', '', '(bullets-newline)'], + \ ['imap', '', '(bullets-newline)'], \ ] diff --git a/nvim/plugs/ui/lualine.lua b/nvim/plugs/ui/lualine.lua index fae7acab..6197f270 100644 --- a/nvim/plugs/ui/lualine.lua +++ b/nvim/plugs/ui/lualine.lua @@ -108,7 +108,7 @@ require("au")["User LoadPluginConfig"] = function() { "diff", colored = true, -- Displays a colored diff status if set to true - symbols = { added = "  ", modified = " 柳", removed = "  " }, -- Changes the symbols used by the diff. + symbols = { added = "  ", modified = " ", removed = " " }, -- Changes the symbols used by the diff. source = get_hunks_data, separator = { left = nil, right = nil }, cond = conditions.hide_in_width,