Giter VIP home page Giter VIP logo

nvimacs's Introduction

nvimacs

Bring Emacs key bindings to Neovim. Ported the navigation & editing keys from Vimacs.

Installation

packer.nvim

use({ "sei40kr/nvimacs", event = { "InsertEnter *", "CmdlineEnter *" } })

Keymap

Mode Key Description
Insert / Cmdline <C-b> Move cursor 1 character forward (equivalent to <Right>)
Insert / Cmdline <C-f> Move cursor 1 character backward (equivalent to <Left>)
Insert / Cmdline <C-a> Move cursor to beginning of current line (equivalent to <Home>)
Insert / Cmdline <C-e> Move cursor to end of current line (equivalent to <End>)
Insert / Cmdline <M-b> Move cursor backward until encountering the beginning of a word (equivalent to <C-o>))
Insert / Cmdline <M-f> Move cursor forward 1 word (equivalent to <C-o>))
Insert / Cmdline <C-k> Kill the rest of current line; If no nonblanks there, kill thru newline
Insert <C-BS> Delete previous word (equivalent to <C-w>)
Cmdline <M-BS> Delete previous word (equivalent to <C-w>)
Insert <C-p> Move cursor vertically up (equivalent to <Up>)
Insert <C-n> Move cursor vertically down (equivalent to <Down>)
Insert <M-a> Move cursor backward to start of sentence (equivalent to <C-o>()
Insert <M-e> Move cursor forward to next end of sentence (equivalent to <C-o>))
Insert <M-v> Scroll the window 1 page upwards (equivalent to <PageUp>)
Insert <C-v> Scroll the window 1 page downwards (equivalent to <PageDown>)
Insert <M-d> Kill characters forward until encountering the end of a word
Insert <M-k> Kill from cursor to end of sentence (equivalent to <C-o>d))

Known Issues

  • For somehow, the keymap in Command Line is not working.

nvimacs's People

Contributors

sei40kr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

liiil825

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.