From b9c6d426220abb93a05755402b81d3c87fe73210 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 13 Jan 2023 19:12:00 +0100 Subject: Change emojis --- vim/.vim/after/plugin/status.vim | 5 ++++- vim/.vimrc | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/.vim/after/plugin/status.vim b/vim/.vim/after/plugin/status.vim index 05acb6e..efa7eb3 100644 --- a/vim/.vim/after/plugin/status.vim +++ b/vim/.vim/after/plugin/status.vim @@ -28,6 +28,9 @@ function! WinCwd() return "" endfunction +let g:active_window=1 +autocmd WinEnter * let g:active_window=winnr() + augroup myflags let status_line_bg = synIDattr(hlID("StatusLine"), "fg") let status_line_fg = synIDattr(hlID("StatusLine"), "bg") @@ -41,6 +44,6 @@ augroup myflags autocmd User Flags call Hoist("buffer", "%{b:trailing?'[tw]':''}") autocmd User Flags call Hoist("buffer", "%{b:mixed?'[mixed]':''}") autocmd User Flags call Hoist("buffer", "%{&paste?'[paste]':''}") - autocmd User Flags call Hoist("window", "%{WinCwd() != '' ? '['.WinCwd().']' : ''} 🌻") + autocmd User Flags call Hoist("window", "%{WinCwd() != '' ? '['.WinCwd().']' : ''} %{winnr() == g:active_window ? '🐺' : ''}") autocmd User Flags call Hoist("global", {"hl": "MyGlobals"}, "[%{pathshorten(GlobalCwd())}, %{g:my_searchprgs[g:my_searchprg]}, %{g:my_findprgs[g:my_findprg]}] 🌿") augroup END diff --git a/vim/.vimrc b/vim/.vimrc index 91ef1ab..d83296a 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -163,11 +163,11 @@ let g:neomake_gcc_args=[ let g:neomake_python_enabled_makers = ['python', 'pylint'] let g:neomake_error_sign = { - \ 'text': '🍁', + \ 'text': '🔸', \ 'texthl': 'NeomakeErrorSign', \ } let g:neomake_warning_sign = { - \ 'text': '💦', + \ 'text': '🔹', \ 'texthl': 'NeomakeWarningSign', \ } -- cgit v1.2.3