summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------vim/.vim/bundle/airline0
m---------vim/.vim/bundle/lightline0
-rw-r--r--vim/.vimrc17
4 files changed, 10 insertions, 10 deletions
diff --git a/.gitmodules b/.gitmodules
index 00b35e2..21b7222 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -31,3 +31,6 @@
[submodule "urxvt/.urxvt/urxvt-tabbedex"]
path = by_os/Linux/urxvt/.urxvt/urxvt-tabbedex
url = git://github.com/stepb/urxvt-tabbedex.git
+[submodule "vim/.vim/bundle/lightline"]
+ path = vim/.vim/bundle/lightline
+ url = https://github.com/itchyny/lightline.vim
diff --git a/vim/.vim/bundle/airline b/vim/.vim/bundle/airline
deleted file mode 160000
-Subproject 1dc8eac3d232bdcc7941deb47f300ac79e34487
diff --git a/vim/.vim/bundle/lightline b/vim/.vim/bundle/lightline
new file mode 160000
+Subproject 47765c787ddc981c2eab6105ade84067d164893
diff --git a/vim/.vimrc b/vim/.vimrc
index 9444378..dd58d59 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -46,7 +46,7 @@ set spellfile=$HOME/.vim/spell/en.utf-8.add
set nospell
" color
-if $TERM =~ "^rxvt" || $TERM =~ "256color$"
+if $TERM =~ "256color$"
set t_Co=256
colorscheme pks256
else
@@ -66,17 +66,14 @@ nnoremap <C-s> :w<cr>
nmap <C-b> :TagbarToggle<cr>
imap ^L <Esc>[s1z=`]a
-
" cursorline
-" autocmd InsertEnter * setlocal cursorline
-" autocmd InsertLeave * setlocal nocursorline
+autocmd InsertEnter * setlocal cursorline
+autocmd InsertLeave * setlocal nocursorline
-" airline
-let g:airline_theme = 'pks256'
-let g:airline_powerline_fonts = 1
-let g:airline#extensions#branch#enabled = 1
-let g:airline_symbols = {}
-let g:airline_symbols.whitespace = 'Ξ'
+" lightline
+let g:lightline = {
+ \ 'colorscheme': 'landscape',
+ \ }
" tagbar
let g:tagbar_compact = 1