Enthought Canopy emacs keybinding - emacs

Canopy's integrated Ipython terminal allows to use Emacs keybindings, but the integrated code editor won't. This is a problem when switching from one window to the other...
Is there a way to activate Emacs keybindings in "Enthought" Canopy code editor? (I am on OS X)

Related

How to switch to VS Code linux keymap on GoLand?

VS Code Linux keymap differs slightly from the Windows keymap. I am using VS Code Keymap by JetBrains on GoLand on Fedora but it defaults to Windows keymap. I am used to Linux keymap and many common keyboard shortcuts are not working (e.g Formatting). Is there any way to switch this behavior? I couldn't find any settings to do that.

Emacs Mode Line Click Change Buffer

In some installation of Emacs for the terminal, I had that if you click (text mouse cursor) on the buffer name in the mode line it jumped to the next buffer.
I search for a while but I couldn't find it.
Do someone remembers how to achieve this.
OS : OS X Terminal
Emacs: GNU Emacs 26.3
(Now I have Catalina, but I should have been in previous versions)
Try turning on mouse mode in your terminal emacs: M-x xterm-mouse-mode RET. This seems to work with emacs -nw in either an xterm or a gnome-terminal on linux. Whether it works on OS X and whatever terminal emulator it provides, I have no idea.
This Unix & Linux SE question contains much more information and some useful links.

VSCode: Different terminal account

I am using VSCode in Linux Ubuntu for my coding purposes. And I use the the existing terminal in the VSCode, The Terminal in VSCode and the OS terminal share the same history of commands. Is there any way to have separate profile for VSCode so that the each of the terminals have its own history.

Integrated Terminal Setting VS Code and iTerm returns zsh

I'm trying to use iterm as my focus terminal inside vscode. I've setup "terminal.external.osxExec": "iTerm.app", but I get zsh instead of iTerm.
I'm able to right click on a file and open in iterm but I love the integrated terminal, and want to use iTerm here.
How do I use iterm as my terminal?
You cannot set iTerm as the integrated terminal for VS Code. I have explained below why.
iTerm is not a shell but a terminal emulator which in your case is running the zsh shell.
I believe you are confusing the terms Shell and a terminal emulator.
iTerm is a terminal emulator. Some examples of terminal emulator are Gnome terminal, Guake, Xterm etc. They provide a display to the shell which is installed in the OS.
A shell is a command line interface that reads and interprets your commands. Examples of shell are bash which comes by default in Linux and other shells like zsh, fish, sh.
Visual Studio Code integrated terminals use the shell itself and not the terminal emulator. In Windows OS the distinction between shell and terminal emulator is not present so Powershell and Command Prompt are both the shell and the emulator.
But for Unix like OSes there is a distinction.
I believe you use iTerm as the terminal emulator and the shell used is zsh (pronounced Z Shell which is a fork of bash Bourne Again Shell).
Here is a wikipedia article on Unix Shell. This talks about what a Unix shell really is.
This link is about Terminal emulators which also talks about the history of terminals.
This link gives a list of terminal emulators
that are available. iTerm is a terminal emulator for Mac OS.
Though you can customize your normal terminal using this
then later remember to go to settings then assign the new configurations to override the default ones
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.fontFamily": "Meslo LG S DZ for Powerline",
"terminal.explorerKind": "external",
The accepted answer has precisely addressed the question.
Here I will add a side note:
Why do you want iterm2 in integrated shell?
My answer is: I want the "copy on selection" feature of iterm2.
Actually vscode has this setting for the integrated terminal!
Settings > Terminal > Integrated: Copy On Selection
By the way, vscode also allows you to split the terminal, which is like iterm2.

Enabling vi key bindings in IPython qtconsole

I have enabled vi mode in my ~/.inputrc using the following lines in my mac.
set editing-mode vi
When I use IPython in terminal, I am getting proper vi key bindings, but when I use IPython in QtConsole using the command ipython qtconsole the vi key bindings don't work.
Is there anything else I have to do to get vi key bindings in IPython QtConsole?
Qt console is not built around readline or anything related to the OS terminal. It's a Qt widget that mimics much of the behavior of terminal IPython and also has several cool features of its own (like inline plots and the ability to render Latex).
It comes with a lot of key bindings (which you can find by going to the menu Help > Show QtConsole Help) but unfortunately none of them is customizable.