Run a command just after a completion
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
- Category
- [x] Question
- [ ] Bug
- [x] Suggestion
- OS
- [x] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [x] Neovim
I want to execute a command just after entering in a file. In my case, I want to go to the last cursor position after executing `:Mark`.
I tried
```
function! Jump2()
exec ':Marks'
exec "normal g\""
endfunc
```
or
:Marks | norm "g\""
But it doesn't work. The second command seems to be ignored. I didn't any any triggers that runs after the completion in the source code.
Is it possible? Do you think it's a good idea? Is it the fzf.vim's job?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.