Last active
January 16, 2017 01:02
-
-
Save acro5piano/de809b75d21804cd7aa222e133af49cc to your computer and use it in GitHub Desktop.
fzf.vimがいい感じ あとvim-plugも ref: http://qiita.com/acro5piano/items/074f33553dd169ef8099
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 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