]> git.zndr.dk Git - dotfiles.git/commitdiff
Add vim airline plugin
authorJannik ZANDER <jannikz@gmail.com>
Mon, 9 May 2016 18:34:28 +0000 (20:34 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Mon, 9 May 2016 18:35:28 +0000 (20:35 +0200)
.vimrc
exe/usdk-hhkb.ahk
exe/useu-hhkb.ahk [deleted file]

diff --git a/.vimrc b/.vimrc
index 2b860a959560e2e6a769a3c04b2f780ac1d5184d..9448ac650cc2247bd0df3a77e0b4a0e871f09698 100644 (file)
--- 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 <C-l> :TlistToggle<CR>
 "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           <ESC>
 inoremap j<Space>     j
index 3a52f6bbc114cc5f47e26f36fb462c34aff8fdfb..a2cd7a32f11f1611e5f968c6df4d00675389ccf0 100644 (file)
@@ -1,9 +1,25 @@
-Capslock::LCtrl\r
+; Use caps and rwin as ctrl (HHKB alike)\r
+Capslock::LCtrl\r
 RWin::RCtrl\r
 LWin::return\r
-:*?:``e::æ\r
-:*?:``o::ø\r
+\r
+; Letter a -> skandinavian å\r
 :*?:``a::å\r
-:*?:``E::Æ\r
-:*?:``O::Ø\r
 :*?:``A::Å\r
+\r
+; Letter o -> danish/norwegen ø\r
+:*?:``o::ø\r
+:*?:``O::Ø\r
+\r
+; Letter ' -> danish/norwegen æ\r
+:*?:``'::æ\r
+:*?:``"::Æ\r
+\r
+; Letter u -> swedish/finish ö\r
+:*?:``u::ö\r
+:*?:``U::Ö\r
+\r
+; Letter e -> swedish/finish ä\r
+:*?:``e::ä\r
+:*?:``E::Ä\r
+\r
diff --git a/exe/useu-hhkb.ahk b/exe/useu-hhkb.ahk
deleted file mode 100644 (file)
index a23fd0f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Capslock::LCtrl\r
-RWin::RCtrl\r
-LWin::return\r
-:*?:``[::å\r
-:*?:``{::Å\r
-:*?:```;::ä\r
-;:*?:``:::Ä\r
-:*?:``'::ö\r
-:*?:``"::Ö\r
-:*?:``.::æ\r
-:*?:``>::Æ\r
-:*?:``/::ø\r
-:*?:``?::Ø\r
-\r
-:B0:``::\r
-       if (A_EndChar == ":") {\r
-               SendInput, {BS 2}Ä\r
-       }\r
-return\r