Auto reload .Xresources with vim

Forum Forums General Tips and Tricks Auto reload .Xresources with vim

This topic contains 0 replies, has 1 voice, and was last updated by Koo Aug 16-7:15 pm.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #25823
    Member
    Koo
    Koo

    Edit your .Xresources file with vim then write the file. To auto reload .Xresources add the below to your .vimrc.

    autocmd BufWritePost ~/.Xresources !xrdb %

    Also if you are over using shift+: for the command line in vim. shift is no longer needed just : colon

    “====[ Swap : and ; to make colon commands easier to type ]======

    nnoremap ; :
    nnoremap : ;

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.