updates from ya macbook
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
let g:go_imports_autosave = 0
|
||||
let g:go_imports_autosave = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user