Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there vim plugin for notepad++? [closed]

There are a lot of questions and answers about vim and notepad++ but it's not definitely clear, what is best way to make notepad++ act like a vim (if it is possible at all).

update
It seems than this question needs some additional information of my motivation. I assume myself as a vim beginner. It's quite difficult for me to change my editor at one moment. I think than vim plugin for my current editor can give me easy way to feel more comfort in new environment.

like image 222
fat Avatar asked Oct 10 '12 10:10

fat


People also ask

Does Notepad++ have Vim mode?

it is a plug-in for notepad++, which make it possible to edit as vi/vim in notepad++. ViSimulator simulates/emulates most frequently-used vi/vim commands to provide more powerful editing capability for notepad++.

Is Vim better than Notepad++?

Vim is just as much of a text editor as Notepad++. You can mod vim to have colors, tabs, basically everything that Notepad++ has and so much more. To be fair, they actually can: CTRL+L in Notepad++. I guess it's even there in vim because you have to esc to get into command mode, and then d+d to delete a line.

What is a Notepad++ plugin?

Notepad++ plugins is a collection of tools which plays a role of completion for Notepad++. This project contains Explorer, Function List, Hex Editor, Spell Checker and a console program NppExec.


2 Answers

You can try ViSimulator for Notepad++, which may meet your requests in somewhat. it is a plug-in for notepad++, which make it possible to edit as vi/vim in notepad++. ViSimulator simulates/emulates most frequently-used vi/vim commands to provide more powerful editing capability for notepad++.

As the description from the site, some commands it supports:

0: move the cursor to colum 1 (hard beg-of-line) $: move the cursor to end-of-line ^: move the cursor to the first non-blank character (soft beg-of-line) -: move the cursor to the first non-blank character (soft beg-of-line) of the previous [count] line  +, <RETURN>: move the cursor the first non-blank character (soft beg-of-line) of the next [count] line hjkl: move the cursor left, down, up and right [count] colum/line and more... 

ViSimulator can be reached at https://web.archive.org/web/20150515145616/http://www.visimulator.com/download.html. The original page isn't available anymore.

like image 80
visimulator Avatar answered Sep 24 '22 06:09

visimulator


Most of what makes Vim what it is derives from the fact that it's a modal editor. If there's no way to turn NP++ into a modal editor you won't get far. A quick look at NP++ plugins page shows no Vi[m] plugin so I'd answer "no".

Whatever, the best way to learn Vim is to use it. I'd suggest you keep using NP++ for serious work and force yourself to use Vim for everything else. Once, if ever, you'll be ready, drop NP++ and use Vim full time.

like image 41
romainl Avatar answered Sep 20 '22 06:09

romainl