# Kakoune on windows platform

**URL:** <https://discuss.kakoune.com/t/kakoune-on-windows-platform/298>\
**Category:** Off Topic\
**Tags:** windows\
**Created:** [January 28, 2019, 9:38am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298 "2019-01-28T09:38:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 28, 2019, 9:38am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/1 "2019-01-28T09:38:21Z")

</div>

Hi,

I use kakoune for more than 6 month now and I like it a lot.  
I never use vim anymore in my linux setup.

Sadly in my daily work I have to work on Windows platform and I still need to use vim every day.

It is painful to switch from kakoune to vim every day.

I would love to see kakoune being supported on windows so I could drop vim once for all. The use of ubuntu shell in windows 10 is awkward. A native port is needed.

One of the greatest advantage of vim over kakoune remains its portability.  
Hope this can change on the following years.

thanks 😉

---

<div class="post-metadata">

**Author:** ![Screwtapello](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/screwtapello/32/12_2.png) [@Screwtapello](https://discuss.kakoune.com/u/Screwtapello)\
**Post date:** [January 28, 2019, 10:40am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/2 "2019-01-28T10:40:17Z")

</div>

Where Vim has a lot of built-in functionality, a huge amount of Kakoune’s functionality comes from plugins. Where Vim’s plugins are written in VimScript, which is part of Vim and works the same way everywhere, Kakoune’s plugins are largely written in POSIX shell script, which is provided by the operating system, and not provided at all on Windows.

You could probably run Kakoune fairly happily with a POSIX emulation layer like Cygwin, but Kakoune is sufficiently wedded to POSIX that a Windows port isn’t really practical.

On the other hand, in the same way that there’s a whole family of vi-style editors (including vile, elvis, and nvi besides Vim and the original vi), and a whole family of Emacs-style editors (including mg, MicroEMACS, ZILE, and XEmacs besides GNU Emacs and the original TECO macros), there should be room for a family of Kakoune-style editors. There’s already [breeze](https://github.com/dpc/breeze), but why not start your own Winkoune?

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 28, 2019, 1:04pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/3 "2019-01-28T13:04:34Z")

</div>

mm it’s a shame.

Maybe it could have been possible to design architecture that keep the simplicity of kakoune while supporting the two major platforms which are windows and posix OSes.

The fact that most of vi users have chosen vim and not vile or elvis is because it is supported on majors OSes.

I am afraid that kakoune adoption will remain marginal because of that restriction.

cheers  
cyrile

---

<div class="post-metadata">

**Author:** ![lauccode](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/lauccode/32/52_2.png) [@lauccode](https://discuss.kakoune.com/u/lauccode)\
**Post date:** [January 28, 2019, 4:50pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/4 "2019-01-28T16:50:41Z")

</div>

Hello _cduret_,  
**You can look to run kakoune through cygwin by following this wiki :**

> [https://github.com/mawww/kakoune/wiki/Windows-tips](https://github.com/mawww/kakoune/wiki/Windows-tips)

This is working for me except that it take around 20s to start (I don’t solve this issue on my side yet).  
Also tmux and so more can be installed with cygwin on windows.

Regards

---

<div class="post-metadata">

**Author:** ![robertmeta](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/robertmeta/32/833_2.png) [@robertmeta](https://discuss.kakoune.com/u/robertmeta)\
**Post date:** [January 28, 2019, 5:10pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/5 "2019-01-28T17:10:12Z")

</div>

I actually have a friend who is very shy but very smart who has been hacking at Kakoune on top of PowerShell ([https://github.com/PowerShell/PowerShell](https://github.com/PowerShell/PowerShell)). The idea is if Kakoune could run on top of PowerShell, and have scripts written in PowerShell – it would run everywhere PowerShell core does, which currently is Linux/Mac/Windows – probably could be ported to BSDs too (if not already happened). Also PowerShell feels a bit more modern as a scripting language versus sh.

Initially I was convinced this was a silly idea, but as he progresses and shows me some of the replacement scripts he is writing, I am more and more convinced he might be onto something profoundly clever. Sadly, the level of change makes it smell more “forky” than “extendy” right now.

---

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [January 28, 2019, 7:53pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/6 "2019-01-28T19:53:19Z")

</div>

> Also PowerShell feels a bit more modern as a scripting language versus sh.

> **Angry Obi Wan**
>
> ![image](https://discuss.kakoune.com/uploads/default/original/1X/bef608a482c82110b51410126bacf2e72a07aa89.jpeg)

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 28, 2019, 8:14pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/7 "2019-01-28T20:14:23Z")

</div>

interesting,  
the starting time is due to loading all plugins.  
I had the same pb I removed all unused plugins and kakoune started a lot faster

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 28, 2019, 8:35pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/8 "2019-01-28T20:35:04Z")

</div>

Very nice job !

It would be nice if your friend could write a blog post or an article explaining better internals of kakoune and how we could use a better scripting infrastructure

---

<div class="post-metadata">

**Author:** ![supermarin](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/supermarin/32/71_2.png) [@supermarin](https://discuss.kakoune.com/u/supermarin)\
**Post date:** [January 29, 2019, 3:23am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/9 "2019-01-29T03:23:14Z")

</div>

Haven’t tried, just putting my thoughts here:

Can you use the Linux subsystem for windows?

> **[How to Install and Use the Linux Bash Shell on Windows 10](https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/)**
>
> You can use BASH on Windows 10, but WSL is so much more than just that.

There’s a Microsoft Golang developer that I’ve seen tweeting running full i3 on a surface pro (@bketelsen).

---

<div class="post-metadata">

**Author:** ![Screwtapello](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/screwtapello/32/12_2.png) [@Screwtapello](https://discuss.kakoune.com/u/Screwtapello)\
**Post date:** [January 29, 2019, 3:49am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/10 "2019-01-29T03:49:48Z")

</div>

> [@supermarin](#):
>
> Can you use the Linux subsystem for windows?

> [@cduret](#):
>
> The use of ubuntu shell in windows 10 is awkward. A native port is needed.

I haven’t tried WSL myself, but I understand the “Linux universe” is still pretty isolated from the “Windows universe”, and things like filesystem access and process spawning can be surprisingly slow because it’s still running on the NT kernel.

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 29, 2019, 7:38am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/11 "2019-01-29T07:38:31Z")

</div>

yes bash in windows is so isolated from the windows world that it is pretty useless to use in my daily work.

😉

---

<div class="post-metadata">

**Author:** ![lauccode](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/lauccode/32/52_2.png) [@lauccode](https://discuss.kakoune.com/u/lauccode)\
**Post date:** [January 29, 2019, 2:52pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/12 "2019-01-29T14:52:53Z")

</div>

Hello **Cduret** ,  
Did you try the solution of **supermarin** to have kakoune on Windows ?

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [January 29, 2019, 8:10pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/13 "2019-01-29T20:10:01Z")

</div>

I did installed already kakoune in bash subsystem but it integrates poorly compared to vim

---

<div class="post-metadata">

**Author:** ![nathan-hoad](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/nathan-hoad/32/88_2.png) [@nathan-hoad](https://discuss.kakoune.com/u/nathan-hoad)\
**Post date:** [February 3, 2019, 11:39pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/14 "2019-02-03T23:39:52Z")

</div>

How so? I’ve installed kakoune into WSL and it appears to work exactly the same on Linux, except for a bug where a Kakoune server gets permanently stopped if you quit the creator of the session before the clients. Given this works on Linux just fine though I suspect the bug is actually in WSL.

---

<div class="post-metadata">

**Author:** ![mawww](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mawww](https://discuss.kakoune.com/u/mawww)\
**Post date:** [February 4, 2019, 2:02am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/15 "2019-02-04T02:02:05Z")

</div>

I used to run Kakoune on WSL for quite a while (an before that on Cygwin) at work, what kind of problems are you experiencing on WSL ?

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [February 4, 2019, 8:42am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/16 "2019-02-04T08:42:57Z")

</div>

no pb with wsl, kakoune run same as linux box.

But I still use vim on my windows 10 workstation because vim is well integrated in my contextual menu of explorer and I can drop files on vim to open it, etc…

I want native software on windows, that wsl shit adds impedence and slow down my productivity compared to vim on that platform.

Could you use for your professional work your win32 favorite editor on linux with wine ?

---

<div class="post-metadata">

**Author:** ![mawww](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@mawww](https://discuss.kakoune.com/u/mawww)\
**Post date:** [February 4, 2019, 10:55pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/17 "2019-02-04T22:55:23Z")

</div>

I guess we have pretty different usage patterns, when I was on windows, in the end, I was running a X11 desktop through WSL to avoid having to deal with windows… So I did not mind that Kakoune was not really integrated. I had written a quick .bat file that was able to run Kakoune in mintty through cygwin on an arbitrary windows file, that could have been added to a context menu, but I do agree with WSL this would be even harder.

Kakoune relies on having a posix environment around it, I am not sure what a native windows port could look like, maybe building kakoune in msys could work ?

---

<div class="post-metadata">

**Author:** ![robertmeta](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/robertmeta/32/833_2.png) [@robertmeta](https://discuss.kakoune.com/u/robertmeta)\
**Post date:** [February 4, 2019, 11:11pm UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/18 "2019-02-04T23:11:29Z")

</div>

You can do the context menu thing – [https://github.com/mawww/kakoune/wiki/Windows-tips](https://github.com/mawww/kakoune/wiki/Windows-tips) – drag and drop would require a level of awareness about the greater world of windows, so unlikely in the short term.

As for drag and drop, I don’t even think Windows consoles support drag and drop events do they?

---

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [February 5, 2019, 7:44am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/19 "2019-02-05T07:44:51Z")

</div>

I know a guy who uses Emacs on windows 7 in a VM. He installed Arch Linux in it, Emacs starts at login and is running full-screen without window manager. He uses shared folders to access windows files. I suppose if he would like to use Kakoune, he would do the same setup for it. It sure has some overhead but he says it works just fine for him.

---

<div class="post-metadata">

**Author:** ![cduret](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/cduret/32/375_2.png) [@cduret](https://discuss.kakoune.com/u/cduret)\
**Post date:** [February 5, 2019, 7:54am UTC](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298/20 "2019-02-05T07:54:48Z")

</div>

Indeed console do not support DnD on windows, I do not use vim in plain console but rather gvim.  
The cygwin experience is not enough, I will stick with gvim on windows.

cheers 😉

[Next page](https://discuss.kakoune.com/t/kakoune-on-windows-platform/298.md?page=2)
