mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12:56 +00:00
more vim updates
This commit is contained in:
parent
67bba74816
commit
555d49f257
@ -594,6 +594,7 @@ key_bindings:
|
||||
- { key: D, mods: Super, chars: "\x14" } # CMD-D sends CTRL-T for fzf
|
||||
- { key: O, mods: Super, chars: "edit\x0D" } # CMD-O opens file in vim
|
||||
- { key: Return, mods: Shift, chars: "\x1b[13;2u" }
|
||||
- { key: E, mods: Alt, chars: "\x1be" } # Send ALT-E for fish
|
||||
|
||||
#- { key: Paste, action: Paste }
|
||||
#- { key: Copy, action: Copy }
|
||||
|
@ -40,7 +40,6 @@ function abbrs --description 'All abbreviations'
|
||||
abbr -a gbD 'git branch -D'
|
||||
abbr -a gr 'git reset'
|
||||
abbr -a grh 'git reset --hard'
|
||||
abbr -a grm 'git reset --mixed'
|
||||
abbr -a gm 'git merge'
|
||||
abbr -a gmf 'git-merge-fuzzy'
|
||||
abbr -a gcp 'git cherry-pick'
|
||||
|
@ -82,3 +82,6 @@ noremap <silent> <Leader>ft :Fern . -drawer -width=35 -toggle<CR><C-w>=
|
||||
nnoremap <Leader>ta :Tabularize /
|
||||
nnoremap <Leader>t# :Tabularize /#<CR>
|
||||
nnoremap <Leader>t" :Tabularize /"<CR>
|
||||
|
||||
" Read todo comments
|
||||
nnoremap <Leader>td /# \?TODO:\?<CR>
|
||||
|
@ -10,6 +10,7 @@ nnoremap ,cm :-1read $DOTS/shell/templates/configmap.yaml<CR>Gdd0gg
|
||||
nnoremap ,sec :-1read $DOTS/shell/templates/secret.yaml<CR>Gdd0gg
|
||||
nnoremap ,dep :-1read $DOTS/shell/templates/deployment.yaml<CR>Gdd0gg
|
||||
nnoremap ,svc :-1read $DOTS/shell/templates/service.yaml<CR>Gdd0gg
|
||||
nnoremap ,ing :-1read $DOTS/shell/templates/ingress.yaml<CR>Gdd0gg
|
||||
nnoremap ,cro :-1read $DOTS/shell/templates/clusterrole.yaml<CR>Gdd0gg
|
||||
nnoremap ,crb :-1read $DOTS/shell/templates/clusterrolebinding.yaml<CR>Gdd0gg
|
||||
nnoremap ,ro :-1read $DOTS/shell/templates/role.yaml<CR>Gdd0gg
|
||||
|
@ -14,4 +14,5 @@ let g:vimwiki_key_mappings =
|
||||
\ 'all_maps': 1,
|
||||
\ 'mouse': 1,
|
||||
\ }
|
||||
let g:vimwiki_auto_chdir = 1
|
||||
let g:vimwiki_auto_chdir = 1 " Set local dir to Wiki when open
|
||||
let g:vimwiki_create_link = 0 " Don't automatically create new links
|
||||
|
21
shell/templates/ingress.yaml
Normal file
21
shell/templates/ingress.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
apiVersion: networking.k8s.io/v1beta1 # must be beta until k8s 1.19
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: alb
|
||||
alb.ingress.kubernetes.io/group.name:
|
||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
|
||||
alb.ingress.kubernetes.io/scheme: internet-facing
|
||||
alb.ingress.kubernetes.io/security-groups:
|
||||
alb.ingress.kubernetes.io/tags: Project=
|
||||
alb.ingress.kubernetes.io/target-type: instance
|
||||
name:
|
||||
namespace:
|
||||
spec:
|
||||
rules:
|
||||
- host:
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName:
|
||||
servicePort:
|
Loading…
Reference in New Issue
Block a user