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 " Tab functionality
set expandtab set expandtab
set tabstop=4 set tabstop=4

View File

@ -1,7 +1,9 @@
" TODO: Should this go in the original init?
"Allows filetype detection "Allows filetype detection
filetype on filetype on
filetype plugin indent on filetype plugin indent on
" TODO: Myabe rename keymap and move this
" Enable mouse input " Enable mouse input
set mousehide set mousehide
set mouse=a set mouse=a
@ -18,5 +20,6 @@ else
set viminfo='100,n~/.vim/tmp/viminfo.vim set viminfo='100,n~/.vim/tmp/viminfo.vim
endif endif
" TODO: Should this go somewhere else?
" Filetype extension " Filetype extension
au BufRead,BufNewFile *.md set syntax=markdown 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 pp p
vnoremap po "_dP vnoremap po "_dP
" TODO: Versions of this for vim8
if has('nvim') if has('nvim')
" make term exiting easier " make term exiting easier
tnoremap <c-W> <c-\><c-n> tnoremap <c-W> <c-\><c-n>

View File

@ -32,6 +32,10 @@ if !exists('g:gui_oni')
endif endif
" }} Searching " }} 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 {{ " Autocomplete {{
call s:smart_source_rc('plugins/omnicompletion') call s:smart_source_rc('plugins/omnicompletion')
if exists('g:gui_oni') 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') if (v:version > 703) && !exists('g:gui_oni')
Plug 'ludovicchabant/vim-gutentags' " Auto generate tags files Plug 'ludovicchabant/vim-gutentags' " Auto generate tags files
end end
" TODO: Probably remove
if has('nvim') if has('nvim')
Plug 'kassio/neoterm', { 'on': ['TREPLSend', 'TREPLSendFile', 'T'] } Plug 'kassio/neoterm', { 'on': ['TREPLSend', 'TREPLSendFile', 'T'] }
command! Tig :T tig<CR> command! Tig :T tig<CR>
command! Tox :T tox<CR> command! Tox :T tox<CR>
endif endif
" TODO: Maybe ALE. Similar reason as coc.nvim. Probably only using latest vim
" if developing seriously
if (has('nvim') || v:version >= 800) if (has('nvim') || v:version >= 800)
call s:smart_source_rc('plugins/neomake') call s:smart_source_rc('plugins/neomake')
else else
@ -112,13 +121,6 @@ call s:smart_source_rc('plugins/python')
" Themes {{ " Themes {{
Plug 'altercation/vim-colors-solarized' 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/vividchalk.vim'
Plug 'vim-scripts/wombat256.vim' Plug 'vim-scripts/wombat256.vim'
" }} " }}
@ -126,7 +128,9 @@ call s:smart_source_rc('plugins/goyo-limelight') " Distraction free editing
" System {{ " System {{
" TODO: Do I need this?
Plug 'Shougo/vimproc.vim', { 'do': 'make' } Plug 'Shougo/vimproc.vim', { 'do': 'make' }
" Definitely using these.
Plug 'tpope/vim-endwise' Plug 'tpope/vim-endwise'
Plug 'tpope/vim-eunuch' Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-repeat' Plug 'tpope/vim-repeat'

View File

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

View File

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

View File

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