Kitty快捷键

  • kitty_mod ctrl+shift

Clipboard

cmd+c copy_to_clipboard
cmd+v  paste_from_clipboard

kitty_mod+s  paste_from_selection
shift+insert paste_from_selection
kitty_mod+o  pass_selection_to_program

Scrolling

kitty_mod+up        scroll_line_up
kitty_mod+k         scroll_line_up
kitty_mod+down      scroll_line_down
kitty_mod+j         scroll_line_down
kitty_mod+page_up   scroll_page_up
kitty_mod+page_down scroll_page_down
kitty_mod+home      scroll_home
kitty_mod+end       scroll_end
kitty_mod+h         show_scrollback

Window

kitty_mod+enter new_window

kitty_mod+n new_os_window

cmd+w close_window
cmd+enter new_os_window_with_cwd
cmd+e hsplit
cmd+i vsplit

# 分割屏之间切换(helix中有冲突)
cmd+k next_window
cmd+j previous_window

kitty_mod+f move_window_forward
kitty_mod+b move_window_backward
kitty_mod+` move_window_to_top
kitty_mod+r start_resizing_window
kitty_mod+1 first_window
kitty_mod+2 second_window
kitty_mod+3 third_window
kitty_mod+4 fourth_window
kitty_mod+5 fifth_window
kitty_mod+6 sixth_window
kitty_mod+7 seventh_window
kitty_mod+8 eighth_window
kitty_mod+9 ninth_window
kitty_mod+0 tenth_window

Tab management

cmd+t     new_tab
kitty_mod+right next_tab
kitty_mod+left  previous_tab
kitty_mod+q     close_tab
kitty_mod+.     move_tab_forward
kitty_mod+,     move_tab_backward
kitty_mod+alt+t set_tab_title

Layout management

kitty_mod+l next_layout

Font sizes

kitty_mod+equal     change_font_size all +2.0
kitty_mod+minus     change_font_size all -2.0
kitty_mod+backspace change_font_size all 0

Select and act on visible text

kitty_mod+e // 在terminal中选择并打开url网页链接 #Open a currently visible URL using the keyboard. The program used to open the URL is specified in open_url_with.

kitty_mod+p>f // 在terminal中选择路径或者文件名,将其输入到terminal中.Select a path/filename and insert it into the terminal. Useful, forinstance to run git commands on a filename output from a previous git command.

kitty_mod+p>shift+f // Select a path/filename and open it with the default open program.

kitty_mod+p>l // Select a line of text and insert it into the terminal. Use for the output of things like: ls -1

kitty_mod+p>w // Select words and insert into terminal.

kitty_mod+p>h // Select something that looks like a hash and insert it into the terminal. Useful with git, which uses sha1 hashes to identify commits

kitty_mod+p>n // Select something that looks like filename:linenum and open it in vim at the specified line number.

Miscellaneous

kitty_mod+f11    toggle_fullscreen
kitty_mod+f10    toggle_maximized
kitty_mod+u      kitten unicode_input
kitty_mod+f2     edit_config_file
kitty_mod+escape kitty_shell window // Open the kitty shell in a new window/tab/overlay/os_window to control kitty using commands.
kitty_mod+a>m    set_background_opacity +0.1
kitty_mod+a>l    set_background_opacity -0.1
kitty_mod+a>1    set_background_opacity 1
kitty_mod+a>d    set_background_opacity default
kitty_mod+delete clear_terminal reset active

华硕FX50JX黑苹果Vertura13.5.1系统安装完善踩坑记录

电脑配置

  • CPU Intel i5 4200H
  • 显卡:
    • 集显:HD4600
    • 独显:NVIDIA 950M(不可用)
  • 内存:板载Samsung 4G DDR3 1333MHz + KingSton 4GB DDR3 1333MHz
  • 硬盘:Intel 545S 256G SSD
  • 网卡:原装蓝牙不可用,更换为BCM943225HMB

正常工作

  • 睡眠&唤醒
  • 触摸板
  • Fn快捷键
  • CPU变频
  • 亮度调节
  • HDMI输出
  • WIFI&蓝牙
  • 音频&麦克风

参考配置

参考EFI 该EFI支持11-13系统,本人使用该EFI中的EFI-ventura.zip文件进行配置

开发环境搭建

开发环境搭建

基于glepnir

一、安装前准备工作

  1. 安装ClashX并配置科学上网
  2. 配置终端网络代理
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890

二、安装dotfiles

  1. clone dotfiles并安装

mydotfiles

Markdown语法测试--以surfingkeys为例

Surfingkeys -- 用 javascript 和键盘扩展你的 chrome

Node CI

Surfingkeys 和现有的一些插件一样,让你尽可能的通过键盘来使用 Chrome/Firefox 浏览器,比如跳转网页,上下左右滚屏。但不只是给 vim 用户使用,Surfingkeys 的基本特性是让你自己写一段 Javascript 脚本,然后通过mapkey映射到某些按键。之后当你按了那几个键以后,对应的 Javascript 脚本就会被执行。

Mac装机清单

MAC装机清单

一、开发类

iTerm2

XCode

1
$ xcode-select --install

Homebrew

1
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 更换国内源
1
2
3
4
5
6
7
git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git

brew update

参考