vim-notes icon indicating copy to clipboard operation
vim-notes copied to clipboard

Using notes outside of notes directory

Open pdoak opened this issue 9 years ago • 1 comments

I really like the vim-notes syntax highlighting and would like to be able to use that for notes that are outside of my notes directory. Having read some other posts, I thought I could just set filetype=notes when editing a file outside of the notes directory and that would allow the vim-notes syntax highlighting to work. Unfortunately, it does not work for me.

Is there anything else that I need to do in order to get this working?

pdoak avatar Apr 20 '16 09:04 pdoak

I got it working. I am using vim-plug as my plugin manager and I had the following in my vimrc: Plug 'xolox/vim-notes',{'on':[ 'Note' ,'SearchNotes']} | Plug 'xolox/vim-misc'

When I set ft=notes the plugin was not invoked. I just needed to remove ,{'on':[ 'Note' ,'SearchNotes']} | Plug 'xolox/vim-misc'

pdoak avatar Apr 25 '16 21:04 pdoak