Skip to content

Commit

Permalink
Removing vim_codex plugin, adding shortcut for go build
Browse files Browse the repository at this point in the history
  • Loading branch information
DMcP89 committed Apr 15, 2024
1 parent dc8d012 commit 5bc79f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Plugin 'ap/vim-buftabline'
Plugin 'pylint.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'fatih/vim-go'
Plugin 'tom-doerr/vim_codex'

Bundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}

Expand Down Expand Up @@ -99,8 +98,6 @@ inoremap ` ``<Esc>ha
" fugitive mappings
nnoremap <Leader>d :Gvdiffsplit
" vim codex
nnoremap <Leader>x :CreateCompletion<CR>

" vim-go configs
" Go syntax highlighting
Expand All @@ -119,6 +116,7 @@ let g:go_auto_type_info = 1

autocmd FileType go nmap <leader>r <Plug>(go-run)
autocmd FileType go nmap <leader>t <Plug>(go-test)
autocmd FileType go nmap <leader>b <Plug>(go-build)
au filetype go inoremap <buffer> . .<C-x><C-o>
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ showenv:
copy-files:
@echo 'Copying dotfiles from home directory'
@cp $(HOME)/.bash_aliases $(CURDIR)
@cp $(HOME)/.zsh* $(CURDIR)
# @cp $(HOME)/.zsh* $(CURDIR)
@cp $(HOME)/.bashrc $(CURDIR)
@cp $(HOME)/.gitconfig $(CURDIR)
@cp $(HOME)/.vimrc $(CURDIR)
Expand Down

0 comments on commit 5bc79f3

Please sign in to comment.