Socket
Socket
Sign inDemoInstall

joplin-plugin-custom-codemirror-vimrc

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    joplin-plugin-custom-codemirror-vimrc

Pressing `ctrl+Shift+P` and typing `vimrc` allows editing a very-limited `.vimrc`-like configuration file for CodeMirror's ViM mode.


Version published
Weekly downloads
2
decreased by-81.82%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

joplin-plugin-custom-codemirror-vimrc

Pressing ctrl+Shift+P and typing vimrc allows editing a very-limited .vimrc-like configuration file for CodeMirror's ViM mode.

See the relevant post on the Joplin forum.

This is a sample vimrc-like configuration file:

" A .vimrc-like file. At present, very little is supported.
" You can use the commands:
"   inoremap, vnoremap, nnoremap
"   imap, nmap, vmap
"   unmap
" Because commands are passed directly to CodeMirror's VIM API,
" insert-mode mappings seem to be unable to insert text.
"
" Examples:
" Allow copying/pasting with ctrl+c/ctrl+v when in insert mode.
unmap <C-c>
unmap <C-v>
"
" Map jk to Escape in insert mode:
imap jk <Esc>

Keywords

FAQs

Last updated on 11 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc