junegunn / junegunn/fzf.vim

The 'jump' / 'goto' command?

Open
#663 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [x] Question
- [ ] Bug
- [ ] Suggestion
- OS
- [x] Linux
- [x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [x] Vim
- [ ] Neovim

Let's say we have an open buffer, we have run `:BLines` command on it, and we have selected our line of interest. Now, after we press enter, we'll be transferred to that line in our buffer. My question is the following: is it somehow possible to modify the behaviour of this 'goto' / 'jump' command? For example, I'd like to center that line of interest, thus it would be great somehow to tell Vim to `zz` after the jump. Is it possible?

(It would also solve [issue #591](https://github.com/junegunn/fzf.vim/issues/591) if it'd be possible to add something like `zo` to that jump.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.