All Projects → lunixbochs → Actualvim

lunixbochs / Actualvim

Licence: mit
Sublime Text 3 input mode using Neovim. Issues are closed, feel free to submit Pull Requests if you have bug fixes however.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Actualvim

Neovintageous
Vim emulation layer for Sublime Text.
Stars: ✭ 411 (-73.33%)
Mutual labels:  neovim, sublime-text
Vex
Houdini add-on for Sublime Text
Stars: ✭ 118 (-92.34%)
Mutual labels:  sublime-text
Nord Sublime Text
An arctic, north-bluish clean and elegant Sublime Text theme.
Stars: ✭ 109 (-92.93%)
Mutual labels:  sublime-text
Nvim Example Python Plugin
A simple Neovim Python plugin suitable as a template.
Stars: ✭ 115 (-92.54%)
Mutual labels:  neovim
Ubuntu On Steroids
Developer setup & configuration guide for Ubuntu.
Stars: ✭ 111 (-92.8%)
Mutual labels:  neovim
Sublime Js Custom
Customizable JavaScript syntax highlighting for Sublime Text.
Stars: ✭ 116 (-92.47%)
Mutual labels:  sublime-text
One Dark Theme
One Dark theme for Sublime Text
Stars: ✭ 109 (-92.93%)
Mutual labels:  sublime-text
Plantuml Previewer.vim
Vim / Neovim plugin for preview PlantUML
Stars: ✭ 119 (-92.28%)
Mutual labels:  neovim
Inspiredgithub.tmtheme
A color scheme for Sublime Text 3.
Stars: ✭ 117 (-92.41%)
Mutual labels:  sublime-text
Nvim Treesitter Context
Show code context
Stars: ✭ 113 (-92.67%)
Mutual labels:  neovim
Nvim Autopairs
autopairs for neovim written by lua
Stars: ✭ 112 (-92.73%)
Mutual labels:  neovim
Themr
A UI theme selector for Sublime Text.
Stars: ✭ 112 (-92.73%)
Mutual labels:  sublime-text
Futureproof
A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!
Stars: ✭ 117 (-92.41%)
Mutual labels:  neovim
Laravel 5 Snippets
Laravel 5 Snippets for Sublime Text
Stars: ✭ 110 (-92.86%)
Mutual labels:  sublime-text
Coc Yaml
Yaml language server extension for coc.nvim
Stars: ✭ 119 (-92.28%)
Mutual labels:  neovim
Productive Sublime Snippets Ruby
Ruby Snippets for Sublime Text
Stars: ✭ 109 (-92.93%)
Mutual labels:  sublime-text
Nvim Ts Rainbow
🌈 Rainbow parentheses for neovim using tree-sitter 🌈
Stars: ✭ 108 (-92.99%)
Mutual labels:  neovim
Git Blame.nvim
Git Blame plugin for Neovim written in Lua
Stars: ✭ 114 (-92.6%)
Mutual labels:  neovim
Notes
let me know if my notes help you :D (it's a mess, I know)
Stars: ✭ 119 (-92.28%)
Mutual labels:  neovim
Coc Spell Checker
A basic spell checker that works well with camelCase code for (Neo)vim
Stars: ✭ 118 (-92.34%)
Mutual labels:  neovim

ActualVim

Everything you like about using Sublime Text 3, and everything you like about typing in vim.

Actual uses an embedded Neovim instance to accurately manipulate each Sublime Text buffer as though you were editing the text directly in vim, while the Sublime Text interface, features, and plugins continue to work (see end of README for caveats).

This isn't a remote terminal UI like gvim and other vim frontends. Text modification and selections are bidirectionally synced into the actual Sublime Text UI.

Why?

Sublime looks way better than your terminal and has a rich plugin ecosystem.

Other Sublime vim emulation plugins, including the built-in Vintage, are only rough approximations of the functionality of vim itself. They are missing features or behave differently than the real thing.

With ActualVim, you can use your own vimrc, plugins, and any real vim motions/commands, because it is vim behind the scenes, and bidirectional sync means Sublime Text and the native OS interface still works too.

Usage

This plugin requires Neovim to be installed, but should otherwise work on all Sublime Text 3 platforms (tested primarily on Windows and macOS). Please use at least Neovim 0.2.2, but Neovim 0.3 or newer is highly recommended.

Clone ActualVim to the path found in Preferences -> Browse Packages... or sublime.packages_path(). Usually found here:

  • macOS: ~/Library/Application Support/Sublime Text 3/Packages/
  • Linux: ~/.config/sublime-text-3/Packages/
  • Windows: %APPDATA%/Sublime Text 3/Packages/

You can set the Neovim path by opening Preferences: ActualVim Settings using the command palette (cmd+shift+p or ctrl+shift+p) or via Preferences -> Package Settings -> ActualVim Settings.

ActualVim launches a single Neovim embedded instance and multiplexes each Sublime view into a separate buffer.

If the plugin doesn't work (a horizontal underline cursor appears when ActualVim kicks in), check the Sublime Text console for errors and make sure you set the Neovim path. Barring that, file an issue.

Misc

On OS X 10.7+, you should do defaults write com.sublimetext.3 ApplePressAndHoldEnabled -bool false to enable key repeat.

You can run ActualVim: Disable or ActualVim: Enable via the command pallete to toggle the input mode without losing vim state.

Caveats

Currently broken Sublime Features:

  • Multiple Selection (#8).
  • Auto-popups while typing, like completion (#57) and snippet suggestions (#94).
  • Sublime's undo isn't coalesced properly while in vim mode (it's one character at a time: #44).

Surfacing vim's UI (like the status bar) still needs some love, but I have some good ideas for making it look beautiful (better than your terminal) using Sublime's embedded HTML Phantom views.

Extremely large files will see a performance hit until neovim supports change deltas. The large_file_disable command mitigates this by disabling ActualVim for larger files (with configurable cutoff).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].