summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:43 +0000
commit3c0be8bba605d5e6d787e0c9ec64aa4eac8adfb0 (patch)
treea3b42e3d45c1a7d0d9d0ddbd4f4f820f3d1d7350
parentEnabling noerrorbells. (diff)
downloadvim-3c0be8bba605d5e6d787e0c9ec64aa4eac8adfb0.tar.xz
vim-3c0be8bba605d5e6d787e0c9ec64aa4eac8adfb0.zip
Enabling powerline.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/vimrc.d/powerline.vim11
1 files changed, 11 insertions, 0 deletions
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