Skip to content

Instantly share code, notes, and snippets.

@acro5piano
Last active January 16, 2017 01:02
Show Gist options
  • Save acro5piano/de809b75d21804cd7aa222e133af49cc to your computer and use it in GitHub Desktop.
Save acro5piano/de809b75d21804cd7aa222e133af49cc to your computer and use it in GitHub Desktop.
fzf.vimがいい感じ あとvim-plugも ref: http://qiita.com/acro5piano/items/074f33553dd169ef8099
" like Spacemacs
let mapleader = "\<Space>"
nnoremap <Leader>b :Buffers<CR>
nnoremap <Leader>x :Commands<CR>
nnoremap <Leader>f :GFiles<CR>
nnoremap <Leader>a :Ag<CR>
nnoremap <Leader>k :bd<CR>
command! FZFMru call fzf#run({
\ 'source': v:oldfiles,
\ 'sink': 'e',
\ 'options': '-m -x +s',
\ 'down': '40%'})
nnoremap <Leader>r :FZFMru<CR>
% curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment