Compare commits
2 Commits
d405f264db
...
single-scr
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eed1c71db | |||
| 8781493ffb |
@@ -203,8 +203,7 @@ uzl "unzip -l"
|
||||
|
||||
# power options [[[ #
|
||||
|
||||
# s "systemctl suspend"
|
||||
s "xset dpms force off"
|
||||
s "systemctl suspend"
|
||||
# sl "i3lock-fancy && systemctl suspend"
|
||||
# so "xset dpms force off"
|
||||
xx "exit"
|
||||
@@ -336,7 +335,6 @@ mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
|
||||
# mst "sudo ~/st/make-st.sh"
|
||||
|
||||
mlf2 "sudo mount /dev/sdd1 /mnt/linux-files-2"
|
||||
bkuh "sudo rsync -PraAX --exclude-from='/home/kevin/txt/exclude-dirs-backup-full.txt' /home '/mnt/linux-files-2/arch-2/full'"
|
||||
|
||||
kgpg "kill -9 gpg-agent && gpg-agent"
|
||||
|
||||
@@ -419,7 +417,6 @@ clc "cloc . --vcs=git"
|
||||
cm "compton &"
|
||||
cv "cava"
|
||||
dg "dragon-drop -x"
|
||||
dgh "dragon-drop -x ."
|
||||
fx "firefox -P"
|
||||
fxd "firefox -P default"
|
||||
fxw "firefox -P work"
|
||||
@@ -437,7 +434,6 @@ htm "htop -s PERCENT_MEM"
|
||||
ia "sxiv -a"
|
||||
it "sxiv -t *"
|
||||
kill "kill -9"
|
||||
#kal "killall"
|
||||
ka "killall"
|
||||
kc "killall chromium"
|
||||
kcm "killall compton"
|
||||
@@ -462,10 +458,8 @@ mra "man ranger"
|
||||
n "nvim"
|
||||
nl "nload devices wlp4s0 -u M"
|
||||
nm "nomacs . &"
|
||||
noti "/usr/lib/notification-daemon-1.0/notification-daemon &"
|
||||
np "nvim --"
|
||||
ndu "ncdu"
|
||||
pc "pcmanfm &"
|
||||
p3 "python3"
|
||||
pdft "pdftotext"
|
||||
pdu "pdfunite"
|
||||
@@ -540,9 +534,8 @@ pei "pass edit info"
|
||||
pi "pass insert -m"
|
||||
pg "pass generate -c"
|
||||
ps "pass show"
|
||||
psr "pass rm"
|
||||
psi "pass show info | bat"
|
||||
pev "pass edit finances/visa"
|
||||
pev "pass edit finances/visa-cash"
|
||||
|
||||
xc "xclip -selection clipboard"
|
||||
xo "xclip -o >"
|
||||
@@ -1036,7 +1029,7 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
|
||||
|
||||
# ]]] games #
|
||||
|
||||
# work [[[ #
|
||||
# school [[[ #
|
||||
|
||||
# basic
|
||||
# wlf "watson log --all --tag=final"
|
||||
@@ -1044,10 +1037,13 @@ cpsdv "cp * /home/kevin/Documents/stardew-valley-sdv-saves/hevintales"
|
||||
gpa "column -ts',' ~/Documents/gpa.md"
|
||||
ssc "mosh mokkar@teach.cs.utoronto.ca"
|
||||
|
||||
ttlo "timetrace start look@job"
|
||||
ttle "timetrace start leetcode@job"
|
||||
zs "zathura --fork syllabus.pdf"
|
||||
|
||||
# ]]] work #
|
||||
pvabn "npm run serve:localhost"
|
||||
pvafn "npm run start:localhost"
|
||||
ssv "ssh -p 3022 kevin@127.0.0.1"
|
||||
|
||||
# ]]] school #
|
||||
|
||||
# red-hat [[[ #
|
||||
|
||||
@@ -1080,7 +1076,7 @@ ghr "github-release"
|
||||
|
||||
do "docker"
|
||||
db "docker build"
|
||||
dcm "docker-compose"
|
||||
dc "docker-compose"
|
||||
dcu "docker-compose up -d"
|
||||
dcd "docker-compose down"
|
||||
di "docker image"
|
||||
@@ -1099,11 +1095,11 @@ dst "docker stop"
|
||||
# kubectl [[[ #
|
||||
|
||||
k "kubectl"
|
||||
kap "kubectl apply -f"
|
||||
ka "kubectl apply -f"
|
||||
kcr "kubectl create"
|
||||
kcf "kubectl create ns kogito; kubectl config set-context --current --namespace=kogito"
|
||||
kct "kubectx"
|
||||
#kd "kubectl describe"
|
||||
kd "kubectl describe"
|
||||
kdd "kubectl describe deployment"
|
||||
kdp "kubectl describe pod"
|
||||
kdi "kubectl describe kogitoinfra"
|
||||
@@ -1238,7 +1234,6 @@ hu "helm upgrade"
|
||||
# ]]] helm #
|
||||
|
||||
zr "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume.pdf"
|
||||
zra "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume-aws.pdf"
|
||||
zrw "zathura --fork ~/coding/mf-site/static/pdf/kevin-mok-resume-web-dev.pdf"
|
||||
|
||||
# ]]] red-hat #
|
||||
|
||||
@@ -7,7 +7,6 @@ cf ~/linux-config/dot_config
|
||||
cfg ~/.config
|
||||
cff ~/.config/fish
|
||||
ch ~/Documents/chat
|
||||
dc ~/Documents/chat/discord
|
||||
da /mnt/ipad/DCIM/101APPLE
|
||||
dl ~/Downloads
|
||||
# dw ~/dwm
|
||||
@@ -26,7 +25,6 @@ me /run/media/kevin
|
||||
o /
|
||||
pd ~/.password-store
|
||||
pfp ~/Pictures/profile-pics
|
||||
pfpp ~/Pictures/profile-pics/profiles-by-moto
|
||||
P ~/Pictures
|
||||
ssu ~/Pictures/screenshots/desktop/unsorted
|
||||
std ~/st
|
||||
@@ -276,9 +274,6 @@ ltc ~/coding/leetcode
|
||||
jf ~/school/job-fair
|
||||
jh ~/school/job-hunt
|
||||
jhi ~/school/job-hunt/interview-questions
|
||||
jhig ~/school/job-hunt/interview-questions/grafana
|
||||
|
||||
el ~/coding/eliza
|
||||
|
||||
# ]]] sch #
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ hh ~/.habitctl/habits
|
||||
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
||||
id ~/Documents/journal/todo/ideas.md
|
||||
ig ./.gitignore
|
||||
jt ~/Documents/journal/todo/25/1.md
|
||||
jt ~/Documents/journal/todo/24/4.md
|
||||
k ~/linux-config/dot_config/kitty/kitty.conf
|
||||
lh ~/Documents/listening-history/polarbier.csv
|
||||
mc ~/coding/mf-site/assets/sass/main.scss
|
||||
@@ -97,7 +97,6 @@ sdv ~/Documents/stardew-valley-sdv/notes.md
|
||||
snp ~/Documents/marvel-snap/strats.md
|
||||
tc /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader/clips.txt
|
||||
tdb ~/Documents/journal/todo/b.md
|
||||
jop ~/Documents/journal/personal/jop.md
|
||||
|
||||
# ]]] gaming #
|
||||
|
||||
@@ -117,13 +116,13 @@ rt ~/Documents/red-hat/todo.md
|
||||
|
||||
lip ~/Documents/linkedin/linkedin-profile.md
|
||||
jhi ~/school/job-hunt/info.md
|
||||
jhb ~/school/job-hunt/b.md
|
||||
|
||||
# ]]] pey #
|
||||
|
||||
ej ~/Documents/emojis/emojis.md
|
||||
nf ~/Documents/twitter/nft-25.md
|
||||
sg ~/Documents/chat/signal/jay-groups.md
|
||||
nf ~/Documents/twitter/nft-24.md
|
||||
ra ~/Documents/chat/reddit/avatar.md
|
||||
ds ~/Documents/nft/deep-sea-research.md
|
||||
wd ~/Documents/journal/personal/weed.md
|
||||
|
||||
wo ~/Documents/workout-logs/7/running.md
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
clear Lock
|
||||
|
||||
keycode 9 = Caps_Lock
|
||||
keycode 66 = Escape
|
||||
keycode 22 = BackSpace
|
||||
keycode 66 = Escape
|
||||
|
||||
pointer = 1 2 3 6 7 4 5 10 11 12 8 9
|
||||
! side thumb button as middle click
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
clear Lock
|
||||
|
||||
! keycode 9 = Caps_Lock
|
||||
! keycode 66 = Escape
|
||||
keycode 9 = Escape
|
||||
keycode 66 = Caps_Lock
|
||||
keycode 22 = BackSpace
|
||||
|
||||
pointer = 1 2 3 6 7 4 5 10 11 12 8 9
|
||||
! side thumb button as middle click
|
||||
! pointer = 1 10 3 6 7 4 5 2 11 12 8 9
|
||||
@@ -140,8 +140,6 @@ set -x IPAD_IMG 18
|
||||
|
||||
source /home/kevin/coding/aws.fish
|
||||
|
||||
set -x LIBVIRT_DEFAULT_URI qemu:///system
|
||||
|
||||
# ]]] universal var's #
|
||||
|
||||
# fish-specific [[[ #
|
||||
@@ -309,5 +307,6 @@ abbr xya "export-pkgs"
|
||||
# task sync > /dev/null 2>&1
|
||||
|
||||
source /home/kevin/.config/fish/key_abbr.fish > /dev/null
|
||||
# wal -r
|
||||
cat /home/kevin/.cache/wal/sequences
|
||||
# ~/scripts/xmodmap-custom
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
function qalc-update
|
||||
qalc -e "$argv[1]USD to CAD"
|
||||
end
|
||||
@@ -1,15 +1,16 @@
|
||||
# startup [[[ #
|
||||
|
||||
set $term kitty
|
||||
set $term_alt urxvt
|
||||
# set $term urxvt
|
||||
# set $term_alt kitty
|
||||
# set $term st
|
||||
# set $term_alt urxvt
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
set $term urxvt
|
||||
# set $term_alt kitty
|
||||
set $term_alt st
|
||||
set $term_alt kitty
|
||||
# set $term_alt st
|
||||
# set $term_alt urxvt
|
||||
#exec dunst
|
||||
exec /usr/lib/notification-daemon-1.0/notification-daemon
|
||||
exec dunst
|
||||
exec compton
|
||||
exec imwheel
|
||||
exec numlockx on
|
||||
@@ -23,8 +24,7 @@ exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/editi
|
||||
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
|
||||
# exec --no-startup-id i3-msg 'workspace $ws5; exec $term -e twitchy'
|
||||
# exec --no-startup-id i3-msg 'workspace $ws5; exec firefox -P nft'
|
||||
exec --no-startup-id i3-msg workspace $ws6; exec discord
|
||||
exec --no-startup-id i3-msg 'workspace $ws6; exec signal-desktop'
|
||||
# exec --no-startup-id i3-msg workspace $ws6; exec discord
|
||||
# exec --no-startup-id i3-msg workspace $ws1; exec $term -e fish -c 'tmux-attach school'
|
||||
|
||||
# ]]] startup #
|
||||
@@ -58,8 +58,7 @@ bindsym Mod4+Return exec /home/kevin/scripts/dmenu-history -nb "$fg" -nf "$bg" -
|
||||
# bindsym Mod4+b layout tabbed; exec zathura
|
||||
# bindsym Mod4+c exec $browser
|
||||
# bindsym Mod4+$mod+c exec chatterino
|
||||
#bindsym Mod4+c exec chatterino
|
||||
bindsym Mod4+c exec pass -c finances/metamask
|
||||
bindsym Mod4+c exec chatterino
|
||||
bindsym Mod4+$mod+c exec $browser
|
||||
# bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
|
||||
# bindsym Mod4+e exec emacs
|
||||
@@ -421,11 +420,10 @@ workspace $ws6 output $secondary
|
||||
assign [class="Slack"] $ws6
|
||||
bindsym Mod4+d workspace $ws6; exec discord
|
||||
bindsym Mod4+$mod+d workspace $ws6; exec element-desktop
|
||||
bindsym Mod4+i workspace $ws6; exec signal-desktop
|
||||
# bindsym Mod4+d workspace $ws6; exec firefox -new-window https://riot.im/app
|
||||
bindsym Mod4+k workspace $ws6; exec slack
|
||||
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
|
||||
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
|
||||
bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'mosh kmok@$work_laptop_ip -- tmux a -t weechat'
|
||||
# bindsym Mod4+i workspace $ws6; exec $term -e fish -c 'tmux-attach weechat'
|
||||
|
||||
# ]]] ws6 #
|
||||
@@ -581,8 +579,8 @@ bar {
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
font pango:$sb_font 17
|
||||
{{ else }}
|
||||
# font pango:$sb_font 17
|
||||
font pango:$sb_font 16
|
||||
font pango:$sb_font 17
|
||||
# font pango:$sb_font 16
|
||||
{{ end }}
|
||||
colors {
|
||||
# 0 (transparent) -> 255 (opaque) in hex
|
||||
@@ -597,8 +595,8 @@ bar {
|
||||
tray_output none
|
||||
# status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
|
||||
status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out
|
||||
output $main
|
||||
# output $secondary
|
||||
# output $main
|
||||
output $secondary
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
}
|
||||
@@ -607,32 +605,31 @@ bar {
|
||||
|
||||
# secondary bar [[[ #
|
||||
|
||||
bar {
|
||||
# output $main
|
||||
output $secondary
|
||||
{{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
font pango:$sb_font 18
|
||||
{{ else }}
|
||||
# bar {
|
||||
# output $secondary
|
||||
# {{ if eq .chezmoi.hostname "x1-carbon" }}
|
||||
# font pango:$sb_font 18
|
||||
# {{ else }}
|
||||
# font pango:$sb_font 21
|
||||
font pango:$sb_font 20
|
||||
# font pango:$sb_font 17
|
||||
{{ end }}
|
||||
# output $main
|
||||
i3bar_command i3bar -t
|
||||
colors {
|
||||
background $black$bar_trans
|
||||
# border, bg, text color
|
||||
# focused_workspace $inactive_ws_bg $bg $focused_ws_text
|
||||
focused_workspace $inactive_ws_bg $bg $fg
|
||||
active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
|
||||
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
|
||||
}
|
||||
status_command i3blocks -c ~/.config/i3blocks/i3blocks-secondary.conf
|
||||
# status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
|
||||
tray_output none
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
}
|
||||
# # font pango:$sb_font 20
|
||||
# # font pango:$sb_font 17
|
||||
# {{ end }}
|
||||
# # output $main
|
||||
# i3bar_command i3bar -t
|
||||
# colors {
|
||||
# background $black$bar_trans
|
||||
# # border, bg, text color
|
||||
# # focused_workspace $inactive_ws_bg $bg $focused_ws_text
|
||||
# focused_workspace $inactive_ws_bg $bg $fg
|
||||
# active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
|
||||
# inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
|
||||
# }
|
||||
# status_command i3blocks -c ~/.config/i3blocks/i3blocks-secondary.conf
|
||||
# # status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
|
||||
# tray_output none
|
||||
# wheel_up_cmd nop
|
||||
# wheel_down_cmd nop
|
||||
# }
|
||||
|
||||
# ]]] secondary bar #
|
||||
|
||||
|
||||
@@ -26,12 +26,12 @@ interval=5
|
||||
|
||||
[cpu_usage]
|
||||
label=
|
||||
interval=2
|
||||
interval=5
|
||||
|
||||
[memory]
|
||||
label=
|
||||
# color=#3da061
|
||||
interval=2
|
||||
interval=5
|
||||
{{ end }}
|
||||
|
||||
# ]]] sys.monitoring #
|
||||
|
||||
@@ -43,15 +43,20 @@ TICKER=BTCUSDC
|
||||
interval=30
|
||||
|
||||
# [ticker]
|
||||
# label=btc
|
||||
# ticker=btc-usd
|
||||
# label=BTC
|
||||
# TICKER=BTC-USD
|
||||
# interval=30
|
||||
|
||||
[kraken]
|
||||
label=SOL
|
||||
TICKER=SOLUSD
|
||||
label=ETH
|
||||
TICKER=ETHUSDC
|
||||
interval=30
|
||||
|
||||
# [kraken]
|
||||
# label=SOL
|
||||
# TICKER=SOLUSD
|
||||
# interval=30
|
||||
|
||||
# [kraken]
|
||||
# label=SEI
|
||||
# TICKER=SEIUSD
|
||||
@@ -63,27 +68,23 @@ CHAIN=ethereum
|
||||
PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||
interval=30
|
||||
|
||||
[kraken]
|
||||
label=ETH
|
||||
TICKER=ETHUSDC
|
||||
interval=30
|
||||
# [dexscreener]
|
||||
# label=BLAST
|
||||
# CHAIN=blast
|
||||
# PAIR=0x9A0AA28d999a21d3cf6F2703CDBba9FeAF4a32F7
|
||||
# interval=30
|
||||
|
||||
[dexscreener]
|
||||
label=PENGU
|
||||
label=LOCK
|
||||
CHAIN=solana
|
||||
PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
|
||||
interval=5
|
||||
|
||||
[kraken]
|
||||
label=AVAX
|
||||
TICKER=AVAXUSD
|
||||
PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||
interval=30
|
||||
|
||||
#[dexscreener]
|
||||
#label=LOCK
|
||||
#CHAIN=solana
|
||||
#PAIR=AtWMAA6T9t8cq8XCccCFPGDNNQYXhScuNuY6WVRi7FKe
|
||||
#interval=30
|
||||
# [dexscreener]
|
||||
# label=FLT
|
||||
# CHAIN=ethereum
|
||||
# PAIR=0x983b92EA1F0A20844466f3E4BB988c1dE145293E
|
||||
# interval=30
|
||||
|
||||
# [ticker]
|
||||
# label=SPY
|
||||
@@ -156,7 +157,7 @@ interval=5
|
||||
# time [[[ #
|
||||
|
||||
[calendar]
|
||||
interval=5
|
||||
interval=30
|
||||
label=
|
||||
# {{ if eq .chezmoi.hostname "nzxt" }}
|
||||
# DATEFMT=+%H:%M
|
||||
|
||||
@@ -15,17 +15,13 @@ Ctrl+RIGHT no-osd seek 0.2 exact
|
||||
Ctrl+LEFT no-osd seek -0.2 exact
|
||||
Shift+RIGHT no-osd seek 1 exact
|
||||
Shift+LEFT no-osd seek -1 exact
|
||||
RIGHT seek 5 exact
|
||||
LEFT seek -5 exact
|
||||
RIGHT seek 3 exact
|
||||
LEFT seek -3 exact
|
||||
UP seek 10 exact
|
||||
DOWN seek -10 exact
|
||||
Shift+UP seek 60 exact
|
||||
Shift+DOWN seek -60 exact
|
||||
|
||||
# zoom
|
||||
Ctrl+- add video-zoom -0.25
|
||||
Ctrl+= add video-zoom 0.25
|
||||
|
||||
# mark
|
||||
m revert-seek mark # mark position for revert-seek
|
||||
Shift+m revert-seek
|
||||
|
||||
@@ -96,11 +96,8 @@ handle_extension() {
|
||||
jq --color-output '.' "${FILE_PATH}" && exit 5
|
||||
python -m json.tool -- "${FILE_PATH}" && exit 5
|
||||
|
||||
js)
|
||||
bat "${FILE_PATH}" && exit 5
|
||||
|
||||
txt)
|
||||
bat "${FILE_PATH}" && exit 5
|
||||
# txt)
|
||||
# cat "${FILE_PATH}" && exit 5
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
@@ -668,8 +668,8 @@ set preview_images true
|
||||
# The same as urxvt but utilizing not only the preview pane but the
|
||||
# whole terminal window.
|
||||
# set preview_images_method w3m
|
||||
set preview_images_method ueberzug
|
||||
# set preview_images_method kitty
|
||||
# set preview_images_method ueberzug
|
||||
set preview_images_method kitty
|
||||
# set preview_images_method urxvt
|
||||
# set preview_images_method urxvt-full
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
".*"
|
||||
/* None, Up, Button4, 3 */
|
||||
/* None, Down, Button5, 3 */
|
||||
/* None, Up, Button4, .5 */
|
||||
/* None, Down, Button5, .5 */
|
||||
None, Up, Button4, .1
|
||||
None, Down, Button5, .1
|
||||
None, Up, Button4, 1
|
||||
None, Down, Button5, 1
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
decimal comma 1
|
||||
@@ -57,7 +57,6 @@ autocmd CursorHold * if !bufexists("[Command Line]") | checktime | endif
|
||||
|
||||
" commands for file types [[[ "
|
||||
|
||||
filetype plugin indent on
|
||||
autocmd BufNewFile,BufRead .* set syntax=sh
|
||||
autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown
|
||||
autocmd FileType *css,gitcommit,haskell,htmldjango,html,graphql,javascript,javascriptreact,json,lisp,markdown,
|
||||
@@ -151,10 +150,10 @@ Plug 'vim-scripts/L9'
|
||||
" find files from within Vim
|
||||
" Plug 'vim-scripts/FuzzyFinder'
|
||||
|
||||
{{ if not .gui }}
|
||||
" {{ if not .gui }}
|
||||
" Gotham color scheme
|
||||
Plug 'whatyouhide/vim-gotham'
|
||||
{{ end }}
|
||||
" {{ end }}
|
||||
|
||||
" " collection of Vim color schemes
|
||||
" Plug 'flazz/vim-colorschemes'
|
||||
@@ -234,7 +233,27 @@ Plug 'Kevin-Mok/vim-snippets'
|
||||
Plug 'ervandew/supertab'
|
||||
" make YCM compatible with UltiSnips (using supertab)
|
||||
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||
let g:SuperTabDefaultCompletionType = '<C-n>'
|
||||
|
||||
" easily comment/uncomment lines
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
let g:NERDTrimTrailingWhitespace = 1
|
||||
let g:NERDSpaceDelims = 1
|
||||
|
||||
" add quotes/brackets around chunks of text easily
|
||||
Plug 'tpope/vim-surround'
|
||||
nmap S ys
|
||||
|
||||
" navigate around file easily and precisely
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
map <Space> <Plug>(easymotion-prefix)
|
||||
|
||||
" status bar displaying various info about the current buffer
|
||||
Plug 'vim-airline/vim-airline'
|
||||
let g:airline_section_c = '%F'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline_theme='supernova'
|
||||
|
||||
" continue Markdown lists when started
|
||||
@@ -243,6 +262,7 @@ Plug 'dkarter/bullets.vim'
|
||||
|
||||
" coordinate Vim color scheme with terminal color scheme
|
||||
Plug 'dylanaraps/wal.vim'
|
||||
Plug 'AlphaTechnolog/pywal.nvim', { 'as': 'pywal' }
|
||||
" Plug 'morhetz/gruvbox'
|
||||
Plug 'bluz71/vim-nightfly-colors', { 'as': 'nightfly' }
|
||||
|
||||
@@ -342,9 +362,6 @@ Plug 'mlaursen/vim-react-snippets', { 'branch': 'main' }
|
||||
Plug 'cristianoliveira/vim-react-html-snippets'
|
||||
Plug 'jidn/vim-dbml'
|
||||
" Plug 'FuDesign2008/emoji-snippets.vim'
|
||||
Plug 'tpope/vim-surround'
|
||||
" Plug 'tpope/vim-commentary'
|
||||
Plug 'preservim/nerdcommenter'
|
||||
" ]]] vim-plug "
|
||||
|
||||
" Mappings [[[ "
|
||||
@@ -354,7 +371,9 @@ call plug#end()
|
||||
{{ if .gui }}
|
||||
" autocmd vimenter * ++nested colorscheme gruvbox
|
||||
" colorscheme wal
|
||||
colorscheme nightfly
|
||||
colorscheme pywal
|
||||
" colorscheme nightfly
|
||||
" colorscheme gotham256
|
||||
{{ else }}
|
||||
colorscheme gotham256
|
||||
{{ end }}
|
||||
@@ -450,7 +469,7 @@ nnoremap <leader>m :vert Man
|
||||
" apply normal command to selection
|
||||
vnoremap <leader>n q:anorm
|
||||
" turn off autoformat"
|
||||
" nnoremap <leader>na :set spell spelllang=en_us formatoptions=cjMqtvw<CR>
|
||||
nnoremap <leader>na :set spell spelllang=en_us formatoptions=cjMqtvw<CR>
|
||||
nnoremap <leader>nt :NERDTree<CR>
|
||||
" check if in neovim
|
||||
nnoremap <leader>nv :echo has('nvim')<CR>
|
||||
|
||||
@@ -14,8 +14,7 @@ xset r rate $XSET_DELAY $XSET_RATE
|
||||
# exec /home/kevin/Downloads/dwm/reload-dwm.sh
|
||||
|
||||
{{ if eq .chezmoi.hostname "nzxt" }}
|
||||
# dunst &
|
||||
/usr/lib/notification-daemon-1.0/notification-daemon &
|
||||
dunst &
|
||||
compton -b
|
||||
imwheel &
|
||||
numlockx on &
|
||||
|
||||
@@ -11,8 +11,4 @@ if (( $(echo "$price < .09" | bc -l) )); then
|
||||
printf "%0.4f\n" "$price" | cut -c 4-
|
||||
elif (( $(echo "$price < .1" | bc -l) )); then
|
||||
printf "%0.3f\n" "$price" | cut -c 4-
|
||||
elif (( $(echo "$price < 1" | bc -l) )); then
|
||||
printf "%0.3f\n" "$price" | cut -c 3-
|
||||
elif (( $(echo "$price < 10" | bc -l) )); then
|
||||
printf "%0.2f\n" "$price"
|
||||
fi
|
||||
|
||||
@@ -15,8 +15,6 @@ elif (( $(echo "$price < 1000" | bc -l) )); then
|
||||
printf "%'0.1f\n" "$price" | sed 's/,//'
|
||||
elif (( $(echo "$price < 10000" | bc -l) )); then
|
||||
printf "%'0.0f\n" "$price" | sed 's/,//'
|
||||
elif (( $(echo "$price > 100000" | bc -l) )); then
|
||||
printf "%'0.0f\n" "$price" | sed 's/,//' | cut -c -4
|
||||
else
|
||||
echo "$price" | cut -c -3
|
||||
fi
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
- cmatrix
|
||||
- pipes.sh
|
||||
- jp2a
|
||||
- {pacman,invaders,colors}.sh, c screenfetch, archy, toilet/figlet, doge, etc.
|
||||
- cbonsai
|
||||
Reference in New Issue
Block a user