[vim] iferr ,ife and better previews when searching files
This commit is contained in:
parent
61df077539
commit
b9b5ebe807
3 changed files with 15 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>rr <C-o>:GoIfErr<cr>
|
||||
autocmd FileType go nmap <buffer> <silent> <Leader>rr :GoIfErr<cr>
|
||||
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 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