summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--colors/red.vim6
-rw-r--r--vimrc8
2 files changed, 9 insertions, 5 deletions
diff --git a/colors/red.vim b/colors/red.vim
index 17f6704..25231e3 100644
--- a/colors/red.vim
+++ b/colors/red.vim
@@ -53,10 +53,12 @@ hi clear Folded
hi link Folded FoldColumn
hi LineNR term=reverse,bold ctermbg=none ctermfg=yellow cterm=bold
-hi TabLine term=none,underline cterm=none,underline ctermbg=none ctermfg=white
+hi clear TabLine
+hi TabLine term=underline cterm=none,underline ctermbg=none ctermfg=black
hi clear TabLineFill
hi link TabLineFill TabLine
-hi TabLineSel term=bold ctermbg=red ctermfg=black cterm=bold
+hi clear TabLineSel
+hi TabLineSel term=bold ctermbg=black ctermfg=yellow cterm=bold
hi CursorLine ctermbg=black cterm=none
diff --git a/vimrc b/vimrc
index 3169eef..62f76b5 100644
--- a/vimrc
+++ b/vimrc
@@ -89,8 +89,10 @@ nmap ; za
nmap <F10> :setlocal invfoldenable<CR>
"buffer moving
-nmap <ESC>l :bn<CR>
-nmap <ESC>h :bN<CR>
+nmap <ESC>h :tabN<CR>
+nmap <ESC>j :bn<CR>
+nmap <ESC>k :bN<CR>
+nmap <ESC>l :tabn<CR>
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
@@ -139,7 +141,7 @@ endif
" F*cking whitespaces
autocmd BufRead * highlight ExtraWhitespace ctermbg=red ctermfg=black guibg=red
-autocmd BufRead * match ExtraWhitespace /\s\+$\| \+\ze\t\| \+\|\t\zs \+/
+autocmd BufRead * match ExtraWhitespace /\s\+$\| \+\ze\t\| \+\| \+\|\t\zs \+/
set list listchars=tab:│ ,precedes:‥,extends:‥
nmap <F3> :set invlist<CR>