Skip to content

Commit 1f789f5

Browse files
committed
update .tmux.conf and README.md
1 parent f84cad9 commit 1f789f5

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Vimrc
22

3+
Requirements: vim 8.2.4919
4+
35
Ubuntu22.04下安装`sudo apt install vim-gtk3`
46

57
Vim编译选项
@@ -14,10 +16,10 @@ docker build -t myvim:1 .
1416
## 初始化
1517

1618
```sh
17-
ln -s vimrc/root/.vimrc .vimrc
18-
ln -s vimrc/root/vimrc.d vimrc.d
19-
ln -s vimrc/root/.vim .vim
20-
source vimrc/root/bashrc
19+
ln -s vimrc/root/.vimrc ~/.vimrc
20+
ln -s vimrc/root/vimrc.d ~/.vimrc.d
21+
ln -s vimrc/root/.vim ~/.vim
22+
echo 'source vimrc/root/bashrc' >> ~/.bashrc
2123
```
2224

2325
## 其它命令行工具

root/.tmux.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
set-window-option -g mode-keys vi # tmux2.1+
22
# setw -g mode-keys vi # tmux1.8
3+
set -g default-terminal "screen-256color"
4+
# sane scrolling
5+
set -g mouse on

root/vimrc.d/latex.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
" usage: vim hello.tex world.tex --servername TEX
2-
" inverse-search fearure requires +clientserver"
2+
" Requirement: inverse-search fearure requires +clientserver"
33
"
44
" sudo apt install texlive-latex-extra texlive-science latexmk xdotool
55
" :CocInstall coc-vimtex

0 commit comments

Comments
 (0)