Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkEdit-vim

Vim Keybindings for MarkEdit that leverages markedit-api.

Learn more about codemirror-vim.

Installation

Install this extension from the MarkEdit Extension Registry.

You can also run yarn install && yarn build to build and deploy the script.

Custom Mappings

You can define custom key mappings in two ways:

  1. Add extension.markeditVim to ~/Library/Containers/app.cyan.markedit/Data/Documents/settings.json:

    {
      "extension.markeditVim": {
        "mappings": [
          { "before": "jj", "after": "<Esc>", "mode": "insert" },
          { "before": "Y", "after": "y$" }
        ]
      }
    }
  2. Create ~/Library/Containers/app.cyan.markedit/Data/Documents/scripts/markedit-vim.json alongside the extension:

    {
      "mappings": [
        { "before": "jj", "after": "<Esc>", "mode": "insert" },
        { "before": "Y", "after": "y$" }
      ]
    }

Available modes: normal, insert, visual, replace.

About

Vim Keybindings for MarkEdit.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages