You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing an R package using devtools and roxygen. This lets me auto-generate my .Rd files from specially formatted comments in the source .R files.
The problem is that certain backslash-letter combinations get interpreted as commands, when all I want to do is enter text. For example, \dquote activates \d, \link activates \l, etc. This is extremely frustrating: instead of \dQuote{text}
I have to write dQuote<esc>bi\<esc>ea{text}
Can the backslash commands be disabled for insert-mode? Or if this disrupts other people's workflow: can it at least be made optional?
Thanks :)
The text was updated successfully, but these errors were encountered:
I'm developing an R package using devtools and roxygen.
This lets me auto-generate my .Rd files from specially formatted
comments in the source .R files.
The problem is that certain backslash-letter combinations get
interpreted as commands, when all I want to do is enter text. For
example, \dquote activates \d, \link activates \l, etc.
This is extremely frustrating: instead of \dQuote{text}
I have to write
`dQuotebiea{text}'
Can the backslash commands be disabled for insert-mode? Or if this
disrupts other people's workflow: can it at least be made optional?
That's a good idea. I can create an option to avoid mappings in Insert
mode. For specific conflicts, you can change the corresponding key
bindings. Please, see :h r-plugin-key-bindings
See also :h r-plugin-localleader
And read about the difference between Leader and LocalLeader.
I'm developing an R package using
devtools
androxygen
. This lets me auto-generate my.Rd
files from specially formatted comments in the source.R
files.The problem is that certain backslash-letter combinations get interpreted as commands, when all I want to do is enter text. For example,
\dquote
activates\d
,\link
activates\l
, etc. This is extremely frustrating: instead of\dQuote{text}
I have to write
dQuote<esc>bi\<esc>ea{text}
Can the backslash commands be disabled for insert-mode? Or if this disrupts other people's workflow: can it at least be made optional?
Thanks :)
The text was updated successfully, but these errors were encountered: