Skip to content

Commit

Permalink
feat: better code navigation and refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nhunt committed Jul 2, 2020
1 parent e618729 commit 0574115
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dotfiles/.vimrc
Expand Up @@ -139,6 +139,13 @@ let g:ale_fixers={
let g:ale_completion_enabled = 1
let g:ale_completion_tsserver_autoimport = 1

" YouCompleteMe configuration
nnoremap <leader>gd :YcmCompleter GoTo<CR>
nnoremap <leader>gr :YcmCompleter GoToReferences<CR>
nnoremap <leader>gi :YcmCompleter GoToImplementation<CR>
nnoremap <leader>gt :YcmCompleter GoToType<CR>
nnoremap <leader>rr :YcmCompleter RefactorRename
" vim-go configuration
let g:go_fmt_command='goimports'
let g:go_highlight_types=1
Expand Down

0 comments on commit 0574115

Please sign in to comment.