Adding MATLAB LSP support for Emacs (using lsp-bridge mode)

Install server If you don’t have node and npm installed, install them first. Then, build the matlab LSP language server as follows: 1 2 3 git clone https://github.com/mathworks/MATLAB-language-server cd MATLAB-language-server/ npm install && npm run compile && npm run package After your installation, you need to keep this MATLAB-language-server/ for you use of LSP langserver in Emacs. MATLAB langserver json config 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "name": "matlab-ls", "languageId": "matlab", "command": [ "/usr/local/bin/node", "/Users/zyue/Programs/LSP/MATLAB-language-server/out/index.

Set up a SFTP server using an available SSH connection

Install and setup your SSH The key of this blog is to deal with the conflict between key-only SSH and password-enabled SFTP. If you haven't had an available SSH access, set up one first. And we assume you like to disable password logon and use key access only. Otherwise, it would be pretty easy. Create Unprivileged SFTP User Account Create a group to assign SFTP user accounts to.

Tutorial on basic SSH and Jupyter Notebook

Setup your SSH access Please go through the following procedure to set up your SSH access to your group servers. Generate your SSH key-pair by ssh-keygen -t rsa -b 4096. For more, refer to https://docs.gitlab.com/ee/ssh/. Contact your server admin and send him/her your SSH pub key ~/.ssh/id_rsa.pub, to set up your SSH pub key for authentication. (WARNING: DO NOT send your private key ~/.ssh/id_rsa and keep it safe!) Edit ~/.ssh/config

Notes of Efficient Editing in Emacs

This article keeps collecting useful commands/keybindings in Emacs for efficient editing. If you are experienced users, jump to the last section to see if anything is interesting.

⚠️ Warning: It may rely on certain configurations (see my .emacs.d on github). If you found some keybindings are not defined, please refer to the configuration files.