From 968d4ea400651b48672390956ae856a9f62deba0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 23 Feb 2012 00:01:05 +0100 Subject: [PATCH] vim: Add "set ruler" option to configuration file. This will show a small line at the bottom which displays the current cursor position and more. References bug #10021. --- lfs/vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/vim b/lfs/vim index a018dc1c4e..3935d33516 100644 --- a/lfs/vim +++ b/lfs/vim @@ -79,9 +79,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) ln -sv vim /usr/bin/vi echo "set nocompatible" > /etc/vimrc echo "set backspace=2" >> /etc/vimrc + echo "set ruler" >> /etc/vimrc echo "syntax on" >> /etc/vimrc echo -e "if (&term == \"iterm\") || (&term == \"putty\")" >> /etc/vimrc - echo "set background=dark" >> /etc/vimrc + echo " set background=dark" >> /etc/vimrc echo "endif" >> /etc/vimrc @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.39.5