VSCode: how to make Ctrl+k kill till the end of line in the terminal?

If you have years of muscle memory of Unix shell and want to prevent VSCode to capture your keyboard shortcuts, turn off allowChords. In newer VSCode version you can simply open File -> Preferences -> User (tab), search for allowChords and uncheck it. Or you can edit your %APPDATA%\Code\User\settings.json file and put this: “terminal.integrated.allowChords”: false … Read more

My terminal in VS Code has a tiny font after installing zsh and changing font style

I’m sure there are a few answers to this. But to solve mine, I had to change the terminal.integrated.fontFamily. Try these themes “Monaco” for instance. Add this line to your settings. “terminal.integrated.fontFamily”: “Monaco” If the font size does not change and only increases the letter spacing, try a few checks: Save the settings and close … Read more

Installing Sublime Text’s command line tool ‘subl’ in terminal, permission denied?

I am assuming that you don’t have the bin directory. You can do the following: cd mkdir bin sudo ln -s “/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl” ~/bin/subl ln -s will create a alias of the subl file in your bin directory and you will be able to run the command. If this still doesn’t work you will … Read more

tmux: open terminal failed: missing or unsuitable terminal: xterm-256color

Your system doesn’t have xterm-256color. You could: Set TERM to something other than xterm-256color outside tmux (try just plain export TERM=xterm). See if there is a package containing xterm-256color, perhaps a later version of ncurses or terminfo. Install it manually from another system with something like: infocmp -x xterm-256color > out Then transfer the “out” … Read more

Changing the default path of Visual Studio Code’s integrated terminal

Short answer Edit the user preference “terminal.integrated.cwd”: “” to the path that you want the integrated terminal to open to. Long answer The same answer, but the long step-by-step version, In Visual Studio Code go to: Menu File → Preferences → Settings Now that you are in the “User Settings“, using the “Search Settings” bar … Read more