Skip to content

Conversation

@noyez
Copy link

@noyez noyez commented Jan 5, 2022

As a warning, i have never written vim files before so this is a first-cut.

With fzf, if you specify the following (which is the default):

let g:fzf_action = {
  \ 'ctrl-t': 'tab split',
  \ 'ctrl-x': 'split',
  \ 'ctrl-v': 'vsplit' }

It is possible to override the default hotkey for opening files from the fzf view using g:fzf_action.
In my case i have ctl-x already mapped to an action, so i cannot open
a file in split-view using fzf/skim. Changing the g:fzf_action allows
me to change the hotkey for split-view to ctrl-e (or anything)

let g:fzf_action = {
  \ 'ctrl-t': 'tab split',
  \ 'ctrl-e': 'split',
  \ 'ctrl-v': 'vsplit' }

With fzf, if you specify the following (which is the default):
```
let g:fzf_action = {
  \ 'ctrl-t': 'tab split',
  \ 'ctrl-x': 'split',
  \ 'ctrl-v': 'vsplit' }
```

It is possible to override the default hotkey for opening files from the fzf view using `g:fzf_action`.
In my case i have `ctl-x` already mapped to an action, so i cannot open
a file in split-view using fzf/skim. Changing the `g:fzf_action` allows
me to change the hotkey for split-view to `ctrl-e` (or anything)

```
let g:fzf_action = {
  \ 'ctrl-t': 'tab split',
  \ 'ctrl-e': 'split',
  \ 'ctrl-v': 'vsplit' }
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant