WIP: Add a buncha TODOs

This commit is contained in:
ViViDboarder 2019-10-16 09:49:04 -07:00
parent 42d33b9f48
commit 2955787cf2
7 changed files with 22 additions and 20 deletions

View File

@ -1,3 +1,4 @@
" TODO: Maybe consolodate into the init.rc.vim
" Tab functionality
set expandtab
set tabstop=4

View File

@ -1,7 +1,9 @@
" TODO: Should this go in the original init?
"Allows filetype detection
filetype on
filetype plugin indent on
" TODO: Myabe rename keymap and move this
" Enable mouse input
set mousehide
set mouse=a
@ -18,5 +20,6 @@ else
set viminfo='100,n~/.vim/tmp/viminfo.vim
endif
" TODO: Should this go somewhere else?
" Filetype extension
au BufRead,BufNewFile *.md set syntax=markdown

View File

@ -65,6 +65,7 @@ nmap <leader>cf va{<ESC>zf%<ESC>:nohlsearch<CR>
vnoremap pp p
vnoremap po "_dP
" TODO: Versions of this for vim8
if has('nvim')
" make term exiting easier
tnoremap <c-W> <c-\><c-n>

View File

@ -32,6 +32,10 @@ if !exists('g:gui_oni')
endif
" }} Searching
" TODO: Maybe replace with coc.nvim. If I'm doing a lot of development, I will
" have latest versions of vim or nvim
" Only need one fallback, maybe neocomplcache
" Autocomplete {{
call s:smart_source_rc('plugins/omnicompletion')
if exists('g:gui_oni')
@ -52,11 +56,16 @@ call s:smart_source_rc('plugins/tcomment_vim')
if (v:version > 703) && !exists('g:gui_oni')
Plug 'ludovicchabant/vim-gutentags' " Auto generate tags files
end
" TODO: Probably remove
if has('nvim')
Plug 'kassio/neoterm', { 'on': ['TREPLSend', 'TREPLSendFile', 'T'] }
command! Tig :T tig<CR>
command! Tox :T tox<CR>
endif
" TODO: Maybe ALE. Similar reason as coc.nvim. Probably only using latest vim
" if developing seriously
if (has('nvim') || v:version >= 800)
call s:smart_source_rc('plugins/neomake')
else
@ -112,13 +121,6 @@ call s:smart_source_rc('plugins/python')
" Themes {{
Plug 'altercation/vim-colors-solarized'
Plug 'vim-scripts/candy.vim'
Plug 'vim-scripts/eclipse.vim'
Plug 'morhetz/gruvbox'
Plug 'nanotech/jellybeans.vim'
Plug 'vim-scripts/nuvola.vim'
Plug 'vim-scripts/summerfruit256.vim'
Plug 'therubymug/vim-pyte'
Plug 'vim-scripts/vividchalk.vim'
Plug 'vim-scripts/wombat256.vim'
" }}
@ -126,7 +128,9 @@ call s:smart_source_rc('plugins/goyo-limelight') " Distraction free editing
" System {{
" TODO: Do I need this?
Plug 'Shougo/vimproc.vim', { 'do': 'make' }
" Definitely using these.
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-repeat'

View File

@ -48,3 +48,4 @@ if executable('ag')
" ag is fast enough we don't need cache
let g:ctrlp_use_caching = 0
endif
" TODO: Add rg support

View File

@ -20,3 +20,4 @@ if executable('ack')
set grepprg=ack
command -nargs=+ Ack :GrepperAck <args>
endif
" TODO: Add rg

View File

@ -15,6 +15,7 @@ set hls
" Color Schemes {{
" Set theme based on $VIM_COLOR variable
" TODO: move other colorscheme detection block up
try
if !empty($VIM_COLOR)
colorscheme $VIM_COLOR
@ -27,27 +28,18 @@ catch /^Vim\%((\a\+)\)\=:E185/
" This happens when first installing bundles
colorscheme default
endtry
" Override gui colorscheme
if IsGuiApp()
colorscheme wombat256mod
endif
" Set Airline theme
if g:colors_name == 'github'
let g:airline_theme = 'solarized'
endif
" }}
" Set gui fonts {{
" Set gui specific values {{
if IsGuiApp()
colorscheme wombat256mod
if IsWindows()
set guifont=Consolas:h10:b
elseif IsMac()
try
set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h11
catch
" Failed to set font
" Failed to set font, ok with default
endtry
endif
endif
@ -70,7 +62,6 @@ if &term =~ "^screen"
set t_ut=
endif
set notitle
" set title
" }}
" Function and command to update colors based on light and dark mode