Skip to content

Commit

Permalink
Add "find below cursor" and "open filepath" kak mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
janwirth committed May 22, 2018
1 parent 750e837 commit 11ede8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kakrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ map global user p <a-!>pbpaste<ret>'
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
map global user l yI<esc>Oconsole.log(<esc>P:w<ret>

# find selection across all buffers
map global user f :find<space>%{<backspace>reg{.}<ret>
# open file from find result
map global user o F:<esc>H:b<space>%{<backspace>reg{.}<ret>


hook global BufCreate .vue %{ set buffer filetype xml }
hook global BufCreate .*.elm %{ set buffer filetype haskell }
Expand Down

0 comments on commit 11ede8e

Please sign in to comment.