2019-10-25 23:59:51 +02:00
|
|
|
" Only git-tracked files, Vim needs to be in a Git repository
|
|
|
|
nnoremap <Leader>fg :GFiles<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" All files
|
|
|
|
nnoremap <Leader>ff :Files<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" Currently open buffers
|
|
|
|
nnoremap <Leader>fb :Buffers<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" Buffer history
|
|
|
|
nnoremap <Leader>fh :History<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" Tags in buffer
|
|
|
|
nnoremap <Leader>ft :BTags<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" Tags in all project files
|
|
|
|
nnoremap <Leader>fT :Tags<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" Snippets for the current fileytpe (using Ultisnips)
|
|
|
|
nnoremap <Leader>fs :Snippets<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" All available commands
|
|
|
|
nnoremap <Leader>f: :Commands<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" All commits (using fugitive)
|
|
|
|
nnoremap <Leader>fc :Commits<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
2019-10-25 23:59:51 +02:00
|
|
|
" All commits for the current buffer (using fugitive)
|
|
|
|
nnoremap <Leader>fC :BCommits<CR>
|
2019-11-04 11:56:18 +01:00
|
|
|
|
|
|
|
" Select normal mode mapping by searching for its name
|
|
|
|
nmap <Leader><Tab> <Plug>(fzf-maps-n)
|
|
|
|
|
|
|
|
" Select visual mode mapping by searching for its name
|
|
|
|
xmap <Leader><Tab> <Plug>(fzf-maps-x)
|
|
|
|
|
|
|
|
" Select operator pending mode mapping by searching for its name
|
|
|
|
omap <Leader><Tab> <Plug>(fzf-maps-o)
|