vim: Remove Command-T, add Skim
This commit is contained in:
parent
e6246f54fd
commit
f78e30c7ed
|
@ -21,6 +21,7 @@ nnoremap <silent> dn :GoDebugNext<cr>
|
||||||
nnoremap <silent> ds :GoDebugStep<cr>
|
nnoremap <silent> ds :GoDebugStep<cr>
|
||||||
|
|
||||||
" Vim-Go configuration:
|
" Vim-Go configuration:
|
||||||
|
let g:go_decls_mode = 'skim'
|
||||||
let g:go_fmt_autosave = 0
|
let g:go_fmt_autosave = 0
|
||||||
" Vim-Go seems to handle fix-on-save better than ALE:
|
" Vim-Go seems to handle fix-on-save better than ALE:
|
||||||
let g:go_imports_autosave = 1
|
let g:go_imports_autosave = 1
|
||||||
|
|
20
vimrc
20
vimrc
|
@ -157,18 +157,9 @@ inoremap <expr><C-]> pumvisible() ? "\<C-]>" : "\<Enter>"
|
||||||
" vim-markdown configuration:
|
" vim-markdown configuration:
|
||||||
let g:vim_markdown_conceal = 1
|
let g:vim_markdown_conceal = 1
|
||||||
|
|
||||||
" Command-T configuration:
|
" Skim configuration:
|
||||||
let switchbuf="usetab"
|
nmap <leader>t :GFiles<cr>
|
||||||
map <leader>T :CommandTFlush<CR>
|
nmap <leader>b :Buffers<cr>
|
||||||
map <Leader>r :CommandTMRU<CR>
|
|
||||||
map <Leader>k :CommandTHelp<CR>
|
|
||||||
map <Leader>c :CommandTCommand<CR>
|
|
||||||
let g:CommandTFileScanner="git"
|
|
||||||
let g:CommandTGitScanSubmodules=1
|
|
||||||
let g:CommandTGitIncludeUntracked=1
|
|
||||||
let g:CommandTMatchWindowAtTop=0
|
|
||||||
let g:CommandTMaxHeight=20
|
|
||||||
packadd! command-t
|
|
||||||
|
|
||||||
" Lightline configuration:
|
" Lightline configuration:
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
@ -274,6 +265,11 @@ packadd! lightline.vim
|
||||||
packadd! tmux-complete.vim
|
packadd! tmux-complete.vim
|
||||||
packadd! vim-commentary
|
packadd! vim-commentary
|
||||||
packadd! vim-gitgutter
|
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-go
|
||||||
packadd! vim-surround
|
packadd! vim-surround
|
||||||
packadd! vim-yaml-folds
|
packadd! vim-yaml-folds
|
||||||
|
|
Loading…
Reference in New Issue