Using atom text editor with the vim-mode package, how do I view commands in command mode? - atom-editor

I just started using atom and I want to be able to see the commands I'm typing (i.e. ':' some command, but unlike in vim where you see them at the bottom of the window I don't see them in atom. Anyone know where/if they appear?

The "Key Binding Resolver" should show you what you want. You can get there by hitting Cmd+.

As per my experience it does not show the command, but does work in some instances like search (:?) or (/). This is shown under the text editor main window.

Related

modelsim prompt wildcard suggestions/autocomplete disappeared

Normally when I type a command in modelsim, if I have a star * in the command, it lists the available files that match that wildcard. The most common one I do is
>do *.do
And then a window pops up showing all the files with the extension *.do, and I can use the arrow keys to select the file I want to perform the command on.
While this suggestions window was open, I accidentally clicked the X and it closed. Now, I can't figure out how to get that suggestion window to reappear. Even after restarting modelsim, I just get nothing at all when I type the same command. I did do a sanity check and make sure I actually have *.do files in the same directory...
How do I get that autocomplete/wildcard window back? I can't seem to locate it in the toolbar windows.
I found an answer on the Google Forums:
Go to Tools > Edit Preferences. Then select the By Name tab and expand Main. Scroll down to EnableCommandHelp and set it's value to 1.
Google Forms post

How to quickly view a function's documentation when using jupyter-notebook

It seems that using '?' command is the only way.But this is too much trouble, need to run the function? in another cell.
I've tried shift+tab, but it does not work for me.
Shift + TAB displays popup with signature, docstring and type.
One can also keep open Inspector where documentation will be displayed while typing.

How do I dismiss an autocomplete suggestion in Atom?

When I'm writing Docstrings in Python3, I'm ending all of my sentences with periods and I see an autocomplete suggestion like this:
In this case it wants to replace the string "wager." with "wagerself."
If I press Enter or Tab the string replaces. I've messed around with all the logical buttons (Including adding an extra space which doesn't work), and nothing will allow me on my merry way to a newline.
This problem occurs both with and without the autocomplete-python package installed.
I do want to use auto-complete when I type a dot after an object, just not in the comments.
Is there a way to either:
Dismiss the autocomplete suggestion as they come up.
-- or --
Change the autocomplete to be aware of the context, i.e. not autocomplete dots when I'm in a string/comment.
From experimenting with different key combos, ctrl + enter will ignore the suggestion and allow you to go to the next line without altering what you've typed.
I haven't found any documentation around this, so I'm not sure if there's a similar key combo for tab or not. I couldn't find anything myself beyond alt + tabing to lose focus, which causes the suggestion to go away, then alt + tabing back to hit tab, which obviously isn't ideal.
I'm using Atom 1.44.0 on Windows and have found that shift + enter works to dismiss an autocomplete suggestion. No luck with tab on this platform though.
I use atom extensively, and have found that a quick left-right cursor move will leave the typed text in place and will NOT reactivate the suggestion list, unless more characters are typed. You can then type and move on to the next line.
I was actually searching myself for a way to exclude "then" from the autocomplete action, because I have text in other locations that has it as a commented "Then". I was hoping to find a way to exclude that word completely, but thought to share my work-around for that little bit, instead.
I am having the same problem where my text is getting replaced with cached words where if I wanted to type “manage” but if I have used “management “ before, I will get the text what I don’t want if I press enter. I went into preferences and followed the same steps mentioned in the below article and once the preferences are changed, I don’t see the word suggestions anymore. I felt so relieved.
https://elearning.wsldp.com/pcmagazine/disable-code-hints-atom-editor/

Is there a way in unix to programmatically force a terminal window to "front"

We have a script that always runs in a terminal window. Sometimes users will do stuff in other windows and our script terminal gets moved behind all these other windows, and they forget to bring it back to the front. Is there a way to force it so it is always on top or front? Sort of like how annoying popup windows work? We are on solaris 8
There is a way indeed! Check out a tool called xdotool. It does exactly what you need and more.
Here is the link to the download: http://www.semicomplete.com/projects/xdotool/#idp20144
and here is the link to the documentation: http://www.semicomplete.com/projects/xdotool/xdotool.xhtml
I suggest you look into the Window commands, especially: windowactivate
I can give you the exact command if you like to save time? Or you can browse through the documentation. Hope this helps!

Github syntax highlight style scheme for Gedit?

I like the syntax highlight style scheme used for R scripts in github and I would like to get it to my gedit editor. Where could I get it?
The easiest way to get R syntax highlighting in Gedit is the RGedit add-on: http://sourceforge.net/projects/rgedit/
RGedit also allows executing R code from within Gedit, which is very handy.
Here's a screenshot of how I have my RGedit set up. I use a custom color pallet but you could alter the color scheme to look more like Github:
The lower pane is the R session (black on white) and the upper pane is the text editor (color on black).
gedit doesn't seem to have much in "syntax highlighting plugins":
Smart Highlighting gedit
QuickHighlightMode
Both doesn't support easily any language definition.
Maybe another editor (like bluefish for instance) would be more appropriate.
It seems that both existing answers are outdated, although the RGedit plugin JD Long mentioned still works. It looks like the last update was from almost a year ago, and there might be some problems with the latest version of gedit; however, I installed the plugin and it seemed to work without following the instructions in the forum (I'm running on Xubuntu 14.04).
However, for syntax highlighting (like the OP requested) - you don't have to do anything special. Today Gedit comes with syntax highlighting for many languages out-of-the-box, and one of them is R. If it doesn't detect R automatically (based on mime type or extension) then you can manually set the syntax highlighting scheme by clicking on the file type on the bottom right of the screen, where it says plain text or by choosing View -> Highlight Mode from the menu.

Resources