Skip to content

Commit

Permalink
update .tmux.conf and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Feb 9, 2023
1 parent f84cad9 commit 1f789f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Vimrc

Requirements: vim 8.2.4919

Ubuntu22.04下安装`sudo apt install vim-gtk3`

Vim编译选项
Expand All @@ -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
```

## 其它命令行工具
Expand Down
3 changes: 3 additions & 0 deletions root/.tmux.conf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion root/vimrc.d/latex.vim
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1f789f5

Please sign in to comment.