From 1f789f5a2e7fe8eb4a1d1a3113d3180a03a29c9e Mon Sep 17 00:00:00 2001 From: jiangyinzuo <392711804@qq.com> Date: Thu, 9 Feb 2023 16:01:37 +0800 Subject: [PATCH] update .tmux.conf and README.md --- README.md | 10 ++++++---- root/.tmux.conf | 3 +++ root/vimrc.d/latex.vim | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 775271f..3de80a1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Vimrc +Requirements: vim 8.2.4919 + Ubuntu22.04下安装`sudo apt install vim-gtk3` Vim编译选项 @@ -14,10 +16,10 @@ docker build -t myvim:1 . ## 初始化 ```sh -ln -s vimrc/root/.vimrc .vimrc -ln -s vimrc/root/vimrc.d vimrc.d -ln -s vimrc/root/.vim .vim -source vimrc/root/bashrc +ln -s vimrc/root/.vimrc ~/.vimrc +ln -s vimrc/root/vimrc.d ~/.vimrc.d +ln -s vimrc/root/.vim ~/.vim +echo 'source vimrc/root/bashrc' >> ~/.bashrc ``` ## 其它命令行工具 diff --git a/root/.tmux.conf b/root/.tmux.conf index d809484..cc063a7 100644 --- a/root/.tmux.conf +++ b/root/.tmux.conf @@ -1,2 +1,5 @@ set-window-option -g mode-keys vi # tmux2.1+ # setw -g mode-keys vi # tmux1.8 +set -g default-terminal "screen-256color" +# sane scrolling +set -g mouse on diff --git a/root/vimrc.d/latex.vim b/root/vimrc.d/latex.vim index d7c29a5..84f5268 100644 --- a/root/vimrc.d/latex.vim +++ b/root/vimrc.d/latex.vim @@ -1,5 +1,5 @@ " usage: vim hello.tex world.tex --servername TEX -" inverse-search fearure requires +clientserver" +" Requirement: inverse-search fearure requires +clientserver" " " sudo apt install texlive-latex-extra texlive-science latexmk xdotool " :CocInstall coc-vimtex