Quantcast
Channel: BufRead,BufNew keymaps modify current buffer instead of opened buffer in Neovim and Vim - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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

Replaced BufNew with BufNewFile event and it works as expected

View Article



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
Browsing latest articles
Browse All 2 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>