<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sas + vim in Developers</title>
    <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852787#M6258</link>
    <description>&lt;P&gt;has anyone successfully got something like these vim functions to work ie to run your code and scan the log from vim?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList" target="_blank"&gt;http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i run into many problems, including this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument" target="_blank"&gt;https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have tinkered with it a lot and gotten nowhere. Things would be a lot easier if i was using linux, but i'm stuck with windows. cheers&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 12:51:11 GMT</pubDate>
    <dc:creator>pmbrown</dc:creator>
    <dc:date>2023-01-09T12:51:11Z</dc:date>
    <item>
      <title>sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852787#M6258</link>
      <description>&lt;P&gt;has anyone successfully got something like these vim functions to work ie to run your code and scan the log from vim?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList" target="_blank"&gt;http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i run into many problems, including this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument" target="_blank"&gt;https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have tinkered with it a lot and gotten nowhere. Things would be a lot easier if i was using linux, but i'm stuck with windows. cheers&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852787#M6258</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-09T12:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852791#M6259</link>
      <description>&lt;P&gt;Windows has Linux embedded easily. Just use the built-in Linux. Better yet, use PowerShell and do whatever you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One example here (but you can do it in other ways too). Heck, you can also run a VM in Windows (free) and just install your own Linux distro:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.geeksforgeeks.org/how-to-run-linux-commands-on-windows-10/" target="_blank"&gt;How to run Linux Commands on Windows 10? - GeeksforGeeks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also run your phone apps in Windows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 13:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852791#M6259</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-09T13:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852793#M6260</link>
      <description>You can also install vim directly: &lt;A href="https://www.w3schools.io/editor/vim-install/#:~:text=How%20to%20run%20and%20open%20vim%20editor%20from,you%20can%20open%20the%20file%20with%20vim%20filename" target="_blank"&gt;https://www.w3schools.io/editor/vim-install/#:~:text=How%20to%20run%20and%20open%20vim%20editor%20from,you%20can%20open%20the%20file%20with%20vim%20filename&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;I have analyzed the SAS log extensively. Like a lot. I have pulled out most info from it available. You can see screenshots here: &lt;A href="https://www.postsas.com/SaviApp/SaviAppScreenshots" target="_blank"&gt;https://www.postsas.com/SaviApp/SaviAppScreenshots&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;100% did not use vim. You can get what you need using regex. Use whatever language desired. I use C# but you can also use PowerShell and chain commands or just run a PowerShell script. It is very easy to do.</description>
      <pubDate>Mon, 09 Jan 2023 13:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852793#M6260</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-09T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852847#M6261</link>
      <description>&lt;P&gt;thanks for this. Unfortunately it's a company computer, i can't do the things you describe, if i had that much freedom i would just use linux&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have vim installed (to my user folder), the problem is runnig sas code from vim, i don't want to step in and out of vim to run code etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:21:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852847#M6261</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-09T16:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852874#M6262</link>
      <description>&lt;P&gt;Let's be realistic, vim is old. You need a function that does x,y,z. Don't choose the technology, decide on the business need. If you need to search text, use SAS regex functions or call out to something that can do it like PowerShell or use C# which can do everything vim does (easily). You should also be able to do it in Python or a host of other options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, look at PowerShell core which can run w/o installation. PowerShell should be able to do everything vim does except for some edge cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vim may be comfortable but branch out and what you need can be done w/o worrying about vim. There are much, much better alternatives today than 20-30 years ago.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 17:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852874#M6262</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-09T17:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852878#M6263</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308996"&gt;@pmbrown&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;has anyone successfully got something like these vim functions to work ie to run your code and scan the log from vim?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList" target="_blank" rel="noopener"&gt;http://www-personal.umich.edu/~knassen/vim/sasfns.html#LoadSASLogList&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i run into many problems, including this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/19205572/vim-function-system-invalid-argument&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have tinkered with it a lot and gotten nowhere. Things would be a lot easier if i was using linux, but i'm stuck with windows. cheers&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What is the problem you are trying to solve exactly?&lt;BR /&gt;Are you running PC SAS, that is do you have a full installation of SAS on your computer?&amp;nbsp; If so then why not just use the editors that are part SAS Display Manager instead of trying to use ancient VIM editor?&lt;/P&gt;
&lt;P&gt;Is SAS running remotely?&amp;nbsp; Do you have access to SAS/Studio to interface with it?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 17:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852878#M6263</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-01-09T17:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852889#M6264</link>
      <description>&lt;P&gt;" If so then why not just use the editors that are part SAS Display Manager instead of trying to use ancient VIM editor?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i can see it is hard for non vim users to appreciate why someone wants to use vim, but i don't want to get into that, let's just say vim is very powerful etc etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyway, this looks promising: &lt;A href="https://github.com/exaatto/vim-sas" target="_blank"&gt;https://github.com/exaatto/vim-sas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 18:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852889#M6264</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-09T18:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852914#M6265</link>
      <description>BTW, Visual Studio Code has a vim extension with about 4.5M installs. Why not use that? There are also SAS extensions and VSCode installs w/o the need for an admin account so it can run standalone.</description>
      <pubDate>Mon, 09 Jan 2023 20:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852914#M6265</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-09T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852985#M6266</link>
      <description>&lt;P&gt;the vim extensions are never good. i used the vim extension for sublime for a while, in the end they are always a poor approximation. i wouldn't go near vs code, each to his own&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 03:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852985#M6266</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-10T03:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852989#M6267</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308996"&gt;@pmbrown&lt;/a&gt;&amp;nbsp; "&lt;SPAN&gt;i wouldn't go near vs code" - Well VS Code is the only third-party IDE supported by SAS with &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/VS-Code-SAS-Programming-Code-Extension-Released/ta-p/819490" target="_blank" rel="noopener"&gt;SAS-supplied extensions&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 04:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852989#M6267</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-10T04:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/852994#M6268</link>
      <description>&lt;P&gt;The vim extensions are also regularly updated so things may have changed. To outright dismiss VS Code, free and open source, is amazing to me. Even a lot of noMS people use it including a lot of devs outside of the MS ecosystem (python is an example). Powershell is open source, C# is open source, on and on. All run on Linux and Macs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If people don't want the suggestions, they will just have to muddle away. As a SAS consultant for decades, and the former MS consultant at SAS, I have faced a LOT of anti-MS sentiment. Even when proven wrong, again and again, they hate MS like it was the 1990s, not the modern MS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck with your vim problem. Nothing I can offer. I would probably have more sympathy for ISPF but each to their own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 05:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/852994#M6268</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-10T05:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/853005#M6269</link>
      <description>&lt;P&gt;don't brag, we are all old here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; i have been using sas for decades too&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to move this thread from programming/developers to sas programming?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the end i abandoned vim fuctions (for now) and just mapped a shortcut for command, like this:&amp;nbsp;&lt;A href="https://jiangtanghu.com/blog/2011/11/13/vim-as-a-sas-ide/" target="_blank"&gt;https://jiangtanghu.com/blog/2011/11/13/vim-as-a-sas-ide/&lt;/A&gt;&amp;nbsp;but i needed to tweek it eg&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/sas-is-not-recognized-as-an-internal-or-external-command/td-p/698072" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/sas-is-not-recognized-as-an-internal-or-external-command/td-p/698072&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/853005#M6269</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-10T07:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/853008#M6270</link>
      <description>&lt;P&gt;i realise it's hard for non vim users to understand why some ppl use vim, but here is someone trying to explain it:&lt;/P&gt;
&lt;P&gt;"My preference for emacs boils down to the fact that it doesn't force me to use a mouse. A mouse is a pseudoanalog device that suffers from all the control-theory anomalies like overshoot and oscillation, plus lack of haptic confirmation. Using the mouse forces my hands off the home row, forces my eyes off my cursor (to the target of a gesture). The mouse and all its control-theory ephemera are a source of sheer agony. They cause me to hate my computer and to tire quickly from any use of it. Emacs, however, lets me focus my mind, keep my hands in an efficient pose, lets me look at my work, gives me digital feedback (press a physical keyboard button, see a result, no overshoot and oscillation) and enables longer hours in a state of pleasant flow. It's not Emacs specifically, but any computer tool that helps me avoid mousing. Along with mousing goes all those proprietary binary formats for documents: anything but ASCII (or, begrudgingly, UTF-8) must be banned. Long-live Emacs, org-mode, org-table, org-babel, LaTeX, git, and everything that can be represented in plain text. &lt;STRONG&gt;There is a special ring in Dante's inferno for the inventor of the mouse and for the legions of GUI designers that built all the World's software around it.&lt;/STRONG&gt;"&amp;nbsp;&lt;A href="https://old.reddit.com/r/emacs/comments/r1s3k2/lex_fridman_and_neal_stephenson_talking_about/" target="_blank"&gt;https://old.reddit.com/r/emacs/comments/r1s3k2/lex_fridman_and_neal_stephenson_talking_about/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;no one is asking anyone to agree, this is just how some people feel&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 08:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/853008#M6270</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-10T08:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/853063#M6271</link>
      <description>&lt;P&gt;&lt;A href="https://www.barbarianmeetscoding.com/boost-your-coding-fu-with-vscode-and-vim/elevating-your-worflow-with-custom-mappings/#:~:text=Creating%20Custom%20Mappings%20You%20can%20create%20custom%20mappings,Code%20preferences%20to%20display%20only%20VSCodeVim%20related%20ones." target="_blank"&gt;Elevating Your Workflow With Custom Mappings | Barbarian Meets Coding&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 13:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/853063#M6271</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-10T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/853358#M6272</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308996"&gt;@pmbrown&lt;/a&gt;&amp;nbsp;- I appreciate your opinion and each to their own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please be aware that SAS 9.4 is now in maintenance mode and in the process of being superceded by SAS Viya. Full support of SAS 9.4 ends in 2025, unless you upgrade to SAS 9.4M8 due out shortly. So your vim - SAS 9.4 interface has a limited lifespan. VS Code works with SAS Viya and I guess other IDEs might be supported in the future, maybe even one where a mouse isn't essential...&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 21:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/853358#M6272</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-11T21:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/853476#M6273</link>
      <description>&lt;P&gt;thanks a lot for the info. The vim solution should work with the 9.4 upgrade though? I would move to R to be honest, i love sas and have been using it forever, but i would switch in 2025 if i had to. A lot of the branding sas is doing now is putting me off, 'advanced analytics' etc&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 15:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/853476#M6273</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-12T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/854649#M6282</link>
      <description>&lt;P&gt;vim user lost a bet and had to use vs code for 30mins: &lt;A href="https://www.youtube.com/watch?v=hO-2eY_8jJg&amp;amp;ab_channel=ThePrimeTime" target="_blank"&gt;https://www.youtube.com/watch?v=hO-2eY_8jJg&amp;amp;ab_channel=ThePrimeTime&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 18:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/854649#M6282</guid>
      <dc:creator>pmbrown</dc:creator>
      <dc:date>2023-01-19T18:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: sas + vim</title>
      <link>https://communities.sas.com/t5/Developers/sas-vim/m-p/854652#M6283</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308996"&gt;@pmbrown&lt;/a&gt;&amp;nbsp;- Correct, the SAS 9.4 M8 upgrade is essentially a maintenance release without major changes and vim should still work with it.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 18:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/sas-vim/m-p/854652#M6283</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-19T18:50:31Z</dc:date>
    </item>
  </channel>
</rss>

