Skip to content

MarkEdit-app/MarkEdit-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkEdit-vim

Vim Keybindings for MarkEdit that leverages markedit-api.

Learn more about codemirror-vim.

Installation

Copy dist/markedit-vim.js to ~/Library/Containers/app.cyan.markedit/Data/Documents/scripts/.

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors