Coder Social home page Coder Social logo

neovim-e's People

Contributors

alfredbez avatar coolwanglu avatar evindor avatar rygwdn avatar tarruda avatar trusktr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neovim-e's Issues

[idea] Full screen mode like iTerm (doesn't go into it's own workspace).

In iTerm, there's an option so that full screen mode doesn't put the terminal into a new workspace, it's just full screen in the same desktop that it was in. This is super convenient. I don't like having full screen things in different workspaces because it interferes with the way I group windows. I find it Okay for app like Google Chrome when I want to go full screen temporarily, but I usually have my terminals full screen all the time so I can have them grouped in each desktop instead of separated all over the place in a big mess.

Misrepresented?

I'm confused, is this an Electron UI for Neovim or a way to integrate Neovim into Atom? I mean, I know Atom uses Electron, but that is not the same thing...

Crashes on creating a new split

I'm running on Windows with HEAD of electron and neovim-e

To reproduce:
Open neovim-e
press <C-w><C-s>
observe that neovim-e has crashed

the error message I get is this: [13252:1009/122332:ERROR:ipc_channel_win.cc(435)] pipe error: 232 (Not very specific, sorry)

in Windows the window resizes to minimal size on its own

Hi,

I tried to run this on windows. I was more or less successful, but found one weird issue for now.
First a big caveat, I am not comfortable in the js/coffescript world, so not sure if I did everything as needed, probably screwed up somewhere...

What I did was:

  • I already had node-js installed

  • download neovim build for windows from appveyor

  • download atom-shell build for windows

  • download neovim-as

  • npm install -g grunt-cli

  • cd neovim.as

  • path-to-atom\resources\app\apm\bin\apm.cmd build .

    I had Atom too, and found apm in there, so I used it

  • grunt

  • copy nvim.exe to neovim.as\

  • path-to-atom-shell\atom.exe .

    this is different from you instructions, in windows at least there is no 'atom-shell.exe', just 'atom.exe'.

This successfully launches neovim.as with nvim. But the window resizes by itself most of the time time it is tiny, see the video here: http://tinypic.com/player.php?v=2wgxb1c&s=8#.VOmxqVXF-zY

Other than that, seem usable, I can enter insert mode etc.

Blank screen

After a raw install all I get is blank screen and there is nothing I can do nor write.

There is the log I'm getting:

$ atom-shell .
[21524:0214/132145:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[21550:0214/132145:INFO:renderer_main.cc(204)] Renderer process started
[21524:0214/132146:INFO:CONSOLE(20)] "child process spawned: 21561", source: /home/ylecuyer/neovim.as/src/nvim/nvim.js (20)
[21524:0214/132151:ERROR:channel.cc(316)] RawChannel read error (connection broken)

No spell-check underlines

the neovim TUI and vanilla vim's gvim show spelling and grammar errors with set spell, but neovim.as seems to be missing them:

neovim TUI:
screen shot 2015-02-20 at 8 19 30 am

vanilla gvim:
screen shot 2015-02-20 at 8 19 09 am

neovim.as:
screen shot 2015-02-20 at 8 19 38 am

Slow scroll

I'm sure you might know, but wanted to leave an issue for it. Everything (selecting, moving the cursor, etc) is nice and fast and zippy compared to terminal. The only thing is scrolling the whole view is slow, lagging then scrolling chunks at a time instead of line by line.

Unable to pass keyboard input to neovim.as window on OS X

I’ve run into an odd issue where I can start Neovim.AS, but cannot get its window to accept keyboard input; instead, all keyboard input goes to the terminal in which Neovim.AS was started.

neovim

I also can’t switch to the window with Cmd-Tab, its OS X menu does not display, and the only way to quit it is issuing ^C in the originating shell.

Configuration:

  • OS X 10.10.2 German locale, German keyboard input
  • NVIM 0.0.0-alpha+201502170110 (compiled Feb 17 2015 16:17:11), commit 66a03a7385dfd11503d22d8cc9dc6a972e27dcc2, via Homebrew – Neovim itself runs fine in Terminal
  • grunt-cli v0.1.13 and grunt v0.4.5, installed via npm – running grunt -v inside the neovim.as directory gives no errors
  • atom-shell version 0.19.5 – the Atom shell app also starts fine by itself

Doesn't read guifont option

neovim.as should respect the guifont option from vim, or provide another way to set it. E.g. in my .nvimrc I have:

set guifont=Droid\ Sans\ Mono\ for\ Powerline:h11

cmd -> ctrl option in OS X

Would be super nice if you could make command send ctrl key in OS X so it's easy to use command key as ctrl key (similar to the popular iTerm2 app for OS X).

col : 999, row : 999, hangs neovim.as

  • let .nvimrc stay empty.
  • set config.cson like this:
font: '12px Ubuntu Mono'
row: 999
col: 999

In latest version, row : 999, col : 999, will hangs neovim.as.
But if we have been set col, row in .nvimrc, neovim.as will works well.

[idea] command line binary

So we can do

npm install -g neovim-e # claim on npmjs.com before someone else!
nvim-e some-file-to-edit.js # or similar

Paste not working in OSX

I'm not sure about other OS's, but paste isn't working in any capacity for me. I believe it's just a no-op because of the default menu.

Regardless of the default menu, is sent to neovim, but neovim doesn't handle <D-...> mappings it seems because doing nmap <D-v> hi and then map < shows that it's registering it as individual keystrokes and not one key combination.

I can add a handler to respond to cmd-v from the menu, but I'm not sure how paste is implemented in neovim, and I would like to do it the official way if there is a msgpack endpoint.

[idea] Fontsize should change when pressing Meta + "0, -/_, +/=" keystroke

Love this neovim-e! And here is a idea suggestion for enhancement.

Currently when pressing Meta + "0, -/_, +/=" doesn't trigger font size changing like in Terminals or Browser, or is there but I am not aware of?

Currently I have a quick dirty hack to check on ui.coffee keydown event and change the fontsize dynamically, then force window.resizeTo() for redrawing the frames.

I am sure there are better ways to implement this properly.

[idea] Solid cursor.

Can you add an option to change the block cursor from outlined to solid? A good reason to have a solid cursor is because in some terminals an outline cursor indicates the window isn't in focus.

Cannot find module 'app'

I run electron . on mac, seems neovim-e don't want to talk to me, and give me an exception.

Who could help me?

~/repos/neovim-e $ electron .
App threw an error during load
Error: Cannot find module 'app'
    at Module._resolveFilename (module.js:440:15)
    at Function.Module._resolveFilename (/usr/local/lib/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/pysnow530/repos/neovim-e/src/launcher.js:4:9)
    at Object.<anonymous> (/Users/pysnow530/repos/neovim-e/src/launcher.js:34:4)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)

(Windows) crashes when switching splits

Say I have a split and switch using Ctrl+w then an arrow key, or ctrl+ww. The app then crashes.
I can switch if I click on a different split, however.

Here's the last x lines of output:

[19868:0704/230223:INFO:CONSOLE(0)] Error processing argument 0.
[19868:0704/230223:INFO:CONSOLE(0)] TypeError: Error processing argument 0.
    at TypeError (native)
    at EventEmitter.<anonymous> (C:\Users\<my user>\AppData\Roaming\npm\node_module
s\electron-prebuilt\dist\resources\atom.asar\browser\api\lib\browser-window.js:3
4:22)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
[19868:0704/230223:INFO:CONSOLE(0)] Error processing argument 0.
[19868:0704/230223:INFO:CONSOLE(0)] TypeError: Error processing argument 0.
    at TypeError (native)
    at EventEmitter.<anonymous> (C:\Users\<my user>\AppData\Roaming\npm\node_module
s\electron-prebuilt\dist\resources\atom.asar\browser\api\lib\browser-window.js:3
4:22)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
[19868:0704/230249:INFO:CONSOLE(27)] "child process closed", source: C:\Scripts\
neovim-e\src\nvim\nvim.js (27)

running on Windows

I thought I should open a new ticket for issues on windows, as it's very possible there will be many of them...

for now this still fails (versions current as of today):

atom-shell\atom.exe . eval.c
[12480:0410/193553:INFO:renderer_main.cc(212)] Renderer process started
[4700:0410/193555:INFO:CONSOLE(22)] "child process spawned: 11400", source: neovim.as\src\nvim\nvim.js (22)
[4700:0410/193555:INFO:CONSOLE(25)] "child process closed", source: neovim.as\src\nvim\nvim.js (25)
[12480:0410/193555:ERROR:ipc_channel_win.cc(136)] pipe error: 109

Azerty not working

Azerty keyboard dont work.

Letter press is correctly print in screen, but all symbol (number, ponctuation, ...) is not from azerty keyboard.

Commands with output not working

Open neovim.as and type :ls

Expected output:

:ls
  1 %a   "[No Name]"                    line 1
Press ENTER or type command to continue

Current output:

Press ENTER or type command to continue line 1

Support ligatures.

I took a look at ui.coffee and it seems like supporting ligatures would be within reach. Ligatures are great because modern programming fonts are beginning to include support for awesome symbols for functional languages etc.:

For example, see https://github.com/tonsky/FiraCode

It looks like the canvas drawText API that you're using supports ligatures but it merely requires that you draw the two/three characters in one call to drawText. I saw that neovim-e draws one character at a time, however.

Should there be some intermediate representation that neovim-e keeps track of instead of just executing raw single character draw/put commands? Could neovim-e maintain an up to date representation of the entire screen so that when anything changes, something like a "mini react" can find the characters that are likely dirty and draw only those lines (and the entire lines so that ligatures will render correctly)?

Cannot map command keys

I confirmed that the js is sending command keyboard events to neovim but apparently neovim doesn't respond at all to them. What is going on inside of neovim?

HiDPI on Linux.

On Linux, in Gnome 3 at 2x scale, Neovim-e is still at 1x scale, and it's tiny. I wonder what's the best way to double it's size on Linux.

Cursor position shifts when resizing

This is pretty easy to reproduce. When I have the cursor near the right side of the window and then resize, I need to be very careful to resize the window such that the cursor remains lined up with the characters in the window, otherwise it moves off the character grid:

Working properly:
screen shot 2015-02-20 at 7 57 25 am

Resized horizontally:
screen shot 2015-02-20 at 7 57 44 am

The same issue happens vertically:
screen shot 2015-02-20 at 7 58 03 am

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.