Skip to content

Commit

Permalink
Tune kak and zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wirth committed Sep 18, 2018
1 parent 270503a commit d4f9d97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions kakrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ add-highlighter global/ show-whitespaces -lf ' '
#add-highlighter global dynregex '%reg{/}' 0:default,+u
colorscheme gruvbox


hook global NormalKey y|d|c %{ nop %sh{
printf %s "$kak_main_reg_dquote" | xsel -ib
printf %s "$kak_main_reg_dquote" | xsel --input --clipboard
}}

map global user p <a-!>pbpaste<ret>'
map global user p '<a-!>xsel <minus><minus>clipboard<ret>'


# paste large stuff from clipboard
# extract rule from parse tree in latex tikz tree syntax
map global user r Zf.lf<space>Hyo<esc>F<esc>PA<space><minus><gt><space><esc>zf[f.lf<space>Hyjpzf[mf.lf<space>HyjA<space><esc>pz
Expand Down
5 changes: 2 additions & 3 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function ka () {
kak -c `project` $0
}

# eval $(thefuck --alias)
eval $(thefuck --alias)

function currentBranch () {
git branch | grep \* | cut -d ' ' -f2
Expand Down Expand Up @@ -207,6 +207,5 @@ function rebase () {
git checkout $START
}

source ./pomodoro/pomodoro.sh
source ~/dotfiles/pomodoro/pomodoro.sh
alias work="pomo && pomo -s"

0 comments on commit d4f9d97

Please sign in to comment.