updates from oailaptop
This commit is contained in:
parent
da08d846a8
commit
27cf792916
3 changed files with 5 additions and 2 deletions
|
|
@ -99,8 +99,8 @@ augroup go
|
|||
autocmd FileType go set softtabstop=2
|
||||
autocmd FileType go set shiftwidth=2
|
||||
autocmd FileType go set noexpandtab
|
||||
autocmd FileType go imap <buffer> <silent> <Leader>ife <C-o>:GoIfErr<cr>
|
||||
autocmd FileType go nmap <buffer> <silent> <Leader>ife :GoIfErr<cr>
|
||||
autocmd FileType go imap <buffer> <silent> <Leader>rr <C-o>:GoIfErr<cr>
|
||||
autocmd FileType go nmap <buffer> <silent> <Leader>rr :GoIfErr<cr>
|
||||
autocmd FileType go nnoremap <silent> <Leader>im <cmd>lua require('telescope').extensions.goimpl.goimpl{theme = "ivy", layout_config = {height = 10}}<cr>
|
||||
"autocmd FileType go nmap <Leader>gd <Plug>(go-doc)
|
||||
"autocmd FileType go nmap gd <Plug>(go-def)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue