diff --git a/dot_Xmodmap b/dot_Xmodmap index 2efaa1c..d1a38c5 100644 --- a/dot_Xmodmap +++ b/dot_Xmodmap @@ -2,3 +2,6 @@ clear Lock keycode 22 = Caps_Lock 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 diff --git a/dot_tmux.conf b/dot_tmux.conf index c104df3..a41ec58 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -21,6 +21,7 @@ bind v split-window -v is_vim="ps -o state= -o comm= -t '#{pane_tty}' \ | 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-n next-window -bind-key -n C-S-[ swap-window -t -1 -bind-key -n C-S-] swap-window -t +1 +bind-key -n C-Left swap-window -t -1 +bind-key -n C-Right swap-window -t +1 # }}} windows # diff --git a/dot_vimrc.tmpl b/dot_vimrc.tmpl index 0c6cf9f..2be18d0 100644 --- a/dot_vimrc.tmpl +++ b/dot_vimrc.tmpl @@ -1,5 +1,3 @@ -" vim: fdm=marker ft=vim.go-template - " set x=y [[[ " set autoindent @@ -69,7 +67,7 @@ autocmd Filetype markdown inoremap < < >>A 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 json nnoremap j :%!python -m json.tool autocmd Filetype json set foldmethod=marker @@ -465,6 +463,7 @@ autocmd Filetype tex inoremap ep \epsilon autocmd Filetype tex inoremap fa \forall autocmd Filetype tex inoremap g \geq autocmd Filetype tex inoremap i \in +autocmd Filetype tex inoremap la \leftarrow autocmd Filetype tex inoremap le \leq autocmd Filetype tex inoremap ln \log n autocmd Filetype tex inoremap lr \Leftrightarrow @@ -516,3 +515,5 @@ autocmd Filetype python inoremap bp breakpoint() autocmd Filetype python inoremap s self. " ]]] Local Mappings " + +" vim: fdm=marker ft=vim.go-template diff --git a/key_aliases.tmpl b/key_aliases.tmpl index d573f3e..db6d432 100644 --- a/key_aliases.tmpl +++ b/key_aliases.tmpl @@ -13,7 +13,7 @@ ru "xrdb ~/.Xresources" duh "sudo du -d 1 -h --apparent-size | sort -hr" dum "sudo du -d 1 -m --apparent-size | sort -hr" 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}'" {{ if eq .chezmoi.fullHostname "x1-carbon" }} @@ -240,7 +240,8 @@ sn "sudo nvim" # sw "swex" t "tmux" ta "tmux a" -tls "tmux ls" +tl "tmux ls" +tn "tmux new -s" vmd "vimdiff" wg "wego" wp "grep wallpaper ~/.cache/wal/colors.sh" @@ -538,10 +539,10 @@ jc "javac -d out *.java" jr "java -cp \"$CLASSPATH:out\"" # 263 -wl6 "watson log --all --project=263 --tag=a3" -wr6 "watson report --all --project=263 --tag=a3" +wl6 "watson log --all --project=263 --tag=a4" +wr6 "watson report --all --project=263 --tag=a4" z6 "zathura --fork ~/school/263/Introduction-to-Algorithms-CLRs/Introduction\ to\ Algorithms\ -\ 3rd\ Edition.pdf" -pd3 "pdflatex a3" +pd6 "pdflatex a4" # ]]] school # diff --git a/key_files.tmpl b/key_files.tmpl index 7162fdd..b4d1617 100644 --- a/key_files.tmpl +++ b/key_files.tmpl @@ -13,7 +13,7 @@ r ~/linux-config/dot_config/ranger/rc.conf.tmpl sr ~/linux-config/configs/ranger/shortcuts.conf ss ~/.shortcuts st ~/st/config.def.h -t ~/linux-config/dot_tmux.conf.tmpl +t ~/linux-config/dot_tmux.conf u ~/linux-config/dot_Xresources.tmpl v ~/linux-config/dot_vimrc.tmpl x ~/linux-config/dot_config/fish/config.fish.tmpl