Editing TextAdept-Vi
HomePage
|
RecentChanges
|
EditorIndex
|
TextEditorFamilies
|
Preferences
A set of Lua extensions for TextAdept to make it resemble vim '''Author:''' Chris Emerson '''Homepage:''' https://github.com/jugglerchris/textadept-vi '''Family:''' LuaEditorFamily [[VIMFamily]] '''Platform:''' TextAdept '''License:''' MIT License Some customisation for textadept to make it feel a bit like vim. I like vim's keyboard handling but textadept's scriptability, so this is the solution. The aim is for my trained fingers to keep working, while (at least eventually) making good use of textadept's features. It requires a recent textadept (7.8 at time of writing). I use this as my default editor, and it implements the common features of vi/vim that I used to use; there are many less common features I haven't implemented. '''What works''' * Movement commands: h,j,k,l,w,b,e,H,M,L,%,^,_,$,0,G,{,} * Selection motions: aw,iw * Simple mark/jump: m, ', ` * Numeric prefix * Basic text entry commands: i,a,A,o,O,r,R,~ * Editing: d,D,c,C,x,p,P,y * More complex editing commands: J,gq,>,<,= * Undo/redo/repeat: u,^r,. * Searching: /,?,n,N,*,# * Tags: c-],c-t, :tag, :tn, :tp, :tsel * Buffers: c-w c-w, c-^, :split, :vsplit, :only * Folds: zo, zc, zM, zR * Compiling/Quickfix: basic :make, :cb, :cn, :cp, :clist, :lgrep (grep with Lua patterns) * Other ex-mode commands with completion: :e, :w, :wq, :x, :q, :b, :bdelete, :find, @: * Misc: ^Z to suspend (with the included "kill" Lua extension) * Esc to return to command mode * In insert mode: ^p to find matching completions in the current buffer. * Visual mode keys: movement as above, esc, v, x, d, ~, u, U, y, r, gq
Summary:
This change is a minor edit.
Please calculate
+
=
(Visit
Preferences
to set your user name.)
View other revisions
HomePage
|
RecentChanges
|
EditorIndex
|
TextEditorFamilies
|
Preferences