Skip to content

Commit

Permalink
add shortcuts for finding stuff with fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Aug 5, 2019
1 parent 54d497b commit 4aef307
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dotfiles/neovim.nix
Expand Up @@ -56,6 +56,14 @@ in {
nnoremap <leader>ff :call fzf#run(fzf#wrap({"source": "${pkgs.python3}/bin/python ${
./neovim/similar-sort.py
} 'git ls-files' " . @%, "sink": "edit"}))<CR>
nnoremap <leader>fb :Buffers<CR>
nnoremap <leader>fs :Ag<CR>
nnoremap <leader>fl :Lines<CR>
nnoremap <leader>fh :History<CR>
nnoremap <leader>fc :Commits<CR>
nnoremap <leader>fC :BCommmits<CR>
nnoremap <leader>fH :Helptags<CR>
'';

packages.myVimPackage = {
Expand Down

0 comments on commit 4aef307

Please sign in to comment.