Misc Updates (#1)

This commit is contained in:
Matthew Ryan Dillon 2019-02-12 10:15:47 -07:00 committed by GitHub
parent d7ae1db223
commit 8d16ed159b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 770 additions and 157 deletions

30
vimrc
View file

@ -23,6 +23,20 @@ call plug#begin()
Plug 'francoiscabrol/ranger.vim'
" Delimited file querying
Plug 'mechatroner/rainbow_csv'
" fzf setup
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
" vue2
Plug 'posva/vim-vue'
" golang support
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
" elixir
Plug 'elixir-editors/vim-elixir'
" the silver searcher
Plug 'mileszs/ack.vim'
" vimwiki
Plug 'vimwiki/vimwiki'
" typescript syntax highlighting
Plug 'leafgarland/typescript-vim'
call plug#end()
set t_Co=256
@ -91,8 +105,8 @@ set writebackup
" change the mapleader from \ to ,
let mapleader=" "
" ranger config
map <leader><Tab> :RangerWorkingDirectory<CR>
" fzf config
map <leader><Tab> :FZF<CR>
" PEP8 formatting
au BufNewFile,BufRead *.py
@ -125,10 +139,16 @@ nmap <leader>l :bnext<CR>
" cycle to previous buffer
nmap <leader>h :bprevious<CR>
set rtp+=/usr/local/opt/fzf
" flake8 config
let g:flake8_show_in_gutter = 1
let g:flake8_error_marker = 'EE'
let g:flake8_warning_marker = 'WW'
autocmd BufWritePost *.py call Flake8()
" Inform ack.vim that we are actually using the_silver_searcher
let g:ackprg = 'ag --vimgrep'
" vimwiki config
let g:vimwiki_list = [{'path': '$HOME/Dropbox/vimwiki/'}]
" netrw
let g:netrw_liststyle = 3 " tree view