How to open conemu form current folder? - console

I used cmder that can open console from current folder thought windows shortcut menu by clicking mouse right key.
You can add shortcut of cmder to right-click menu by
cmder /regesiter
But when using conemu, I can't find way to open console form current folder.
Is there some way I can do it?
thanks a lot

I find the approach: Settings -> Integration -> ConEmu Here -> Register

Related

How to open atom editor?

I'm new to atom (atom.io), I have downloaded it, and success installed it. But how to open this editor?
There is no shortcut in my desktop. And no atom icon on my start menu.
How to open this editor?
If you are using windows check:
C:\Users\<yourUserName>\AppData\Local\atom
Atom SETTINGS -> System: tab -> Checked two options:
- Show in file context menus
- Show in folder context menus
First go to this location
C:\Users\<YOURUSERNAME>\AppData\Local\atom
In my case YOURUSERNAME is hp. After going to that folder check the file name atom with atom symbol of type application.
Click on the link below to see the picture.
After that, right click that file and click the option create shortcut. Then move the shortcut to your Desktop.
Now you can access/open atom editor from your desktop.
ENJOY!
cd C:\Users\<YOURUSERNAME>\AppData\Local\atom
start atom.exe
Just copy this code to a notepad file and save it as Atom.bat on your desktop. I know it is a workaround, but hey, it works!
You can customize the icon too if you want by going to it's properties.
Please unhide "hidden files"
Find on this location [AppData is a hidden folder in windows10]
C:\Users<YOURUSERNAME>\AppData\Local\atom
It's in "GitHub, Inc" folder in start menu.
If there isn't, go to C:\Users\<YOURUSERNAME>\AppData\Local\atom or
C:\Users\<YOURUSERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\GitHub, Inc
If these do not work, reinstall it! and after it finished try to pin it on Taskbar.
You need to access the Atom app settings as described here: https://atom.io/packages/settings-view#:~:text=Usage,File%20%3E%20Settings%20(Windows).
"You can open the Settings View by navigating to Edit > Preferences (Linux), Atom > Preferences (macOS), or File > Settings (Windows)."
For windows computer: On the Atom app home screen click on File, then settings. You then scroll to System settings and select all the check boxes as shown in one of the images in the answers in this thread.
After completing these steps you will notice that if you right click on any of your files, and click "open with" Atom will be one of the options to open your file with. After opening Atom you can right click the icon on your task bar and click "pin to task bar" and use that as your shortcut.
Bizarrely, I actually just found it in
C:\Windows\SysWOW64\config\systemprofile\AppData\local\atom\atom.exe
It was installed by chocolatey; perhaps that affected the install location? On a different system chocolatey installed it in a more normal place.

How can I config workspace in chrome?

I'm trying to activate workspace tool for my local project. I want to apply CSS changes on my codes when I edit them into browser.
I've added my folder, perfix url and path of my project to the Chrome like this:
But still there isn't any change in my codes when I change it into browser, What's wrong?
Here are the steps to map a local workspace to a server path, using my example:
Click "Add folder" in the Workspace settings, and navigate to your working directory. Click "Allow" in the bar at the top to grant Chrome permissions.
Add a mapping between your server and the path
Load the URL and navigate to the Sources tab. Open your file and start editing.
If you save with Cmd+S (Mac) / Ctrl+S (Windows / Linux), the changes will be persisted in the workspace.
You can read more information from the official documentation here, which shows how to add it directly from the Sources panel. Read the Limitations section, in case you are trying to do something that isn't supported.

How to open a file with a single click in atom1.7+ (no pending panes)

After having upgraded atom from 1.5 to 1.7 I discover a new "feature" that is not practical: all files that are single-clicked are now open in a "pending pane", what means that if nothing is changed in the file, it will be replaced by the next opened file.
It's possible to disable the "pending panes" feature in the settings of atom.
But I also would like to restore the previous behaviour (a single click on the file in the tree view will open the file).
The "tree-view" package settings allow to edit keybindings, but I haven't found anything about mouse clicking.
If you open up Settings from File -> Settings or with Ctrl-Comma there is a setting right at the top of "Core Settings" to Allow Pending Panes, uncheck this to disable the Pending Pane functionality:
Unfortunately restoring the 'single-click' functionality to the TreeView isn't a configurable option as yet. However there is pull request #804 that addresses this problem.
Advanced: how to try out the updated TreeView now
If you feel brave and want to try out the updated version of TreeView before it is merged you can actually download it and add it to Atom, albeit not from Package Manager.:
Question: How to edit core files in Atom Editor.
It is required to clone the appropriate branch of the repository:
git clone -b single-click-select git#github.com:Alhadis/tree-view.git
Thanks to Arcesilas for spotting this answer.

How to make RStudio File Navigator open Current Working Directory by default?

This is a very small issue but every time I do it, I wonder if there is such a convenience.
In RStudio, file navigator always opens in home directory by default. Is there a way to make it open the current working directory automatically or by using a shortcut?
To open current working directory you can simply use the "Set As Working Directory" button in Files -> More menu.

How to modify and save Rprofile.site under Windows?

I wish to modify Rprofile.site file under Windows 7 R-2.11.1 using Notepad++ editor changing from
# options(help_type="text")
options(help_type="html")
to
options(help_type="text")
# options(help_type="html")
When saving this file, the editor keeps prompting the following message
"Please check whether if this is opened in another program"
I have no other programme opening this file.
Does anyone know on how to modify and save this file?
You don't have write access to the program files folder. To get it on a temporary basis start Notepad++ as administrator from the right click menu of the shortcut you use to start it. Then you will be able to write this file.
I guess it is the same problem I had. It's about write/modify permission of that file.
make sure that windows account you use is admin
right click on this file and choose settings
go to tab security (2nd tab) and click on "edit" button (this is next to the phrase "to change the permission click on...")
here you need to specify which account (i.e. only your account) of group of accounts (all admin accounts created on PC) can modify this file. On the 1st tab, select "Admin" and on the tab below you can select which events will be allowed to Admin user. You can choose: full control, modify, read and execution, read, save. Put the "dash" sign to option "modify" on right hand side. Click "OK" and go back to main settings. Also click "OK" to save all of the changes.
Now you should be able to edit and succesfully save all of the changes you apply to this file.
Let me know if it works for you.

Resources