Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a vi editor for android studio [closed]

I am a curmudgeon developer from the former unix world who was raised on the vi editor. I can see how useful an IDE is for development (e.g. the Windows Visual platform or Eclipse) but I have always preferred to stay with the command line for my development platform because I am very proficient with vi.

I am now trying to learn the android development ecosystem with its IDE Android Studio. I must admit that I am slowly becoming a convert to using an IDE. However, the editor is still a source of frustration for me. It takes me forever just to navigate the source file much less do any complex refactoring. The genius of vi is that you never have to take your hands off the keyboard for both navigating the edit cursor and for entering code--so you become very efficient and fast. But with the Android Studio editor, I have to use the mouse to navigate to the edit position first, then return my hand back to the keyboard to entering code.

So, is there a vi editor plugin for Android Studio?

Thanks...

like image 609
Andres Gonzalez Avatar asked Feb 17 '17 18:02

Andres Gonzalez


People also ask

Is vi editor still used?

vi is still widely used by users of the Unix family of operating systems.

Can vi come back?

Redo Changes in Vim / ViThe redo feature reverses the action of undo. To redo a change in Vim and Vi use the Ctrl-R or :redo : Press the Esc key to go back to the normal mode. Use Ctrl-R (press and hold Ctrl and press r ) to redo the last change.

How do I open and close vi editor?

Press Esc to enter Command mode, and then type :wq to write and quit the file. The other, quicker option is to use the keyboard shortcut ZZ to write and quit. To the non-vi initiated, write means save, and quit means exit vi.

Is Vim available for Android?

Vim Touch can be downloaded free of charge on Google Play and can be installed on any Android devices running Android 2.3.


1 Answers

Yes there is, IdeaVim. Go to Settings (Ctrl + Alt + S) -> Plugins -> Browse Repositories and search for IdeaVim. Works pretty well. I would also recommend getting familiar with the Android Studio IDE shortcuts which are also handy.

like image 60
damememan Avatar answered Nov 15 '22 21:11

damememan