Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wirth committed May 13, 2018
1 parent 0601bac commit 5f7fedc
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions decrement.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
read b
echo $(expr $b - 1)
1 change: 1 addition & 0 deletions gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ selenium-debug.log
test/unit/coverage
test/e2e/reports
.texpadtmp
.ipynb_checkpoints/
1 change: 1 addition & 0 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
~/.gitignore: gitignore
~/.config/kak/kakrc: kakrc
/usr/local/bin/inc: increment.sh
/usr/local/bin/dec: decrement.sh
/usr/local/bin/toggleGit: toggleGit.sh
~/Library/Preferences/com.apple.Terminal.plist:
force: true
Expand Down
4 changes: 3 additions & 1 deletion kakrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ hook global NormalKey y|d|c %{ nop %sh{
printf %s "$kak_reg_dquote" | pbcopy
}}

map global user p <a-!>pbpaste<ret>'
map global user p <a-!>pbpaste<ret>' # paste large stuff from clipboard
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 # extract rule from parse tree in latex tikz tree syntax


hook global BufCreate .vue %{ set buffer filetype xml }
hook global BufCreate .*.elm %{ set buffer filetype haskell }
Expand Down
2 changes: 2 additions & 0 deletions skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,5 @@ fn + ctrl - s : chunkc tiling::desktop --layout monocle
fn + ctrl - d : chunkc tiling::desktop --layout float

fn + ctrl - w : chunkc tiling::desktop --deserialize ~/.chunkwm_layouts/dev_1

fn + ctrl - s : cd owvs-ui && npm start
9 changes: 9 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,13 @@ export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PR
# open all files with matches in kakoune
function rgk () kak `rg -l $1`

# open all files with conflicts in kakoune
alias fix='$EDITOR `git diff --name-only | uniq`'

alias ggl='googler --colors bjdxxy'

alias compress='7z a -tzip $@'
alias decompress='7z x $@'

alias ns='npm start'
export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"

0 comments on commit 5f7fedc

Please sign in to comment.