GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - benja2998/eel.nvim: Extensible Emacs Layer

BranchesTags
Open more actions menu

Latest commit

 

History

30 Commits
30 Commits

Folders and files

NameName
Last commit message
Last commit date
lua/eel
lua/eel
 
 
README.md
README.md
 
 
demo.gif
demo.gif
 
 

Repository files navigation

eel.nvim

demo

eel (extensible emacs layer) is a plugin for Neovim that changes Neovim to use Emacs keybinds. This plugin does not aim to provide every single Emacs functionality.

Installation

Use vim.pack:

vim.pack.add({
    'https://github.com/benja2998/eel.nvim',
})

Extending eel

eel provides an API to extend it with more functionality.

You can bind a key with the eel.add_key and the eel.add_CX_key functions. The former will add a key prefixed by C-c, and the latter will add a key prefixed by C-x.

Example configuration

vim.o.expandtab = true
vim.o.shiftwidth = 4
vim.o.tabstop = 4
vim.o.number = true

vim.pack.add({
    'https://github.com/benja2998/eel.nvim',
    'https://github.com/nvim-lualine/lualine.nvim',
    'https://github.com/folke/tokyonight.nvim',
})

vim.cmd[[colorscheme tokyonight]]

require('lualine').setup()

local eel = require("eel")
eel.add_CX_key("d", "<CMD>Lex<CR>") -- C-x d
eel.add_key("u", "<C-o><C-r>") -- C-c u

Note for using with netrw

Netrw doesn't like eel forcing it into insert mode. You should prefix netrw commands (enter, %, etc) with Escape.

About

Extensible Emacs Layer

Topics

neovimneovim-colorschemeneovim-configneovim-configurationneovim-dotfilesneovim-luaneovim-pluginneovim-plugin-luaneovim-pluginsneovim-theme

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.