From 3260d56eb6e95886e5ec66297c0f8342e2a0f677 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 15 Apr 2015 23:33:08 +0900 Subject: [PATCH] Revert 77fba753f6dafe28dbf57326f68f540df6550274...4df4c01f2dfb42becb69d282bc264c1eae3ad110 on Examples (vim) --- Examples-(vim).md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Examples-(vim).md b/Examples-(vim).md index 7dd5a3a..4d62ee4 100644 --- a/Examples-(vim).md +++ b/Examples-(vim).md @@ -1,4 +1,4 @@ -## Configuring `:FZF` command +### Configuring `:FZF` command - `g:fzf_action` - `g:fzf_height` @@ -41,7 +41,7 @@ launcher. Refer to the [this wiki page][macvim-iterm2] to see how to set up. [macvim-iterm2]: https://github.com/junegunn/fzf/wiki/On-MacVim-with-iTerm2 -## `locate` command integration +### `locate` command integration ```vim command! -nargs=1 Locate call fzf#run( @@ -50,7 +50,7 @@ command! -nargs=1 Locate call fzf#run( `:Locate /` will list every file on the system. So make sure that you're using Go version of fzf which is significantly faster than the old Ruby version. -## Open files in splits +### Open files in splits *Deprecated. Use `CTRL-X/V/T` with `:FZF` command instead.* @@ -66,7 +66,7 @@ nnoremap v :call fzf#run({ \ 'sink': 'vertical botright split' }) ``` -## Choose color scheme +### Choose color scheme ```vim nnoremap C :call fzf#run({ @@ -79,7 +79,7 @@ nnoremap C :call fzf#run({ \ }) ``` -## Select buffer +### Select buffer ```vim function! s:buflist() @@ -101,7 +101,7 @@ nnoremap :call fzf#run({ \ }) ``` -## Simple MRU search +### Simple MRU search ```vim command! FZFMru call fzf#run({ @@ -111,7 +111,7 @@ command! FZFMru call fzf#run({ \}) ``` -## Jump to tags +### Jump to tags ```vim command! FZFTag if !empty(tagfiles()) | call fzf#run({ @@ -120,7 +120,7 @@ command! FZFTag if !empty(tagfiles()) | call fzf#run({ \ }) | else | echo 'No tags' | endif ``` -## Search lines in all open vim buffers +### Search lines in all open vim buffers ```vimL function! s:line_handler(l) @@ -146,7 +146,7 @@ command! FZFLines call fzf#run({ \}) ``` -## Narrow ag results within vim +### Narrow ag results within vim Add this to your .vimrc @@ -170,7 +170,7 @@ endfunction Then use `:AgFZF` followed by an ag-recogizable regex to pipe ag results into fzf for narrowing. Selected results are opened in new tabs so that you can open multiple positions within the same file (perhaps there's a better way of doing this). -## Fuzzy cmdline completion +### Fuzzy cmdline completion ```vimL cnoremap eGetCompletions()