This commit is contained in:
Klesh Wong 2020-07-13 16:47:59 +08:00
parent 6ef2505d71
commit b27a118c08
7 changed files with 31 additions and 4 deletions

View File

@ -58,7 +58,7 @@ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
if [ -n "$_flag_c" ] if [ -n "$_flag_c" ]
link-dotfile xinitrc link-dotfile xinitrc
link-dotfile Xresources link-dotfile Xresources
link-dotfile Xmodmap #link-dotfile Xmodmap
# set zathura as default pdf viewer # set zathura as default pdf viewer
xdg-mime default org.pwmt.zathura.desktop application/pdf xdg-mime default org.pwmt.zathura.desktop application/pdf

View File

@ -0,0 +1,21 @@
output DP-1
off
output DP-2
off
output HDMI-2
off
output DP-3
off
output HDMI-3
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 60.01
output HDMI-1
crtc 1
mode 1920x1080
pos 1920x0
rate 60.00

View File

@ -0,0 +1,2 @@
HDMI-1 00ffffffffffff0010aca4a04c4333310c1b010380351e78ee7e75a755529c270f5054a54b00714f8180a9c0a940d1c0010101010101023a801871382d40582c45000f282100001e000000ff00474e36345637334e3133434c0a000000fc0044454c4c205532343134480a20000000fd00384c1e5311000a202020202020018f02031ff14c9005040302071601141f12132309070765030c00100083010000023a801871382d40582c45000f282100001e011d8018711c1620582c25000f282100009e011d007251d01e206e2855000f282100001e8c0ad08a20e02d10103e96000f282100001800000000000000000000000000000000000000000000000037
eDP-1 00ffffffffffff000daeb114000000000c190104951f117802ff35925552952925505400000001010101010101010101010101010101b43b804a71383440503c680034ad10000018000000fe004e3134304843452d4541410a20000000fe00434d4e0a202020202020202020000000fe004e3134304843452d4541410a2000a2

View File

@ -96,6 +96,7 @@ Plug 'scrooloose/nerdcommenter'
Plug 'ctrlpvim/ctrlp.vim' Plug 'ctrlpvim/ctrlp.vim'
Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(GrepperOperator)'] } Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(GrepperOperator)'] }
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'dag/vim-fish'
call plug#end() call plug#end()
@ -117,6 +118,7 @@ nmap <silent> <leader>cl :CocList<CR>
nmap <silent> <leader>sd :call CocAction('doHover')<CR> nmap <silent> <leader>sd :call CocAction('doHover')<CR>
nmap <silent> <leader>ss :syntax sync fromstart<CR> nmap <silent> <leader>ss :syntax sync fromstart<CR>
nmap <silent> <leader>ol <Plug>(coc-openlink) nmap <silent> <leader>ol <Plug>(coc-openlink)
nmap <silent> <leader>ap :call AutoPairsToggle()<CR>
nnoremap <leader>sg :Grepper -tool git<CR> nnoremap <leader>sg :Grepper -tool git<CR>
nnoremap <leader>sc :Grepper -tool grep<CR> nnoremap <leader>sc :Grepper -tool grep<CR>
@ -127,6 +129,7 @@ nnoremap <leader>gc :Gcommit<CR>
nnoremap <leader>gp :Gpush<CR> nnoremap <leader>gp :Gpush<CR>
nnoremap <leader>gg :Gpull<CR> nnoremap <leader>gg :Gpull<CR>
nnoremap <leader>gd :Gdiff<CR> nnoremap <leader>gd :Gdiff<CR>
nnoremap <leader>gb :Gblame<CR>
" ==== ctrlp configuration ==== " ==== ctrlp configuration ====
let g:ctrlp_user_command = ['.git', 'git ls-files -co --exclude-standard'] let g:ctrlp_user_command = ['.git', 'git ls-files -co --exclude-standard']

View File

@ -2,7 +2,7 @@
set -e set -e
sudo apt install libevent-dev libncurses5-dev -y sudo apt install libevent-dev libncurses5-dev bison -y
TMUX_VER=3.1b TMUX_VER=3.1b
#curl -L https://github.com/tmux/tmux/releases/download/$TMUX_VER/tmux-$TMUX_VER.tar.gz -o /tmp/tmux.tar.gz #curl -L https://github.com/tmux/tmux/releases/download/$TMUX_VER/tmux-$TMUX_VER.tar.gz -o /tmp/tmux.tar.gz

View File

@ -4,6 +4,6 @@ set -e
sudo add-apt-repository ppa:jonathonf/vim -y sudo add-apt-repository ppa:jonathonf/vim -y
sudo add-apt-repository ppa:neovim-ppa/stable -y sudo add-apt-repository ppa:neovim-ppa/stable -y
#sudo apt update sudo apt update
sudo apt install -y vim sudo apt install -y vim
sudo apt install -y neovim sudo apt install -y neovim

View File

@ -1,4 +1,3 @@
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial main deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial main
@ -7,10 +6,12 @@ deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial universe deb http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe