DATA Step, Macro, Functions and more

[Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

Reply
Occasional Contributor
Posts: 14

[Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

 

I suggest that VIM keybindings are implemented in the SAS interactive development environments (like SAS base and SAS EG). 

 

VIM is great because it can make you a vastly more productive programmer. 

 

Here is an example of what it can do:

https://jaxbot.me/articles/why-i-use-vim

 

The following IDEs already have implemented optional VIM functionality (why not do the same in SAS):

Microsoft Visual Studio

Microsoft SQL Management Studio 

The Rstudio ( using this open source ressource http://ace.c9.io/#nav=about

The Pycharm IDE for Python

Sublime Text (general editor)

 

VIM modes for Chrome browser and Firefox also exists. 

 

 

PS

If this is not the place for feature suggestions I would appreciate a link in the right direction. If no place for feature suggestions exist i suggest that one is created. 

 

 

PROC Star
Posts: 1,566

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

Suggestions should be posted in "SAS Software ballot ideas."

Occasional Contributor
Posts: 14

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

Thanks, I will move the post Smiley Happy
Occasional Contributor
Posts: 14

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

Wait, I cant find "Software Ballot Ideas" where is it? Smiley Happy

Super User
Super User
Posts: 7,417

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

Is this not covered by Abbreviations.  If you goto Tools->Add Abbreviation, you can type in a short phrase, say #sql, and this can be expanded directly to:

proc sql;

   create table ... as

   select   

   from 

   where

;

quit;

 

Don't get me wrong though, the "Enhanced Editor" really does need replacing with any one of the numerous editors out there.

Occasional Contributor
Posts: 14

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

[ Edited ]

The abbreviations is only a tiny part of what VIM can do, eg. the whole modal editing perspective.

 

 

Here is an answer on stackoverflow which explains more:  http://stackoverflow.com/a/1220118/1831980

Super User
Posts: 10,538

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

If I were pushing for a specific editor my particular choice would be the old IBM "Enhanced Programming Editor" that shipped with OS/2.

 

Stubs of code are minor compared to an editor macro that is flexible enough to play and win games of tic-tac-toe and do random selections from lists.

Occasional Contributor
Posts: 14

Re: [Feature suggestion] Implement VIM in the SAS base and SAS Enterprise Guide

[ Edited ]

VIM is much more than stubs of code Smiley Happy

 

Here is an answer on stackoverflow which explains more:  http://stackoverflow.com/a/1220118/1831980

Ask a Question
Discussion stats
  • 7 replies
  • 297 views
  • 0 likes
  • 4 in conversation