Created
May 25, 2020 11:44
-
-
Save oreillyross/a5850a98a3dabb7ea237e89b4083a86e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
set splitbelow | |
set splitright | |
let g:auto_save = 1 | |
set relativenumber | |
let g:auto_save_events = ["InsertLeave", "TextChanged"] | |
map <C-J> <C-W>j<C-W>_ | |
map <C-K> <C-W>k<C-W>_ | |
set wmh=0 | |
let g:ctrlp_custom_ignore = { | |
\ 'dir': '\.git$\|\.yardoc\|node_modules\|log\|tmp$', | |
\ 'file': '\.so$\|\.dat$|\.DS_Store$' | |
\ } | |
let g:closetag_xhtml_filenames = '*.js' | |
call plug#begin() | |
Plug 'jpalardy/vim-slime' | |
Plug 'alvan/vim-closetag' | |
Plug 'yuezk/vim-js' | |
Plug 'maxmellon/vim-jsx-pretty' | |
Plug '907th/vim-auto-save' | |
Plug 'vim-scripts/ctrlp.vim' | |
Plug 'prettier/vim-prettier', { 'do': 'yarn install' } | |
Plug 'jiangmiao/auto-pairs' | |
call plug#end() | |
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment