Vim mode #405
Labels
enhancement
New feature or request
good first issue
good for newcomers
help wanted
Extra attention is needed
layout
Related to biscuit layout
suggestions needed
bugs/features that are still not figured out and need solution suggestions
text editor
Related to text editor's features
Feature
As many code editors now come with built-in Vim mode, it would be a great enhancement to add this feature to Biscuit.
This issue will address only the basic steps of implementing Vim mode.
🚧 As this is a large feature, individual issues/pr shall be opened for individual parts of this feature.
Suggestions needed on following
We aim to create something bit different from existing vim mode plugins of editors
TODO
Normal mode
h
,j
,k
,l
for navigationgg
, end of fileG
dd
(delete line),yy
(yank line),p
(paste)u
(undo),ctrl-r
(redo)x
(delete),dw
(delete from cursor to word end),diw
(delete word under cursor),cw
(cut from cursor to word end),ciw
(cut word under cursor)Visual mode
v
or mouseV
Insert mode
i
(insert),I
(insert at line start),a
(insert after cursor),A
(insert at line end),o
(insert in new line),O
(insert in new line above)esc
to go back to normal mode.Command Mode (
:
):w
(save),:q
(quit),:wq
(save and quit):64
The text was updated successfully, but these errors were encountered: