Vim man script
This commit is contained in:
@@ -109,6 +109,7 @@ abbr grc "grep-c"
|
|||||||
abbr grh "grep-headers"
|
abbr grh "grep-headers"
|
||||||
abbr rgh "rg-headers"
|
abbr rgh "rg-headers"
|
||||||
|
|
||||||
abbr jcp "java-compile-run Percolation"
|
abbr jcr "java-compile-run"
|
||||||
|
abbr jct "java-compile-test"
|
||||||
|
|
||||||
# ]]] school #
|
# ]]] school #
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
function java-compile-run
|
function java-compile-run
|
||||||
# javac -cp .:../algs4.jar $argv[1].java
|
# javac -d out $argv[1].java
|
||||||
# and java -cp .:../algs4.jar $argv[1]
|
javac -d out *.java
|
||||||
javac $argv[1].java
|
and java -cp "$CLASSPATH:out" $argv[1]
|
||||||
and java $argv[1]
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,9 +6,10 @@ exec compton
|
|||||||
exec imwheel
|
exec imwheel
|
||||||
exec numlockx on
|
exec numlockx on
|
||||||
exec xbacklight -set 10
|
exec xbacklight -set 10
|
||||||
exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")"
|
# exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")"
|
||||||
|
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
|
||||||
{{ end }}
|
{{ end }}
|
||||||
# exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
|
exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
|
||||||
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
||||||
|
|
||||||
# ]]] startup #
|
# ]]] startup #
|
||||||
@@ -16,8 +17,8 @@ exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
|||||||
# applications [[[ #
|
# applications [[[ #
|
||||||
|
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
# set $browser "firefox"
|
set $browser "firefox"
|
||||||
set $browser "chromium"
|
# set $browser "chromium"
|
||||||
# set $term st
|
# set $term st
|
||||||
# set $term_alt urxvt
|
# set $term_alt urxvt
|
||||||
set $term urxvt
|
set $term urxvt
|
||||||
@@ -28,7 +29,7 @@ set $sch_dir "$HOME/Documents/School"
|
|||||||
# app shortcuts [[[ #
|
# app shortcuts [[[ #
|
||||||
|
|
||||||
bindsym Control+Return exec $term
|
bindsym Control+Return exec $term
|
||||||
bindsym Control+Shift+Return exec $term -A1
|
bindsym Control+Shift+Return exec st -A1
|
||||||
bindsym Control+$mod+Return exec $term_alt
|
bindsym Control+$mod+Return exec $term_alt
|
||||||
# bindsym Control+$mod+Return exec st
|
# bindsym Control+$mod+Return exec st
|
||||||
# PROTIP: You can also dynamically set dmenu's colors this way:
|
# PROTIP: You can also dynamically set dmenu's colors this way:
|
||||||
@@ -44,6 +45,8 @@ bindsym Mod4+c exec $browser
|
|||||||
bindsym Mod4+f exec firefox
|
bindsym Mod4+f exec firefox
|
||||||
bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
|
bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
|
||||||
bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard
|
bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard
|
||||||
|
# bindsym $mod+m exec ~/scripts/vim-man
|
||||||
|
bindsym $mod+m exec urxvt -e ~/scripts/vim-man
|
||||||
bindsym Mod4+$mod+m exec pass -c uoft/markus
|
bindsym Mod4+$mod+m exec pass -c uoft/markus
|
||||||
bindsym Mod4+n exec urxvt -e nvim
|
bindsym Mod4+n exec urxvt -e nvim
|
||||||
bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail
|
bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail
|
||||||
@@ -293,7 +296,8 @@ bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e
|
|||||||
for_window [class="Face_detector"] floating enable
|
for_window [class="Face_detector"] floating enable
|
||||||
for_window [class="Face_detector"] move absolute position 0 0
|
for_window [class="Face_detector"] move absolute position 0 0
|
||||||
for_window [class="ada-mario"] floating enable
|
for_window [class="ada-mario"] floating enable
|
||||||
for_window [class="ada-mario"] move absolute position 930 480
|
# for_window [class="ada-mario"] move absolute position 930 480
|
||||||
|
for_window [class="ada-mario"] move absolute position 640 0
|
||||||
|
|
||||||
set $ws6 "6 "
|
set $ws6 "6 "
|
||||||
workspace $ws6 output $secondary
|
workspace $ws6 output $secondary
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ audio.sync_bitrate_enumeration=4
|
|||||||
ui.track_notifications_enabled=false
|
ui.track_notifications_enabled=false
|
||||||
ui.show_friend_feed=false
|
ui.show_friend_feed=false
|
||||||
audio.play_bitrate_enumeration=4
|
audio.play_bitrate_enumeration=4
|
||||||
|
app.player.volume=40000
|
||||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||||
app.browser.zoom-level=300
|
app.browser.zoom-level=300
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|||||||
@@ -13,7 +13,8 @@ imwheel &
|
|||||||
numlockx on &
|
numlockx on &
|
||||||
start-pulseaudio-x11 &
|
start-pulseaudio-x11 &
|
||||||
|
|
||||||
wal -i "$(/home/kevin/scripts/shuffler \"$HOME/Pictures/Backgrounds/dim/non-editing\")" && /home/kevin/st/make-st.sh &
|
# wal -i "$(/home/kevin/scripts/shuffler \"$HOME/Pictures/Backgrounds/dim/non-editing\")" && /home/kevin/st/make-st.sh &
|
||||||
|
wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") &
|
||||||
{{ end }}
|
{{ end }}
|
||||||
exec i3
|
exec i3
|
||||||
|
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ yar "yay -Rns"
|
|||||||
# sync
|
# sync
|
||||||
yaud "yay -Sy"
|
yaud "yay -Sy"
|
||||||
# sync and download
|
# sync and download
|
||||||
yaugd "yay -Syuw --answerclean=None --answerdiff=None --answeredit=None"
|
yadl "yay -Syuw --answerclean=None --answerdiff=None --answeredit=None"
|
||||||
# sync and update
|
# sync and update
|
||||||
yaug "yay -Syu --answerclean=None --answerdiff=None --answeredit=None"
|
yaug "yay -Syu --answerclean=None --answerdiff=None --answeredit=None"
|
||||||
# export packages
|
# export packages
|
||||||
@@ -475,7 +475,7 @@ gpsh "git push heroku"
|
|||||||
|
|
||||||
# ]]] 309 #
|
# ]]] 309 #
|
||||||
|
|
||||||
jc "javac *.java"
|
jc "javac -d out *.java"
|
||||||
j "java"
|
jr "java -cp \"$CLASSPATH:out\""
|
||||||
|
|
||||||
# ]]] school #
|
# ]]] school #
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ wo ~/Documents/workout-logs/11
|
|||||||
sc ~/school
|
sc ~/school
|
||||||
lt ~/school/latex-notes
|
lt ~/school/latex-notes
|
||||||
|
|
||||||
|
6 ~/school/263
|
||||||
|
al1 ~/school/algorithms/w1-union-find
|
||||||
|
|
||||||
# 309 [[[ #
|
# 309 [[[ #
|
||||||
|
|
||||||
0c ~/school/309-proj/css
|
0c ~/school/309-proj/css
|
||||||
@@ -66,6 +69,4 @@ lt ~/school/latex-notes
|
|||||||
|
|
||||||
# ]]] 309 #
|
# ]]] 309 #
|
||||||
|
|
||||||
al1 ~/school/algorithms/w1-union-find
|
|
||||||
|
|
||||||
# ]]] sch #
|
# ]]] sch #
|
||||||
|
|||||||
4
scripts/executable_vim-man
Normal file
4
scripts/executable_vim-man
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
man_choice=$(apropos . | awk '{ print $1 }' | dmenu -i)
|
||||||
|
nvim -c ":Man $man_choice" -c "resize 100"
|
||||||
@@ -4,9 +4,7 @@
|
|||||||
/home/kevin/.android
|
/home/kevin/.android
|
||||||
/home/kevin/.AndroidStudio3.3
|
/home/kevin/.AndroidStudio3.3
|
||||||
/home/kevin/Android
|
/home/kevin/Android
|
||||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
|
||||||
/home/kevin/coding/opencv
|
/home/kevin/coding/opencv
|
||||||
{{ end }}
|
|
||||||
/lost+found
|
/lost+found
|
||||||
/mnt
|
/mnt
|
||||||
/proc
|
/proc
|
||||||
|
|||||||
Reference in New Issue
Block a user