going to try out guicolors in vim for a bit
This commit is contained in:
@ -1,8 +1,12 @@
|
||||
silent! colorscheme $COLORSCHEME
|
||||
set termguicolors
|
||||
|
||||
let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set t_Co=256
|
||||
|
||||
colorscheme dim
|
||||
|
||||
highlight Normal guibg=NONE ctermbg=NONE
|
||||
highlight SpellBad ctermbg=NONE ctermfg=red
|
||||
highlight LineNr ctermfg=yellow
|
||||
highlight SignColumn guibg=NONE ctermbg=NONE
|
||||
highlight SpellBad guibg=NONE guifg=red ctermbg=NONE ctermfg=red
|
||||
highlight LineNr guibg=NONE guifg=purple ctermbg=NONE ctermfg=yellow
|
||||
highlight SignColumn guibg=NONE ctermbg=NONE
|
||||
|
@ -74,7 +74,7 @@ augroup file_specific_command_overrides
|
||||
autocmd FileType tex nnoremap <Leader>eb :! scwrypts -n latex/build-pdf -- %:p<CR>
|
||||
autocmd FileType tex nnoremap <Leader>ef :! scwrypts -n latex/cleanup -- %:p<CR>
|
||||
|
||||
autocmd FileType markdown nnoremap <Leader>ec :! $WEBBROWSER %:p<CR>
|
||||
autocmd FileType markdown nnoremap <Leader>ec :!xdg-open %:p<CR>
|
||||
|
||||
autocmd FileType go nnoremap <Leader>ec :!clear<CR><CR>q:?GoRun<CR><CR>
|
||||
autocmd FileType go nnoremap <silent> <Leader>ef <Plug>(go-imports)
|
||||
|
@ -7,15 +7,14 @@ call vundle#begin()
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
" --- installed plugins -----------------------------------------------
|
||||
" {{{
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'fatih/vim-go'
|
||||
Plugin 'jeffkreeftmeijer/vim-dim'
|
||||
Plugin 'rrethy/vim-hexokinase'
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'valloric/youcompleteme'
|
||||
Plugin 'w0rp/ale'
|
||||
|
||||
Plugin 'valloric/youcompleteme', {'oninstall': 'python3 install.py --all', 'onupdate': 'python3 install.py --all'}
|
||||
|
||||
Plugin 'rrethy/vim-hexokinase', {'oninstall': 'make hexokinase', 'onupdate': 'make hexokinase'}
|
||||
" }}}
|
||||
" ---------------------------------------------------------------------
|
||||
call vundle#end()
|
||||
@ -24,9 +23,20 @@ filetype plugin indent on
|
||||
" --- plugin configuration --------------------------------------------
|
||||
" {{{
|
||||
|
||||
" fatih/vim-go
|
||||
let g:go_imports_autosave = 0
|
||||
let g:go_def_mapping_enabled = 0
|
||||
let g:go_fmt_fail_silently = 1
|
||||
let g:go_def_reuse_buffer = 1
|
||||
let g:go_textobj_enabled = 0
|
||||
|
||||
|
||||
" rrethy/vim-hexokinase
|
||||
let g:Hexokinase_highlighters = ['foregroundfull']
|
||||
|
||||
" scrooloose/nerdtree
|
||||
nnoremap <C-o> :NERDTreeToggle %<CR>
|
||||
let g:NERDTreeNodeDelimiter = "\u00a0" " -- Was seeing ^G character, and this should fix that
|
||||
let g:NERDTreeNodeDelimiter = "\u00a0" " -- fixes ^G character
|
||||
|
||||
|
||||
" Valloric/YouCompleteMe
|
||||
@ -61,13 +71,5 @@ let g:ale_sign_column_always = 1
|
||||
nmap <Leader>ae <Plug>(ale_next)
|
||||
nmap <Leader>ar <Plug>(ale_previous)
|
||||
|
||||
|
||||
" fatih/vim-go
|
||||
let g:go_imports_autosave = 0
|
||||
let g:go_def_mapping_enabled = 0
|
||||
let g:go_fmt_fail_silently = 1
|
||||
let g:go_def_reuse_buffer = 1
|
||||
let g:go_textobj_enabled = 0
|
||||
|
||||
" }}}
|
||||
" ---------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user