Watch
1
0
Fork
You've already forked dotfiles
0

Compare commits

..
4 changed files with 23 additions and 6 deletions

View file

@ -40,8 +40,7 @@ outer.right = 0
#
# Commands: https://nikitabobko.github.io/AeroSpace/commands
[mode.main.binding]
alt-tab = 'workspace-back-and-forth'
alt-backtick = 'workspace-back-and-forth'
alt-tab = 'workspace-back-and-forth'
alt-j = 'focus --boundaries all-monitors-outer-frame down'
alt-k = 'focus --boundaries all-monitors-outer-frame up'

View file

@ -1,5 +1,9 @@
#!/bin/sh
#!/usr/bin/env bash
cbclear
set -euo pipefail
CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"${CURDIR}/cbclear"
osascript -e 'display notification "Clipboard cleared" with title "pbclear"'

View file

@ -1,5 +1,6 @@
font-size = 12
font-size = 14
quit-after-last-window-closed = true
working-directory = home
window-save-state = never

View file

@ -70,7 +70,20 @@ tabpad = ""
[keys.normal]
"C-l" = [":config-reload", ":redraw"]
[keys.normal.space.t]
[keys.normal.space.g]
"b" = ":sh git blame -L '%{selection_line_start},%{selection_line_end}' '%{buffer_name}'"
"f" = "changed_file_picker"
"h" = ":noop %sh{gh browse '%{buffer_name}:%{cursor_line}' --commit=%sh{git rev-parse HEAD}}"
[keys.normal.space.q]
"q" = ":reflow"
[keys.normal.space.t]
"w" = ":toggle whitespace.render all none"
"W" = ":toggle soft-wrap.enable"
[keys.normal.space.y]
"y" = "yank_to_clipboard"
"p" = ":noop %sh{printf '%%s' '%{buffer_name}' | cbcopy}"
"d" = ":noop %sh{printf '%%s' $(dirname '%{buffer_name}') | cbcopy}"
"b" = ":noop %sh{printf '%%s' $(basename '%{buffer_name}') | cbcopy}"