From a387db0934d5fabb02a69f459c068f906fdc6b51 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:57:14 +0200 Subject: Enabling powerline. Signed-off-by: Daniel Baumann --- debian/local/vimrc.d/powerline.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/local/vimrc.d/powerline.vim (limited to 'debian') diff --git a/debian/local/vimrc.d/powerline.vim b/debian/local/vimrc.d/powerline.vim new file mode 100644 index 0000000..eaf6035 --- /dev/null +++ b/debian/local/vimrc.d/powerline.vim @@ -0,0 +1,11 @@ +" /etc/vim/vimrc.d/powerline.vim + +if filereadable("/usr/lib/python3/dist-packages/powerline/vim.py") && has('python3') + python3 from powerline.vim import setup as powerline_setup + python3 powerline_setup() + python3 del powerline_setup + + set laststatus=2 + set noshowmode + set showtabline=2 +endif -- cgit v1.2.3