more vim updates

This commit is contained in:
Noah Masur
2021-04-17 18:04:53 -04:00
parent 67bba74816
commit 555d49f257
6 changed files with 28 additions and 2 deletions

View File

@ -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>

View File

@ -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

View File

@ -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