mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
more vim updates
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user