Thumb button middle click, tmux system clipboard
This commit is contained in:
@@ -2,3 +2,6 @@ clear Lock
|
|||||||
|
|
||||||
keycode 22 = Caps_Lock
|
keycode 22 = Caps_Lock
|
||||||
keycode 66 = BackSpace
|
keycode 66 = BackSpace
|
||||||
|
|
||||||
|
pointer = 1 2 3 6 7 8 9 10 11 12 4 5
|
||||||
|
pointer = 1 10 3 6 7 4 5 2 11 12 8 9
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ bind v split-window -v
|
|||||||
|
|
||||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||||
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||||
|
|
||||||
# }}} #
|
# }}} #
|
||||||
|
|
||||||
@@ -53,8 +54,8 @@ bind-key -n M-a command-prompt "rename-window '%%'"
|
|||||||
|
|
||||||
bind-key -n M-p previous-window
|
bind-key -n M-p previous-window
|
||||||
bind-key -n M-n next-window
|
bind-key -n M-n next-window
|
||||||
bind-key -n C-S-[ swap-window -t -1
|
bind-key -n C-Left swap-window -t -1
|
||||||
bind-key -n C-S-] swap-window -t +1
|
bind-key -n C-Right swap-window -t +1
|
||||||
|
|
||||||
# }}} windows #
|
# }}} windows #
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
" vim: fdm=marker ft=vim.go-template
|
|
||||||
|
|
||||||
" set x=y [[[ "
|
" set x=y [[[ "
|
||||||
|
|
||||||
set autoindent
|
set autoindent
|
||||||
@@ -69,7 +67,7 @@ autocmd Filetype markdown inoremap < <Esc><<A
|
|||||||
autocmd Filetype markdown inoremap << <
|
autocmd Filetype markdown inoremap << <
|
||||||
autocmd Filetype markdown inoremap > <Esc>>>A
|
autocmd Filetype markdown inoremap > <Esc>>>A
|
||||||
autocmd Filetype markdown inoremap >> >
|
autocmd Filetype markdown inoremap >> >
|
||||||
autocmd FileType markdown,tex,text set spell spelllang=en_us
|
autocmd FileType markdown,tex,text set spell spelllang=en_us formatoptions=tcqjvaw
|
||||||
autocmd FileType python set fdm=indent
|
autocmd FileType python set fdm=indent
|
||||||
autocmd Filetype json nnoremap <leader>j :%!python -m json.tool<CR>
|
autocmd Filetype json nnoremap <leader>j :%!python -m json.tool<CR>
|
||||||
autocmd Filetype json set foldmethod=marker
|
autocmd Filetype json set foldmethod=marker
|
||||||
@@ -465,6 +463,7 @@ autocmd Filetype tex inoremap <localleader>ep \epsilon
|
|||||||
autocmd Filetype tex inoremap <localleader>fa \forall
|
autocmd Filetype tex inoremap <localleader>fa \forall
|
||||||
autocmd Filetype tex inoremap <localleader>g \geq
|
autocmd Filetype tex inoremap <localleader>g \geq
|
||||||
autocmd Filetype tex inoremap <localleader>i \in
|
autocmd Filetype tex inoremap <localleader>i \in
|
||||||
|
autocmd Filetype tex inoremap <localleader>la \leftarrow
|
||||||
autocmd Filetype tex inoremap <localleader>le \leq
|
autocmd Filetype tex inoremap <localleader>le \leq
|
||||||
autocmd Filetype tex inoremap <localleader>ln \log n
|
autocmd Filetype tex inoremap <localleader>ln \log n
|
||||||
autocmd Filetype tex inoremap <localleader>lr \Leftrightarrow
|
autocmd Filetype tex inoremap <localleader>lr \Leftrightarrow
|
||||||
@@ -516,3 +515,5 @@ autocmd Filetype python inoremap <localleader>bp breakpoint()
|
|||||||
autocmd Filetype python inoremap <localleader>s self.
|
autocmd Filetype python inoremap <localleader>s self.
|
||||||
|
|
||||||
" ]]] Local Mappings "
|
" ]]] Local Mappings "
|
||||||
|
|
||||||
|
" vim: fdm=marker ft=vim.go-template
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ ru "xrdb ~/.Xresources"
|
|||||||
duh "sudo du -d 1 -h --apparent-size | sort -hr"
|
duh "sudo du -d 1 -h --apparent-size | sort -hr"
|
||||||
dum "sudo du -d 1 -m --apparent-size | sort -hr"
|
dum "sudo du -d 1 -m --apparent-size | sort -hr"
|
||||||
m "man"
|
m "man"
|
||||||
tl "tldr"
|
tld "tldr"
|
||||||
|
|
||||||
nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'"
|
nvt "nvidia-settings --assign CurrentMetaMode='DVI-I-1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select +3840+0 {ForceCompositionPipeline=On}'"
|
||||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||||
@@ -240,7 +240,8 @@ sn "sudo nvim"
|
|||||||
# sw "swex"
|
# sw "swex"
|
||||||
t "tmux"
|
t "tmux"
|
||||||
ta "tmux a"
|
ta "tmux a"
|
||||||
tls "tmux ls"
|
tl "tmux ls"
|
||||||
|
tn "tmux new -s"
|
||||||
vmd "vimdiff"
|
vmd "vimdiff"
|
||||||
wg "wego"
|
wg "wego"
|
||||||
wp "grep wallpaper ~/.cache/wal/colors.sh"
|
wp "grep wallpaper ~/.cache/wal/colors.sh"
|
||||||
@@ -538,10 +539,10 @@ jc "javac -d out *.java"
|
|||||||
jr "java -cp \"$CLASSPATH:out\""
|
jr "java -cp \"$CLASSPATH:out\""
|
||||||
|
|
||||||
# 263
|
# 263
|
||||||
wl6 "watson log --all --project=263 --tag=a3"
|
wl6 "watson log --all --project=263 --tag=a4"
|
||||||
wr6 "watson report --all --project=263 --tag=a3"
|
wr6 "watson report --all --project=263 --tag=a4"
|
||||||
z6 "zathura --fork ~/school/263/Introduction-to-Algorithms-CLRs/Introduction\ to\ Algorithms\ -\ 3rd\ Edition.pdf"
|
z6 "zathura --fork ~/school/263/Introduction-to-Algorithms-CLRs/Introduction\ to\ Algorithms\ -\ 3rd\ Edition.pdf"
|
||||||
pd3 "pdflatex a3"
|
pd6 "pdflatex a4"
|
||||||
|
|
||||||
# ]]] school #
|
# ]]] school #
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ r ~/linux-config/dot_config/ranger/rc.conf.tmpl
|
|||||||
sr ~/linux-config/configs/ranger/shortcuts.conf
|
sr ~/linux-config/configs/ranger/shortcuts.conf
|
||||||
ss ~/.shortcuts
|
ss ~/.shortcuts
|
||||||
st ~/st/config.def.h
|
st ~/st/config.def.h
|
||||||
t ~/linux-config/dot_tmux.conf.tmpl
|
t ~/linux-config/dot_tmux.conf
|
||||||
u ~/linux-config/dot_Xresources.tmpl
|
u ~/linux-config/dot_Xresources.tmpl
|
||||||
v ~/linux-config/dot_vimrc.tmpl
|
v ~/linux-config/dot_vimrc.tmpl
|
||||||
x ~/linux-config/dot_config/fish/config.fish.tmpl
|
x ~/linux-config/dot_config/fish/config.fish.tmpl
|
||||||
|
|||||||
Reference in New Issue
Block a user