fix for solarized8 as well as some vimrc tweaks, now with more iceberg
This commit is contained in:
parent
18f12d1912
commit
5420c42ee0
2 changed files with 26 additions and 10 deletions
35
vimrc
35
vimrc
|
@ -6,10 +6,12 @@ set ignorecase
|
||||||
set incsearch
|
set incsearch
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set nobackup
|
set nobackup
|
||||||
|
set nomodeline
|
||||||
set ruler
|
set ruler
|
||||||
set showcmd
|
set showcmd
|
||||||
set smartcase
|
set smartcase
|
||||||
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
||||||
|
set wildmenu
|
||||||
" scroll before reaching the first / final line
|
" scroll before reaching the first / final line
|
||||||
set scrolloff=3
|
set scrolloff=3
|
||||||
set sidescrolloff=15
|
set sidescrolloff=15
|
||||||
|
@ -23,7 +25,9 @@ set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab
|
||||||
|
|
||||||
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
||||||
|
|
||||||
let &t_Co=256
|
" termcap fixes
|
||||||
|
set t_Co=256
|
||||||
|
set t_ut=
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set fillchars+=vert:│
|
set fillchars+=vert:│
|
||||||
|
@ -48,8 +52,15 @@ nmap <Leader>p "+p
|
||||||
nmap <Leader>P "+P
|
nmap <Leader>P "+P
|
||||||
vmap <Leader>p "+p
|
vmap <Leader>p "+p
|
||||||
vmap <Leader>P "+P
|
vmap <Leader>P "+P
|
||||||
"quit without saving
|
"move macro somewhere I won't accidentally use it
|
||||||
nmap <Leader>qq :qa!<CR>
|
nnoremap Q q
|
||||||
|
nnoremap q <Nop>
|
||||||
|
"quit / save
|
||||||
|
nmap qq :q<CR>
|
||||||
|
nmap qf :q!<CR>
|
||||||
|
nmap qa :qa<CR>
|
||||||
|
nmap qw :wq<CR>
|
||||||
|
nmap <Leader>w :w<CR>
|
||||||
|
|
||||||
" still have to deal with old vim versions :<
|
" still have to deal with old vim versions :<
|
||||||
if v:version >= 700
|
if v:version >= 700
|
||||||
|
@ -89,13 +100,16 @@ if v:version >= 700
|
||||||
Plug 'nvie/vim-togglemouse' "hotkey to toggle mouse
|
Plug 'nvie/vim-togglemouse' "hotkey to toggle mouse
|
||||||
Plug 'vim-airline/vim-airline' "airline
|
Plug 'vim-airline/vim-airline' "airline
|
||||||
Plug 'vim-airline/vim-airline-themes' "themes for airline
|
Plug 'vim-airline/vim-airline-themes' "themes for airline
|
||||||
Plug 'vimwiki/vimwiki' "another attempt at doing notebook via vim
|
Plug 'wincent/command-t' "fuzzy file search
|
||||||
Plug 'neomake/neomake' "linter
|
Plug 'tpope/vim-fugitive' "moar git awesomeness
|
||||||
Plug 'davidhalter/jedi-vim' "python support
|
|
||||||
Plug 'ervandew/supertab' "TAB autocompletion
|
" python, uncomment when needed
|
||||||
Plug 'ctrlpvim/ctrlp.vim' "fuzzy file search
|
"Plug 'neomake/neomake' "linter
|
||||||
|
"Plug 'davidhalter/jedi-vim' "python support
|
||||||
|
"Plug 'ervandew/supertab' "TAB autocompletion
|
||||||
|
|
||||||
" colorschemes
|
" colorschemes
|
||||||
|
Plug 'cocopon/iceberg.vim'
|
||||||
Plug 'lifepillar/vim-solarized8'
|
Plug 'lifepillar/vim-solarized8'
|
||||||
Plug 'KeitaNakamura/neodark.vim'
|
Plug 'KeitaNakamura/neodark.vim'
|
||||||
Plug 'jonathanfilip/vim-lucius'
|
Plug 'jonathanfilip/vim-lucius'
|
||||||
|
@ -161,7 +175,7 @@ if v:version >= 700
|
||||||
set guicursor+=r:hor1-Cursor/lCursor "underline for replace
|
set guicursor+=r:hor1-Cursor/lCursor "underline for replace
|
||||||
set guicursor+=a:blinkon0 "and none of them should blink
|
set guicursor+=a:blinkon0 "and none of them should blink
|
||||||
set guiheadroom=0
|
set guiheadroom=0
|
||||||
colorscheme neodark
|
colorscheme iceberg
|
||||||
map <S-Insert> <MiddleMouse>
|
map <S-Insert> <MiddleMouse>
|
||||||
map! <S-Insert> <MiddleMouse>
|
map! <S-Insert> <MiddleMouse>
|
||||||
elseif (has("nvim") || v:version >= 800) && $TERM != 'screen'
|
elseif (has("nvim") || v:version >= 800) && $TERM != 'screen'
|
||||||
|
@ -170,7 +184,8 @@ if v:version >= 700
|
||||||
set t_8b=[48;2;%lu;%lu;%lum
|
set t_8b=[48;2;%lu;%lu;%lum
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set mouse=a
|
set mouse=a
|
||||||
colorscheme neodark
|
let g:airline_theme='neodark'
|
||||||
|
colorscheme iceberg
|
||||||
else
|
else
|
||||||
set mouse=
|
set mouse=
|
||||||
colorscheme solarized8_light
|
colorscheme solarized8_light
|
||||||
|
|
|
@ -25,6 +25,7 @@ URxvt.internalBorder: 1
|
||||||
URxvt.fading: 5
|
URxvt.fading: 5
|
||||||
URxvt.pastableTabs: true
|
URxvt.pastableTabs: true
|
||||||
URxvt.geometry: 120:36
|
URxvt.geometry: 120:36
|
||||||
|
URxvt.intensityStyles: false
|
||||||
|
|
||||||
! urxvt perl extensions
|
! urxvt perl extensions
|
||||||
URxvt.perl-ext-common: default,matcher,clipboard
|
URxvt.perl-ext-common: default,matcher,clipboard
|
||||||
|
|
Loading…
Reference in a new issue