diff --git a/config/rootfiles/common/vim b/config/rootfiles/common/vim index d6681fbd2..ad11dda31 100644 --- a/config/rootfiles/common/vim +++ b/config/rootfiles/common/vim @@ -1,4 +1,5 @@ etc/vimrc +root/.vimrc usr/bin/ex usr/bin/rview usr/bin/rvim diff --git a/config/vim/.vimrc b/config/vim/.vimrc new file mode 100644 index 000000000..0f457dbf4 --- /dev/null +++ b/config/vim/.vimrc @@ -0,0 +1 @@ +set mouse-=a diff --git a/lfs/vim b/lfs/vim index e40c511cf..5f1527bc9 100644 --- a/lfs/vim +++ b/lfs/vim @@ -83,8 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) ln -svf vim /usr/bin/vi install -m 644 $(DIR_SRC)/config/vim/vimrc /etc/vimrc - touch /root/.vimrc - echo "set mouse-=a" >> /root/.vimrc + install -m 644 $(DIR_SRC)/config/vim/.vimrc /root/.vimrc @rm -rf $(DIR_APP) @$(POSTBUILD)