From a479092a592bc1f97f849410593f8a06a8688cd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Fri, 17 Sep 2021 23:59:38 +0300
Subject: Some changes/improvements

* New menuman mode to search with apropos
* Dragon drag-and-drop marked images in sxiv
* Other changes.
---
 dotfiles/.config/zsh/shortcuts | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'dotfiles/.config/zsh')

diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 9ec350c..e203a26 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -68,6 +68,11 @@ alias yta="youtube-dl --add-metadata -xic" # Download only audio
 alias YT="youtube-viewer"
 alias starwars="telnet towel.blinkenlights.nl"
 
+# git
+gitcc () {
+	git clone "$(wl-paste --no-newline)"
+}
+
 # Audio and Music
 alias mute="lmc mute"
 alias vu="lmc up"
-- 
cgit v1.2.3


From f2aa61e910a8ccab62579a82fdc3e756cd1bd960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Tue, 28 Sep 2021 19:03:34 +0300
Subject: fix zsh fzf shortcut aliases

Forgot to surround the command result with quotes.
---
 dotfiles/.config/zsh/shortcuts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'dotfiles/.config/zsh')

diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index e203a26..aa34603 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -30,8 +30,8 @@ alias testinet="ping -c2 example.com"
 
 # Fuzzy finder
 alias fzd='cd "$(find . -type d | fzf || echo ".")"'
-alias fzv='nvim $(find . -type f | fzf)'
-alias fzo='op $(find . -type f | fzf)'
+alias fzv='nvim "$(find . -type f | fzf)"'
+alias fzo='op "$(find . -type f | fzf)"'
 
 # Function for changing working dir after exiting lf
 lfcd () {
-- 
cgit v1.2.3


From 3f6bb9f7ddc34fdd9af3d8ae3b0c00b882027843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 30 Sep 2021 20:56:04 +0300
Subject: zsh: history search bindings

---
 dotfiles/.config/zsh/.zshrc | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'dotfiles/.config/zsh')

diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc
index 727bfe0..a744585 100644
--- a/dotfiles/.config/zsh/.zshrc
+++ b/dotfiles/.config/zsh/.zshrc
@@ -38,6 +38,12 @@ bindkey -M menuselect 'L' vi-forward-char
 bindkey -M menuselect 'J' vi-down-line-or-history
 bindkey -v '^?' backward-delete-char
 
+# History search
+bindkey "^[[A" history-search-backward
+bindkey "^[[B" history-search-forward
+bindkey -a "k" history-search-backward
+bindkey -a "j" history-search-forward
+
 # Change cursor shape for different vi modes.
 function zle-keymap-select {
   if [[ ${KEYMAP} == vicmd ]] ||
-- 
cgit v1.2.3


From 570ac7ec050d0a79fb46832df9a19be4da241469 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 7 Oct 2021 10:18:09 +0300
Subject: zsh: switch binds to history-beginning-search-*

---
 dotfiles/.config/zsh/.zshrc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'dotfiles/.config/zsh')

diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc
index a744585..ad70614 100644
--- a/dotfiles/.config/zsh/.zshrc
+++ b/dotfiles/.config/zsh/.zshrc
@@ -39,10 +39,10 @@ bindkey -M menuselect 'J' vi-down-line-or-history
 bindkey -v '^?' backward-delete-char
 
 # History search
-bindkey "^[[A" history-search-backward
-bindkey "^[[B" history-search-forward
-bindkey -a "k" history-search-backward
-bindkey -a "j" history-search-forward
+bindkey "^[[A" history-beginning-search-backward
+bindkey "^[[B" history-beginning-search-forward
+bindkey -a "k" history-beginning-search-backward
+bindkey -a "j" history-beginning-search-forward
 
 # Change cursor shape for different vi modes.
 function zle-keymap-select {
-- 
cgit v1.2.3


From 4213b8745e62801b9926c699edf7ad3ffd94f0b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?=
 <yps@yaroslavps.com>
Date: Thu, 7 Oct 2021 14:40:43 +0300
Subject: menuworkspace script

---
 dotfiles/.config/zsh/shortcuts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'dotfiles/.config/zsh')

diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index aa34603..199faee 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -29,9 +29,9 @@ alias spw="setsid $TERMINAL >/dev/null 2>&1 &"
 alias testinet="ping -c2 example.com"
 
 # Fuzzy finder
-alias fzd='cd "$(find . -type d | fzf || echo ".")"'
-alias fzv='nvim "$(find . -type f | fzf)"'
-alias fzo='op "$(find . -type f | fzf)"'
+alias fzd='cd "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type d | fzf || echo ".")"'
+alias fzv='nvim "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'
+alias fzo='op "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'
 
 # Function for changing working dir after exiting lf
 lfcd () {
-- 
cgit v1.2.3