 |
 |
Nano text editor: commands conflict with OSX key shortcuts
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Santa Monica, CA
Status:
Offline
|
|
I've been using nano to edit text and wanted to step up my game by using nano's keyboard commands. Some of these, however, conflict with OSX system key shortcuts (e.g., ^Space, which in nano moves the cursor forward one word but in OSX invokes Spotlight).
How are people working around this? Or is there nothing for it but to remap those OSX keyboard shortcuts?
Thanks.
Mike
|
|
"Labor is prior to, and independent of, capital. Capital is only the fruit of labor, and could never have existed if labor had not first existed. Labor is the superior of capital, and deserves much the higher consideration." -- Abraham Lincoln, 1861
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2005
Location: Cambridge, UK
Status:
Offline
|
|
Originally Posted by brachiator
I've been using nano to edit text and wanted to step up my game by using nano's keyboard commands. Some of these, however, conflict with OSX system key shortcuts (e.g., ^Space, which in nano moves the cursor forward one word but in OSX invokes Spotlight).
How are people working around this? Or is there nothing for it but to remap those OSX keyboard shortcuts?
Thanks.
Mike
Well, for the above shortcut and I think all the rest, you press control, not command.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2001
Location: Santa Monica, CA
Status:
Offline
|
|
Originally Posted by seanc
Some of these, however, conflict with OSX system key shortcuts (e.g., ^Space, which in nano moves the cursor forward one word but in OSX invokes Spotlight).
Well, for the above shortcut and I think all the rest, you press control, not command.
Thanks, seanc. I should have been more clear – I have cmd-Space set to invoke Launchbar, so ctl-Space invokes Spotlight. I'm not trying to use the command key in nano.
The control key combinations work in nano so long as there's not an OSX systemwide use for them. So, e.g., ctl-K deletes the current line...
I guess the solution may be to not map anything in the GUI to the control key, because the control key is relied upon so much in the CLI.
|
|
"Labor is prior to, and independent of, capital. Capital is only the fruit of labor, and could never have existed if labor had not first existed. Labor is the superior of capital, and deserves much the higher consideration." -- Abraham Lincoln, 1861
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|