Update
This commit is contained in:
@@ -22,6 +22,7 @@ duh "du -d 1 -h --apparent-size | sort -h"
|
|||||||
dum "du -d 1 -m --apparent-size | sort -h"
|
dum "du -d 1 -m --apparent-size | sort -h"
|
||||||
# m "man"
|
# m "man"
|
||||||
td "tldr"
|
td "tldr"
|
||||||
|
whi "whereis"
|
||||||
|
|
||||||
# ]]] basic #
|
# ]]] basic #
|
||||||
|
|
||||||
@@ -54,8 +55,8 @@ awkp "awk -F',' '{print \$0}'"
|
|||||||
fde "fd -e"
|
fde "fd -e"
|
||||||
grep "grep --color=auto -n"
|
grep "grep --color=auto -n"
|
||||||
grpr "grep -r"
|
grpr "grep -r"
|
||||||
rg "rg -S"
|
rgc "rg -S"
|
||||||
rge "rg -St"
|
rge "rg -t"
|
||||||
# pk "pkill -f"
|
# pk "pkill -f"
|
||||||
cld "colordiff -wy --suppress-common-lines"
|
cld "colordiff -wy --suppress-common-lines"
|
||||||
|
|
||||||
@@ -383,6 +384,7 @@ ka "killall"
|
|||||||
kd "killall Discord && killall Discord"
|
kd "killall Discord && killall Discord"
|
||||||
ke "killall electron"
|
ke "killall electron"
|
||||||
kf "killall firefox"
|
kf "killall firefox"
|
||||||
|
kag "killall gopls"
|
||||||
kai "killall imwheel && imwheel"
|
kai "killall imwheel && imwheel"
|
||||||
kt "killall thunderbird"
|
kt "killall thunderbird"
|
||||||
lo "libreoffice"
|
lo "libreoffice"
|
||||||
@@ -440,8 +442,8 @@ usn "usernames --num 20"
|
|||||||
vmd "vimdiff"
|
vmd "vimdiff"
|
||||||
wc "wc -l"
|
wc "wc -l"
|
||||||
wch "weechat"
|
wch "weechat"
|
||||||
# wg "wego"
|
wg "wego"
|
||||||
wg "curl -L wthr.ml"
|
# wg "curl -L wthr.ml"
|
||||||
wgm "curl -L wthr.ml/m"
|
wgm "curl -L wthr.ml/m"
|
||||||
wgt "curl -L wthr.ml/t"
|
wgt "curl -L wthr.ml/t"
|
||||||
yt "youtube-dl"
|
yt "youtube-dl"
|
||||||
@@ -548,7 +550,7 @@ gmgt "git mergetool"
|
|||||||
gr "git remote -v"
|
gr "git remote -v"
|
||||||
gra "git remote add origin"
|
gra "git remote add origin"
|
||||||
grao "git remote add orig"
|
grao "git remote add orig"
|
||||||
# grag "git remote add gitea git@ataraxy.tk:Kevin-Mok/.git"
|
grag "git remote add gitea ssh://git@git.kevin-mok.com:399/Kevin-Mok/"
|
||||||
|
|
||||||
grr "git remote remove origin"
|
grr "git remote remove origin"
|
||||||
gru "git branch --set-upstream-to=origin/master master"
|
gru "git branch --set-upstream-to=origin/master master"
|
||||||
@@ -584,7 +586,9 @@ grmor "rm (fd -e orig --no-ignore -H)"
|
|||||||
gd "git diff -w"
|
gd "git diff -w"
|
||||||
gdc "git diff --cached -w"
|
gdc "git diff --cached -w"
|
||||||
gdh "git diff --cached -w HEAD~1"
|
gdh "git diff --cached -w HEAD~1"
|
||||||
gds "git diff --stat"
|
# gds "git diff --stat"
|
||||||
|
# gdsc "git diff --stat --cached -w"
|
||||||
|
gds "git diff --stat --cached -w"
|
||||||
gdt "git difftool -w --tool=vimdiff"
|
gdt "git difftool -w --tool=vimdiff"
|
||||||
gdtc "git difftool -w --cached --tool=vimdiff"
|
gdtc "git difftool -w --cached --tool=vimdiff"
|
||||||
gl "git log -5"
|
gl "git log -5"
|
||||||
@@ -595,6 +599,7 @@ glm "git log master"
|
|||||||
gqs "git-quick-stats -T"
|
gqs "git-quick-stats -T"
|
||||||
# gsl "git shortlog"
|
# gsl "git shortlog"
|
||||||
gsh "git show"
|
gsh "git show"
|
||||||
|
gshh "git show HEAD"
|
||||||
|
|
||||||
# ]]] diff/log #
|
# ]]] diff/log #
|
||||||
|
|
||||||
@@ -613,11 +618,18 @@ gchnw "git checkout -b wip"
|
|||||||
gchw "git checkout wip"
|
gchw "git checkout wip"
|
||||||
gchh "git checkout HEAD --"
|
gchh "git checkout HEAD --"
|
||||||
|
|
||||||
grs "git reset --hard"
|
# grss "git reset --soft HEAD~1"
|
||||||
grss "git reset --soft HEAD~1"
|
# grs "git reset --hard"
|
||||||
grso "git reset --hard origin/master"
|
# grso "git reset --hard origin/master"
|
||||||
grsh "git reset --hard HEAD"
|
# grsh "git reset --hard HEAD"
|
||||||
grsh1 "git reset --hard HEAD~1"
|
# grsh1 "git reset --hard HEAD~1"
|
||||||
|
grs "git reset --soft"
|
||||||
|
grsh1 "git reset --soft HEAD~1"
|
||||||
|
grso "git reset --soft orig/master"
|
||||||
|
grsh "git reset --hard"
|
||||||
|
grsho "git reset --hard origin/master"
|
||||||
|
grshh "git reset --hard HEAD"
|
||||||
|
grshh1 "git reset --hard HEAD~1"
|
||||||
# show files in git repo
|
# show files in git repo
|
||||||
# gls "git ls-tree -r HEAD --name-only"
|
# gls "git ls-tree -r HEAD --name-only"
|
||||||
gls "git ls-tree HEAD --name-only"
|
gls "git ls-tree HEAD --name-only"
|
||||||
@@ -654,6 +666,7 @@ gcap "git add -A && git commit --amend --no-edit -S && git push --force"
|
|||||||
psgi "git add -A && git commit -m 'Update' -S && git push"
|
psgi "git add -A && git commit -m 'Update' -S && git push"
|
||||||
gps "git push"
|
gps "git push"
|
||||||
gpso "git push origin"
|
gpso "git push origin"
|
||||||
|
gpsoh "git push -f origin HEAD:"
|
||||||
gpsg "git push gitea"
|
gpsg "git push gitea"
|
||||||
gpsd "git push origin --delete"
|
gpsd "git push origin --delete"
|
||||||
# gpsi "git config credential.helper store && git push"
|
# gpsi "git config credential.helper store && git push"
|
||||||
@@ -860,6 +873,7 @@ gchk "git checkout KOGITO-"
|
|||||||
gch2 "git checkout KOGITO-2113"
|
gch2 "git checkout KOGITO-2113"
|
||||||
|
|
||||||
loe "libreoffice ~/Documents/expenses/2020.ods &"
|
loe "libreoffice ~/Documents/expenses/2020.ods &"
|
||||||
|
loi "libreoffice ~/Documents/expenses/investments.ods &"
|
||||||
ssw "mosh $WORK_LAPTOP_IP tmux a"
|
ssw "mosh $WORK_LAPTOP_IP tmux a"
|
||||||
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat"
|
ssi "mosh $WORK_LAPTOP_IP -- tmux a -t weechat"
|
||||||
scw "scp $WORK_LAPTOP_IP:"
|
scw "scp $WORK_LAPTOP_IP:"
|
||||||
@@ -913,4 +927,8 @@ got "go test"
|
|||||||
gota "go test *"
|
gota "go test *"
|
||||||
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin"
|
mbc "make build-cli && scp build/_output/bin/kogito $WORK_LAPTOP_IP:/home/kmok/go/bin"
|
||||||
|
|
||||||
|
dk "docker"
|
||||||
|
dki "docker image"
|
||||||
|
dkis "docker images"
|
||||||
|
|
||||||
# ]]] red-hat #
|
# ]]] red-hat #
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ D ~/Documents
|
|||||||
kh ~/
|
kh ~/
|
||||||
lc ~/linux-config
|
lc ~/linux-config
|
||||||
lf /mnt/linux-files
|
lf /mnt/linux-files
|
||||||
Lfp /mnt/linux-files/Pictures
|
lfp /mnt/linux-files/Pictures
|
||||||
Lfv /mnt/linux-files/Videos
|
lfv /mnt/linux-files/Videos
|
||||||
me /run/media/kevin
|
me /run/media/kevin
|
||||||
o /
|
o /
|
||||||
pd ~/.password-store
|
pd ~/.password-store
|
||||||
@@ -34,6 +34,7 @@ sv /etc/systemd/system
|
|||||||
# cdn [[[ #
|
# cdn [[[ #
|
||||||
|
|
||||||
ad ~/.task
|
ad ~/.task
|
||||||
|
bm ~/Documents/bookmarks
|
||||||
ccd ~/.calcurse
|
ccd ~/.calcurse
|
||||||
cn ~/coding
|
cn ~/coding
|
||||||
drk ~/coding/dark-sky
|
drk ~/coding/dark-sky
|
||||||
@@ -98,6 +99,7 @@ adP ~/Pictures/ada-mario
|
|||||||
# gaming [[[ #
|
# gaming [[[ #
|
||||||
|
|
||||||
lfo /mnt/linux-files/Videos/obs
|
lfo /mnt/linux-files/Videos/obs
|
||||||
|
pxv /mnt/linux-files/Videos/pixel
|
||||||
|
|
||||||
cm ~/Documents/codm
|
cm ~/Documents/codm
|
||||||
cs ~/Documents/codm/site
|
cs ~/Documents/codm/site
|
||||||
@@ -117,6 +119,8 @@ tcd /mnt/linux-files/Videos/yt/fortnite/clips/twitch-clip-downloader
|
|||||||
|
|
||||||
# ]]] fortnite #
|
# ]]] fortnite #
|
||||||
|
|
||||||
|
pgv /mnt/linux-files/Videos/pokemon-go
|
||||||
|
|
||||||
# ]]] gaming #
|
# ]]] gaming #
|
||||||
|
|
||||||
# sch [[[ #
|
# sch [[[ #
|
||||||
@@ -131,6 +135,7 @@ lt ~/school/latex-notes
|
|||||||
rh ~/Documents/red-hat
|
rh ~/Documents/red-hat
|
||||||
rhc ~/Documents/red-hat/chat
|
rhc ~/Documents/red-hat/chat
|
||||||
wcl ~/.weechat/logs
|
wcl ~/.weechat/logs
|
||||||
|
ep ~/Documents/expenses
|
||||||
|
|
||||||
# kogito [[[ #
|
# kogito [[[ #
|
||||||
|
|
||||||
@@ -144,19 +149,29 @@ ki ~/coding/kogito/kogito-images
|
|||||||
kj ~/coding/kogito/jenkins-test
|
kj ~/coding/kogito/jenkins-test
|
||||||
kjb ~/coding/kogito/jenkins-test-bot
|
kjb ~/coding/kogito/jenkins-test-bot
|
||||||
kl ~/coding/kogito/shared-libraries
|
kl ~/coding/kogito/shared-libraries
|
||||||
|
# operator [[[ #
|
||||||
|
|
||||||
ko ~/go/src/github.com/kiegroup/kogito-cloud-operator
|
ko ~/go/src/github.com/kiegroup/kogito-cloud-operator
|
||||||
koc ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command
|
koc ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command
|
||||||
kod ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/deploy
|
kod ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/deploy
|
||||||
kof ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/flag
|
kof ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/flag
|
||||||
|
kor ~/go/src/github.com/kiegroup/kogito-cloud-operator/pkg/controller/kogitoruntime
|
||||||
kou ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/util
|
kou ~/go/src/github.com/kiegroup/kogito-cloud-operator/cmd/kogito/command/util
|
||||||
|
ko2 ~/coding/kogito/kogito-cloud-operator-2
|
||||||
|
|
||||||
|
# ]]] operator #
|
||||||
kp ~/coding/kogito/kogito-pipelines
|
kp ~/coding/kogito/kogito-pipelines
|
||||||
kpr ~/coding/pull-requests/red-hat
|
kpr ~/coding/pull-requests/red-hat
|
||||||
kr ~/coding/kogito/kogito-runtimes
|
kr ~/coding/kogito/kogito-runtimes
|
||||||
krj ~/coding/kogito/kogito-runtimes/jenkins-spock-tests
|
krj ~/coding/kogito/kogito-runtimes/jenkins-spock-tests
|
||||||
|
|
||||||
|
gos ~/go/src
|
||||||
|
|
||||||
# ]]] kogito #
|
# ]]] kogito #
|
||||||
|
|
||||||
vb ~/coding/VileBot/vilebot
|
vb ~/coding/VileBot/vilebot
|
||||||
vbs ~/coding/VileBot/vilebot/src/main/java/com/oldterns/vilebot
|
vbs ~/coding/VileBot/vilebot/src/main/java/com/oldterns/vilebot
|
||||||
|
|
||||||
|
nxo ~/coding/kogito/nexus-operator
|
||||||
|
|
||||||
# ]]] pey #
|
# ]]] pey #
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ set -xU FZF_DEFAULT_COMMAND "find ."
|
|||||||
|
|
||||||
# set -xU PHONE_IP "192.168.0.10"
|
# set -xU PHONE_IP "192.168.0.10"
|
||||||
# set -xU WORK_LAPTOP_IP "kmok@192.168.0.12"
|
# set -xU WORK_LAPTOP_IP "kmok@192.168.0.12"
|
||||||
set -x PHONE_IP "192.168.0.11"
|
set -x PHONE_IP "192.168.0.12"
|
||||||
set -x WORK_LAPTOP_IP "kmok@192.168.0.12"
|
set -x WORK_LAPTOP_IP "kmok@192.168.0.13"
|
||||||
|
|
||||||
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
||||||
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
|
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
|
||||||
@@ -209,6 +209,7 @@ abbr shrm "shred-rm"
|
|||||||
abbr shs "scan-history"
|
abbr shs "scan-history"
|
||||||
abbr svp "server-pages"
|
abbr svp "server-pages"
|
||||||
abbr ta "tmux-attach"
|
abbr ta "tmux-attach"
|
||||||
|
abbr tao "tmux-attach obs"
|
||||||
abbr thes "thesaurus"
|
abbr thes "thesaurus"
|
||||||
abbr usc "us-to-cad"
|
abbr usc "us-to-cad"
|
||||||
abbr ut "unix-timestamp"
|
abbr ut "unix-timestamp"
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ bindsym Mod4+c exec $browser
|
|||||||
# bindsym Mod4+e exec emacs
|
# bindsym Mod4+e exec emacs
|
||||||
bindsym Mod4+e exec ~/scripts/twem
|
bindsym Mod4+e exec ~/scripts/twem
|
||||||
# bindsym Mod4+f exec firefox
|
# bindsym Mod4+f exec firefox
|
||||||
bindsym Mod4+f exec firefox --private-window
|
# bindsym Mod4+f exec firefox --private-window
|
||||||
|
bindsym Mod4+f exec firefox --private-window google.ca
|
||||||
# bindsym Mod4+$mod+f exec printf 'Kevin@fosstodon.org' | xclip -selection clipboard
|
# bindsym Mod4+$mod+f exec printf 'Kevin@fosstodon.org' | xclip -selection clipboard
|
||||||
# bindsym Mod4+h exec sleep .2 && xdotool type '.hint'
|
# bindsym Mod4+h exec sleep .2 && xdotool type '.hint'
|
||||||
# bindsym Mod4+$mod+h exec $type_delay_cmd && xdotool type 'kevin.mok@live.ca'
|
# bindsym Mod4+$mod+h exec $type_delay_cmd && xdotool type 'kevin.mok@live.ca'
|
||||||
@@ -324,19 +325,22 @@ bindsym $mod+F1 workspace $ws1; exec $term
|
|||||||
bindsym Control+Shift+F1 workspace $ws1; exec $term -e fish -c 'tmux-attach red-hat'
|
bindsym Control+Shift+F1 workspace $ws1; exec $term -e fish -c 'tmux-attach red-hat'
|
||||||
|
|
||||||
set $ws2 "2 "
|
set $ws2 "2 "
|
||||||
set $wl_ip_nast_num "2"
|
set $wl_ip_nast_num "3"
|
||||||
workspace $ws2 output $secondary
|
workspace $ws2 output $secondary
|
||||||
bindsym $mod+F2 workspace $ws2; exec $term
|
bindsym $mod+F2 workspace $ws2; exec $term
|
||||||
# bindsym Control+Shift+F2 workspace $ws2; exec $term -e mosh kmok@192.168.0.1$wl_ip_nast_num -- tmux a -t nzxt
|
# bindsym Control+Shift+F2 workspace $ws2; exec $term -e mosh kmok@192.168.0.1$wl_ip_nast_num -- tmux a -t nzxt
|
||||||
# bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach fortnite'
|
# bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach fortnite'
|
||||||
bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach red-hat-2'
|
bindsym Control+Shift+F2 workspace $ws2; exec $term -e fish -c 'tmux-attach red-hat-2'
|
||||||
|
bindsym $mod+Shift+F2 workspace $ws2; exec $term -e mosh kmok@192.168.0.1$wl_ip_nast_num -- tmux a -t nzxt-2
|
||||||
|
|
||||||
# ws3 [[[ #
|
# ws3 [[[ #
|
||||||
|
|
||||||
set $ws3 "3 "
|
set $ws3 "3 "
|
||||||
# set $ws3 "3 "
|
# set $ws3 "3 "
|
||||||
# workspace $ws3 output $main
|
# workspace $ws3 output $main
|
||||||
bindsym $mod+F3 workspace $ws3; exec $browser
|
# bindsym $mod+F3 workspace $ws3; exec $browser
|
||||||
|
# bindsym $mod+F3 exec $browser; move container to workspace $ws3; workspace $ws3
|
||||||
|
bindsym $mod+F3 exec $browser
|
||||||
bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P work
|
bindsym Mod4+$mod+F3 workspace $ws3; exec firefox -P work
|
||||||
# bindsym Mod4+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf"
|
# bindsym Mod4+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf"
|
||||||
# bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf fq"
|
# bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf fq"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
include ~/.cache/wal/colors-kitty.conf
|
include ~/.cache/wal/colors-kitty.conf
|
||||||
# background_opacity .7
|
# background_opacity .7
|
||||||
# background_opacity .8
|
# background_opacity .8
|
||||||
background_opacity .85
|
# background_opacity .85
|
||||||
# background_opacity .9
|
background_opacity .9
|
||||||
clipboard_control write-clipboard write-primary
|
clipboard_control write-clipboard write-primary
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,10 @@ a add speed -.2
|
|||||||
s add speed .2
|
s add speed .2
|
||||||
|
|
||||||
# seek
|
# seek
|
||||||
Shift+RIGHT seek 1
|
Ctrl+RIGHT no-osd seek 0.2 exact
|
||||||
Shift+LEFT seek -1
|
Ctrl+LEFT no-osd seek -0.2 exact
|
||||||
|
Shift+RIGHT no-osd seek 1 exact
|
||||||
|
Shift+LEFT no-osd seek -1 exact
|
||||||
RIGHT seek 3
|
RIGHT seek 3
|
||||||
LEFT seek -3
|
LEFT seek -3
|
||||||
UP seek 10
|
UP seek 10
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
sub-auto=fuzzy
|
sub-auto=fuzzy
|
||||||
# volume=25
|
# volume=25
|
||||||
volume=75
|
# volume=75
|
||||||
ytdl-format=best
|
ytdl-format=best
|
||||||
ytdl-raw-options=sub-format=en,write-srt=
|
ytdl-raw-options=sub-format=en,write-srt=
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ urgency.user.project.fn.coefficient=5
|
|||||||
urgency.user.project.mny.coefficient=7
|
urgency.user.project.mny.coefficient=7
|
||||||
urgency.user.project.ms.coefficient=3
|
urgency.user.project.ms.coefficient=3
|
||||||
urgency.user.project.pey.coefficient=10
|
urgency.user.project.pey.coefficient=10
|
||||||
urgency.user.project.pogo.coefficient=5
|
urgency.user.project.pogo.coefficient=7
|
||||||
urgency.user.project.sch.coefficient=7
|
urgency.user.project.sch.coefficient=7
|
||||||
urgency.uda.priority.H.coefficient=10
|
urgency.uda.priority.H.coefficient=10
|
||||||
urgency.uda.priority.M.coefficient=4
|
urgency.uda.priority.M.coefficient=4
|
||||||
@@ -64,6 +64,7 @@ urgency.uda.priority.L.coefficient=-7
|
|||||||
urgency.uda.priority..coefficient=1
|
urgency.uda.priority..coefficient=1
|
||||||
urgency.user.tag.jira.coefficient=5
|
urgency.user.tag.jira.coefficient=5
|
||||||
# urgency.user.tag.nx.coefficient=15
|
# urgency.user.tag.nx.coefficient=15
|
||||||
|
urgency.user.tag.nexus.coefficient=3
|
||||||
|
|
||||||
# }}} urgency #
|
# }}} urgency #
|
||||||
|
|
||||||
|
|||||||
@@ -66,8 +66,8 @@ autocmd FileType *css,gitcommit,haskell,htmldjango,html,javascript,json,lisp,mar
|
|||||||
autocmd BufNewFile,BufRead *.gd set expandtab!
|
autocmd BufNewFile,BufRead *.gd set expandtab!
|
||||||
autocmd Filetype go set noexpandtab sw=4
|
autocmd Filetype go set noexpandtab sw=4
|
||||||
" autocmd FileType go,html,java,javascript,python,lua set fdm=indent
|
" autocmd FileType go,html,java,javascript,python,lua set fdm=indent
|
||||||
" autocmd FileType go,html,java,javascript,Jenkinsfile,python,lua set fdm=indent
|
autocmd FileType go,html,java,javascript,Jenkinsfile,python,lua set fdm=indent
|
||||||
autocmd FileType html,javascript,Jenkinsfile,python,lua set fdm=indent
|
" autocmd FileType html,javascript,Jenkinsfile,python,lua set fdm=indent
|
||||||
autocmd Filetype markdown let g:AutoPairs = {'(':')', '[':']', '{':'}','"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''", "*":"*"}
|
autocmd Filetype markdown let g:AutoPairs = {'(':')', '[':']', '{':'}','"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''", "*":"*"}
|
||||||
" autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
" autocmd Filetype markdown map <F8> :LivedownToggle<CR>
|
||||||
autocmd Filetype markdown map <F8> :InstantMarkdownPreview<CR>
|
autocmd Filetype markdown map <F8> :InstantMarkdownPreview<CR>
|
||||||
@@ -598,6 +598,7 @@ autocmd Filetype fish inoremap <localleader>2 $argv[2]
|
|||||||
autocmd Filetype javascript inoremap <localleader>x process.exit()
|
autocmd Filetype javascript inoremap <localleader>x process.exit()
|
||||||
|
|
||||||
autocmd Filetype markdown inoremap <localleader>c - [ ]
|
autocmd Filetype markdown inoremap <localleader>c - [ ]
|
||||||
|
autocmd Filetype markdown inoremap <localleader>t TODO:
|
||||||
autocmd Filetype markdown nnoremap <localleader>x 0f[lrx
|
autocmd Filetype markdown nnoremap <localleader>x 0f[lrx
|
||||||
" nnoremap <localleader>x 0f[lrx
|
" nnoremap <localleader>x 0f[lrx
|
||||||
|
|
||||||
@@ -610,6 +611,9 @@ autocmd Filetype go-template inoremap <localleader>e {{"{{ else }}"}}
|
|||||||
autocmd Filetype go-template inoremap <localleader>hd {{"{{ .chezmoi.homedir }}"}}
|
autocmd Filetype go-template inoremap <localleader>hd {{"{{ .chezmoi.homedir }}"}}
|
||||||
autocmd Filetype go-template nnoremap <localleader>fp :%s/{{"{{{"}}/[[[/g<CR>:%s/}}}/]]]/g<CR>
|
autocmd Filetype go-template nnoremap <localleader>fp :%s/{{"{{{"}}/[[[/g<CR>:%s/}}}/]]]/g<CR>
|
||||||
|
|
||||||
|
autocmd Filetype Jenkinsfile nnoremap <localleader>q :.s/"/'/g<CR>
|
||||||
|
autocmd Filetype Jenkinsfile vnoremap <localleader>q :s/"/'/g<CR>
|
||||||
|
|
||||||
autocmd Filetype python inoremap <localleader>bp breakpoint()
|
autocmd Filetype python inoremap <localleader>bp breakpoint()
|
||||||
autocmd Filetype python inoremap <localleader>s self.
|
autocmd Filetype python inoremap <localleader>s self.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user