dotfiles

my active dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

kakrc (1084B)


      1 colorscheme plain
      2 set-option global ui_options terminal_status_on_top=true
      3 set-option -add global ui_options terminal_assistant=clippy
      4 set-option global tabstop 4
      5 set-option global indentwidth 4
      6 set-option global scrolloff 3,3
      7 
      8 define-command testcmd %{
      9     prompt -file-completion 'What is your name? ' %{
     10         evaluate-commands %sh{
     11             echo "Hello, $kak_text!" > /tmp/vars
     12             env >> /tmp/vars
     13             title=$(dmenu -p 'say something: ')
     14             printf "info '%s' -title '%s'" "wrote to file /tmp/vars" "$title"
     15         }
     16     }
     17 }
     18 
     19 add-highlighter global/ number-lines -hlcursor -relative
     20 
     21 # colemak dh binds
     22 map global normal n "h"
     23 map global normal N "H"
     24 map global normal e "j"
     25 map global normal E "J"
     26 map global normal i "k"
     27 map global normal I "K"
     28 map global normal o "l"
     29 map global normal O "L"
     30 
     31 map global normal j "e"
     32 map global normal J "E"
     33 map global normal k "n"
     34 map global normal K "N"
     35 map global normal h "o"
     36 map global normal H "O"
     37 map global normal l "i"
     38 map global normal L "I"
     39 
     40 map global normal <a-n> <a-h>
     41 map global normal <a-o> <a-l>