17 GUI software

17.1 VSCode shortcut

当时花了我不少功夫,虽然后来好多都没用上,但在 code editing 方面 VScode 简直是不要太爽。

  • contact me for keybindings.json
  • Select means Quick and Simple Text Selection extension,press twice to select outer.

17.1.1 Ctrl

ctrl shortcut keymap
1 Split Editor 2 Select in Tag 3 Select () 4 5 6 7
q Select Quote w close Window e Select [] r Open Recent t Test y Redo u
a Choose All s Save d Select {} f Find g Quick Open h Replace j Join Line
z Undo x Cut c Copy v Paste b Build n New file m
  • ctrl+c/v/x act the whole line when you haven’t selected anything
  • In Quick Open, you can press right to open a file in the background. Except opening files, you to can do many things (just type ?).

17.1.2 ctrl+shift

ctrl+shift shortcut keymap
1 Editor Layout 2 3 4 5 6
q Select ` w e r R terminal t y
a s Save all d f Format all g Go to Line h
z Zen x c Comment Line v Preview .md b Comment Block n New Window

17.1.3 alt

alt shortcut keymap
1 Group 1 2 Group 2 3 Group 3 4 5 6 7 8 9
q Switch Quote w e r t y u i o Open Folder
a s d f g h j Panel k l Language
z Wrap x c v b Side Bar n m , .

17.1.4 方向键

shortcut action
ctrl+up/down Copy Line
alt+up/down Move Line
ctrl+shift+up/down Insert Cursor Above/Below
ctrl+left/right Preview/Next Editor
ctrl+shift+lef/right Smart Select Grow/Shrink
home/end Top/Bottom
ctrl+home/end Line Begin/End

17.1.5 others

other shortcut
shortcut action
ctrl+o Open File
ctrl+` Intergrated Ternimal
ctrl+shift+` New Intergrated Ternimal
alt+shift+s User Setting
F1 Command Palette
shift+alt+drag Column Selection
alt+drag Multiple cursor

17.2 fcitx in Qt

最初是 RStudio 不支持搜狗拼音,后来发现 Spyder 也不行。

On Linux, RStudio uses a bundled version of Qt 5 that does not include support for Fctix by default. To resolve the problem, you can add Fctix’s Qt 5 plugin from your system’s Qt 5 installation to RStudio’s platform input plugin folder.

https://support.rstudio.com/hc/en-us/articles/205605748

  • Support Sogou Pinyin
sudo apt -y install fcitx-frontend-qt5
# RStudio
sudo cp -t /usr/lib/rstudio/plugins/platforminputcontexts /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
# Spyder by pip
cp -t /path/to/site-packages/PyQt5/Qt/plugins/platforminputcontexts /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so

17.3 Windows web server

  1. 控制面板 => 程序和功能 => 启用或关闭Windows功能 => Internet Information Services

    just click once, system will automatically needed sub-service

  2. IIS => right click 网站 => 添加网站 => 网站名称 + 物理路径 + 端口 (such as 81 21)

    • 类型: use the default value, http, since https requires a SSL certificate
    • IP 地址: 全部未分配 means http://localhost:*, other optional IPs are also okay. But customed IP won’t work.
    • 主机名: don’t specify that
  3. (optional) install Internet Information Services/万维网服务/安全性/IP安全 and set IP 地址和域限制 to disable public access.


  1. I don’t use 80 since others can access you. Although it’s okay for public site, bandwidth is money in Nankai LAN↩︎