updates from ya macbook

This commit is contained in:
Dmitry Chumak
2025-02-27 19:26:30 +03:00
parent 3ca34914a5
commit 993dbd7fa1
3 changed files with 13 additions and 1 deletions

View File

@@ -19,3 +19,10 @@ if [ -f ~/.zshrc_local ]
then
source ~/.zshrc_local
fi
# The next line updates PATH for CLI.
if [ -f '/Users/dmchumak/yandex-cloud/path.bash.inc' ]; then source '/Users/dmchumak/yandex-cloud/path.bash.inc'; fi
# The next line enables shell command completion for yc.
if [ -f '/Users/dmchumak/yandex-cloud/completion.zsh.inc' ]; then source '/Users/dmchumak/yandex-cloud/completion.zsh.inc'; fi

View File

@@ -43,6 +43,11 @@ nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)
" Remap keys for applying refactor code actions
nmap <silent> <leader>re <Plug>(coc-codeaction-refactor)
xmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
nmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
"set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
" Applying codeAction to the selected region.

View File

@@ -1,2 +1,2 @@
let g:go_imports_autosave = 0
let g:go_imports_autosave = 1