From bac308171209e97e7f48bdb392d3cdf4bf40e4c8 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Mon, 9 May 2016 20:34:28 +0200 Subject: [PATCH] Add vim airline plugin --- .vimrc | 8 ++++++-- exe/usdk-hhkb.ahk | 26 +++++++++++++++++++++----- exe/useu-hhkb.ahk | 19 ------------------- 3 files changed, 27 insertions(+), 26 deletions(-) delete mode 100644 exe/useu-hhkb.ahk diff --git a/.vimrc b/.vimrc index 2b860a9..9448ac6 100644 --- a/.vimrc +++ b/.vimrc @@ -15,12 +15,13 @@ call plug#begin('$HOME/.vim/plugged') Plug 'thanthese/Tortoise-Typing' Plug 'altercation/vim-colors-solarized' Plug 'plasticboy/vim-markdown' - +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' Plug 'mileszs/ack.vim' Plug 'brandonbloom/csearch.vim' Plug 'chazy/cscope_maps' Plug 'vim-scripts/taglist.vim' -Plug 'airblade/vim-gitgutter' +"Plug 'airblade/vim-gitgutter' Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'tpope/vim-surround' @@ -99,6 +100,9 @@ nnoremap :TlistToggle "let g:fzf_launcher = 'xterm -e bash -ic %s' let g:fzf_launcher = "In_a_new_term_function %s" +"For airline +let g:airline#extensions#tabline#enabled = 1 + " Easy escape inoremap jj inoremap j j diff --git a/exe/usdk-hhkb.ahk b/exe/usdk-hhkb.ahk index 3a52f6b..a2cd7a3 100644 --- a/exe/usdk-hhkb.ahk +++ b/exe/usdk-hhkb.ahk @@ -1,9 +1,25 @@ -Capslock::LCtrl +; Use caps and rwin as ctrl (HHKB alike) +Capslock::LCtrl RWin::RCtrl LWin::return -:*?:``e::æ -:*?:``o::ø + +; Letter a -> skandinavian å :*?:``a::å -:*?:``E::Æ -:*?:``O::Ø :*?:``A::Å + +; Letter o -> danish/norwegen ø +:*?:``o::ø +:*?:``O::Ø + +; Letter ' -> danish/norwegen æ +:*?:``'::æ +:*?:``"::Æ + +; Letter u -> swedish/finish ö +:*?:``u::ö +:*?:``U::Ö + +; Letter e -> swedish/finish ä +:*?:``e::ä +:*?:``E::Ä + diff --git a/exe/useu-hhkb.ahk b/exe/useu-hhkb.ahk deleted file mode 100644 index a23fd0f..0000000 --- a/exe/useu-hhkb.ahk +++ /dev/null @@ -1,19 +0,0 @@ -Capslock::LCtrl -RWin::RCtrl -LWin::return -:*?:``[::å -:*?:``{::Å -:*?:```;::ä -;:*?:``:::Ä -:*?:``'::ö -:*?:``"::Ö -:*?:``.::æ -:*?:``>::Æ -:*?:``/::ø -:*?:``?::Ø - -:B0:``:: - if (A_EndChar == ":") { - SendInput, {BS 2}Ä - } -return -- 2.43.0