Comments (4)
That's a great point. Right now I'm just pretending that mac and linux are identical since most of the commands are close enough. https://github.com/DJMcMayhem/V/blob/master/main.py#L35
I'll distinguish the two, but I don't have a mac for testing on. Do you know what command I can use to open nvim in a new terminal window rather than the current one? The reason I used xterm -e 'nvim ...'
is so that a new window would open and the process would fork. I'm not sure how to do that on OS X.
from v.
With help from an SO answer, I was able to try something to fix it. Hence, I created a pull request after trying out everything to see if they worked, and they did! But I'm not entirely sure if what I did is the best way of solving this issue because the process doesn't really fork...
It should be noted that the new window will always (unless you modify the default settings) be the standard Terminal window. So even if you are running from another terminal (like XQuartz or iTerm2), it will still open a Terminal window when running nvim
. (Also if you are using XQuartz
like I am, the xterm
command will also work)
from v.
Thinking about it now, there is an alternative that would not require any change in the code, but would require another dependency for the users, XQuartz (used to be called X11 on older macs, but doesn't exist on newer macs). With XQuartz, the xterm
command will run just fine without any problems. Not just that, the command key (as per my experience) will now emulate the behaviour of the alt key on windows and linux (for example, on the standard Terminal, alt+o
= ø
, but on XQuartz, Cmd+o
= ï
). This would make it easier for V-golfing.
from v.
Closed in aced470
from v.
Related Issues (20)
- Documentation! HOT 3
- Characters in the 0x80-0x9F range are not correctly passed into the V instance HOT 1
- Duplicate operator is borked. HOT 1
- Duplicate operator is borked with block movements
- Make custom commands work with the dot operator
- Timing bug HOT 1
- Move away from neovim HOT 7
- Duplicate operator does not work for block-wise motions. HOT 2
- V Chat Room is frozen. HOT 1
- {count}search doesn't work
- I have installed neovim but V can't find the executable. HOT 1
- mysterious help pages HOT 2
- Unexpected ¬ behavior HOT 1
- Source of slowness HOT 3
- Visual block reverse loses last visual selection
- Arrow keys
- add ability to nest levels of ò and ñ HOT 2
- <M--> and <M-+> not working
- V Corpus HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v.