Disable vim automatic visual mode on mouse select

when mouse select, vim automatically turns into
visual mode, this is not convienent when copy
and paste in vim with mouse select.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-03-14 20:12:06 +00:00
parent 968fd0ca40
commit baf1d4a604

View File

@@ -83,6 +83,8 @@ $(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
@rm -rf $(DIR_APP)
@$(POSTBUILD)