diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index 557f02f..00f908b 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -21,6 +21,7 @@ nnoremap dn :GoDebugNext nnoremap ds :GoDebugStep " Vim-Go configuration: +let g:go_decls_mode = 'skim' let g:go_fmt_autosave = 0 " Vim-Go seems to handle fix-on-save better than ALE: let g:go_imports_autosave = 1 diff --git a/vimrc b/vimrc index 96d051f..45bfe24 100644 --- a/vimrc +++ b/vimrc @@ -157,18 +157,9 @@ inoremap pumvisible() ? "\" : "\" " vim-markdown configuration: let g:vim_markdown_conceal = 1 -" Command-T configuration: -let switchbuf="usetab" -map T :CommandTFlush -map r :CommandTMRU -map k :CommandTHelp -map c :CommandTCommand -let g:CommandTFileScanner="git" -let g:CommandTGitScanSubmodules=1 -let g:CommandTGitIncludeUntracked=1 -let g:CommandTMatchWindowAtTop=0 -let g:CommandTMaxHeight=20 -packadd! command-t +" Skim configuration: +nmap t :GFiles +nmap b :Buffers " Lightline configuration: set laststatus=2 @@ -274,6 +265,11 @@ packadd! lightline.vim packadd! tmux-complete.vim packadd! vim-commentary packadd! vim-gitgutter +" Requires both skim.vim plugin to be manually installed: +" https://github.com/lotabout/skim/blob/master/plugin/skim.vim +" and also this separate plugin, which is loaded here: +" https://github.com/lotabout/skim.vim/blob/master/autoload/fzf/vim.vim +packadd! skim.vim packadd! vim-go packadd! vim-surround packadd! vim-yaml-folds