Compare commits
3
Commits
4a9fd6c201
...
387064a349
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
387064a349 | ||
|
|
8b2ce18321 | ||
|
|
b6fdb23275 |
@@ -892,8 +892,8 @@ local function makespec_gitsigns()
|
|||||||
local function bmap(mode, l, r, desc) vim.keymap.set(mode, l, r, { buffer = bufnr, desc = desc }) end
|
local function bmap(mode, l, r, desc) vim.keymap.set(mode, l, r, { buffer = bufnr, desc = desc }) end
|
||||||
|
|
||||||
-- Navigation
|
-- Navigation
|
||||||
bmap("n", "<M-,>", next_hunk, "Prev Hunk")
|
bmap("n", "<M-,>", next_hunk, "Next Hunk")
|
||||||
bmap("n", "<M-.>", prev_hunk, "Next Hunk")
|
bmap("n", "<M-.>", prev_hunk, "Prev Hunk")
|
||||||
bmap("n", "[h", prev_hunk, "Prev Hunk")
|
bmap("n", "[h", prev_hunk, "Prev Hunk")
|
||||||
bmap("n", "]h", next_hunk, "Next Hunk")
|
bmap("n", "]h", next_hunk, "Next Hunk")
|
||||||
|
|
||||||
@@ -1296,7 +1296,8 @@ local function makespec_flash()
|
|||||||
opts = {
|
opts = {
|
||||||
picker = {
|
picker = {
|
||||||
win = {
|
win = {
|
||||||
input = { keys = { ["<a-s>"] = { "flash", mode = { "n", "i" } }, ["s"] = { "flash" } } },
|
input = { keys = { ["<a-s>"] = { "flash", mode = { "n", "i" } } } },
|
||||||
|
list = { keys = { ["s"] = { "flash" } } },
|
||||||
},
|
},
|
||||||
actions = {
|
actions = {
|
||||||
flash = function(picker)
|
flash = function(picker)
|
||||||
|
|||||||
@@ -348,6 +348,8 @@ for_window [title="File Operation Progress"] floating enable, border pixel 1, st
|
|||||||
for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky enable
|
for_window [app_id="floating_shell"] floating enable, border pixel 1, sticky enable
|
||||||
for_window [title="Picture in picture"] floating enable, sticky enable
|
for_window [title="Picture in picture"] floating enable, sticky enable
|
||||||
for_window [title="Save File"] floating enable
|
for_window [title="Save File"] floating enable
|
||||||
|
for_window [instance="matplotlib"] floating enable
|
||||||
|
for_window [app_id="qalculate-gtk"] floating enable
|
||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||||
# only thunderbird main window as float
|
# only thunderbird main window as float
|
||||||
for_window [app_id="org.mozilla.Thunderbird" title="^((?!Mozilla Thunderbird).)*$"] floating enable
|
for_window [app_id="org.mozilla.Thunderbird" title="^((?!Mozilla Thunderbird).)*$"] floating enable
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ alias ls='ls --color=auto -Ah'
|
|||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
catai () {
|
catai () {
|
||||||
rg -l --hidden --glob '!.git/*' '^' -- "$@" | while IFS= read -r f; do
|
rg -l --hidden --glob '!.git/*' --sort path '^' -- "$@" | while IFS= read -r f; do
|
||||||
printf "\n── %s ──\n" "$f"
|
printf "\n── %s ──\n" "$f"
|
||||||
echo '```'
|
echo '```'
|
||||||
cat "$f"
|
cat "$f"
|
||||||
|
|||||||
Reference in New Issue
Block a user