Vim: Go noir
This commit is contained in:
31
.vim/vimrc
31
.vim/vimrc
@@ -48,7 +48,7 @@ Plugin 'honza/vim-snippets'
|
|||||||
Plugin 'wellle/context.vim'
|
Plugin 'wellle/context.vim'
|
||||||
Plugin 'svermeulen/vim-yoink'
|
Plugin 'svermeulen/vim-yoink'
|
||||||
Plugin 'will133/vim-dirdiff'
|
Plugin 'will133/vim-dirdiff'
|
||||||
Plugin 'n0v1c3/vira'
|
"Plugin 'n0v1c3/vira'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Files switch, jump and grep-like tools {{{
|
" Files switch, jump and grep-like tools {{{
|
||||||
@@ -77,6 +77,7 @@ Plugin 'kergoth/vim-bitbake' " Bitbake templates and syntax
|
|||||||
"Plugin 'vim-scripts/DoxygenToolkit.vim' " Doxygen support
|
"Plugin 'vim-scripts/DoxygenToolkit.vim' " Doxygen support
|
||||||
Plugin 'pboettch/vim-cmake-syntax'
|
Plugin 'pboettch/vim-cmake-syntax'
|
||||||
Plugin 'aklt/plantuml-syntax'
|
Plugin 'aklt/plantuml-syntax'
|
||||||
|
Plugin 'vim-pandoc/vim-pandoc-syntax'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Colorschemes {{{
|
" Colorschemes {{{
|
||||||
@@ -84,7 +85,12 @@ Plugin 'aklt/plantuml-syntax'
|
|||||||
"Plugin 'jeaye/color_coded'
|
"Plugin 'jeaye/color_coded'
|
||||||
"Plugin 'thiagoalessio/rainbow_levels.vim'
|
"Plugin 'thiagoalessio/rainbow_levels.vim'
|
||||||
"Plugin 'fielding/vice'
|
"Plugin 'fielding/vice'
|
||||||
Plugin 'whatyouhide/vim-gotham'
|
"Plugin 'whatyouhide/vim-gotham'
|
||||||
|
"Plugin 'chuling/ci_dark'
|
||||||
|
"Plugin 'adrian5/oceanic-next-vim'
|
||||||
|
"Black and white:
|
||||||
|
"Plugin 'ewilazarus/preto'
|
||||||
|
Plugin 'andreasvc/vim-256noir.git'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Other plugins (external tools, etc) {{{
|
" Other plugins (external tools, etc) {{{
|
||||||
@@ -93,7 +99,9 @@ Plugin 'jez/vim-superman' "vman application
|
|||||||
Plugin 'vimwiki/vimwiki'
|
Plugin 'vimwiki/vimwiki'
|
||||||
"Plugin 'metakirby5/codi.vim' " live coding
|
"Plugin 'metakirby5/codi.vim' " live coding
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plugin 'vim-airline/vim-airline'
|
||||||
|
Plugin 'vim-airline/vim-airline-themes'
|
||||||
Plugin 'mhinz/vim-startify'
|
Plugin 'mhinz/vim-startify'
|
||||||
|
Plugin 'vim-pandoc/vim-pandoc'
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
@@ -123,9 +131,9 @@ set autoindent
|
|||||||
set cino=l1,:0
|
set cino=l1,:0
|
||||||
set showmode
|
set showmode
|
||||||
set showcmd
|
set showcmd
|
||||||
" do not force write on buffer switch
|
" do not force write on buffer switch
|
||||||
set hidden
|
set hidden
|
||||||
"set visualbell
|
" set visualbell
|
||||||
set nowrapscan
|
set nowrapscan
|
||||||
|
|
||||||
set cursorline
|
set cursorline
|
||||||
@@ -141,7 +149,7 @@ function! NearestMethodOrFunction() abort
|
|||||||
return get(b:, 'vista_nearest_method_or_function', '')
|
return get(b:, 'vista_nearest_method_or_function', '')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
set statusline+=\
|
set statusline+=\ "comment to remove trailing space
|
||||||
set statusline+=%{NearestMethodOrFunction()}
|
set statusline+=%{NearestMethodOrFunction()}
|
||||||
" }}}
|
" }}}
|
||||||
set number
|
set number
|
||||||
@@ -334,8 +342,8 @@ match Error /\s\+$\|DU\cPA/
|
|||||||
|
|
||||||
" Removing scrollbars
|
" Removing scrollbars
|
||||||
if !has("gui_running")
|
if !has("gui_running")
|
||||||
colorscheme gotham256
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
colorscheme 256_noir
|
||||||
" To show special characters in Vim
|
" To show special characters in Vim
|
||||||
set listchars=tab:▸\ ,trail:¬
|
set listchars=tab:▸\ ,trail:¬
|
||||||
set list
|
set list
|
||||||
@@ -453,3 +461,14 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
|
|||||||
|
|
||||||
let g:vim_search_pulse_mode = 'pattern'
|
let g:vim_search_pulse_mode = 'pattern'
|
||||||
let g:vim_search_pulse_duration = 400
|
let g:vim_search_pulse_duration = 400
|
||||||
|
|
||||||
|
"Taken from 256_noir readme:
|
||||||
|
set cursorline
|
||||||
|
highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212
|
||||||
|
autocmd InsertEnter * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=234 guifg=NONE guibg=#1c1c1c
|
||||||
|
autocmd InsertLeave * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212
|
||||||
|
|
||||||
|
let g:airline_theme = 'minimalist'
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline_stl_path_style = 'short'
|
||||||
|
let g:airline_highlighting_cache = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user