It's pronounced Diane. I do data architecture, operations, and backend development. In my spare time I maintain Massive.js, a data mapper for Node.js and PostgreSQL.
This won't be changing your mind at all but you can in fact hot-reload config changes in vim with :so $MYVIMRC, or even configure your vimrc to auto-reload by adding an autocommand group:
augroup myvimrc
au!auBufWritePost.vimrc,vimrc so $MYVIMRC
augroup END
Awesome! I knew is was possible but not that it is that easy. Thanks
As I see, when I write a .vimrc or vimrc buffer it will also run the command to load my vimrc. Nice.
It's pronounced Diane. I do data architecture, operations, and backend development. In my spare time I maintain Massive.js, a data mapper for Node.js and PostgreSQL.
Right -- I have ~/.vimrc symlinked from ~/.dotfiles/vimrc so the buffer could have either name, if you don't have that setup you can obviously adjust the name detection as needed.
" reload vim configuration (aka vimrc)" :e reloads buffer to trigger the FileType event, useful if you don't want to put files into ftplugin
command! ReloadVimConfig so $MYVIMRC
\| execute 'e' \| echo 'config reloaded!'
This won't be changing your mind at all but you can in fact hot-reload config changes in vim with
:so $MYVIMRC
, or even configure your vimrc to auto-reload by adding an autocommand group:Awesome! I knew is was possible but not that it is that easy. Thanks
As I see, when I write a
.vimrc
orvimrc
buffer it will also run the command to load my vimrc. Nice.Right -- I have ~/.vimrc symlinked from ~/.dotfiles/vimrc so the buffer could have either name, if you don't have that setup you can obviously adjust the name detection as needed.
btw, I ended up doing like this:
github.com/lucasprag/vimlociraptor...
Thanks