Quantcast
Channel: BufRead,BufNew keymaps modify current buffer instead of opened buffer in Neovim and Vim - Stack Overflow
Browsing index pages (2 articles)
↧

BufRead,BufNew keymaps modify current buffer instead of opened buffer in...

I can't scratch my head around why my keymaps in C++ file buffer are getting overwritten by rules for in file. I though BufRead executes after opening new file, right?I have the following vimrc...

View Article


Answer by Drdilyor for BufRead,BufNew keymaps modify current buffer instead...

Replaced BufNew with BufNewFile event and it works as expected

View Article

Browsing index pages (2 articles)


Latest Images