captbaritone / captbaritone/repo-vimrc

BufReadPost command doesn't work

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I have this in my vimrc:

```
55 " Remember last position
56 if has("autocmd")
57 au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
58 endif
```
Installing this plugin disables this line and vim no longer remembers my last position.

Seems related to #1

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem using the vimrc snippet and the plugin, focusing on how the plugin handles the BufReadPost command. Review the related issue #1 for context and determine which plugin behavior prevents Vim from remembering the last position. Done means the command works while the plugin remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.