-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.local
58 lines (52 loc) · 1.56 KB
/
vimrc.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
syntax on
set termguicolors
set background=dark
colorscheme base16-default-dark
set listchars=eol:¬,tab:\|\ ,trail:.,extends:>,precedes:<
set list
set number
highlight Pmenu ctermbg=gray guibg=gray
set undofile
set undodir=$HOME/.vim/undo
set mouse=
set backupcopy=yes
let g:vim_jsx_pretty_colorful_config = 1
let g:prettier#config#bracket_spacing = 'true'
" let g:enable_bold_font = 1
let g:syntastic_jade_checkers = ['jade_lint']
let g:airline#extensions#tabline#enabled = 1
let g:session_autosave = 'yes'
let g:session_autoload = 'no'
let g:tmpl_search_paths = ['~/.templates.vim']
let g:tmpl_author_email = 'paul.fournet@intercloud.fr'
let g:tmpl_author_name = 'Paul Fournet'
let g:sql_type_default = 'pgsql'
let g:user_emmet_settings = {
\ 'javascript.jsx' : {
\ 'extends' : 'jsx',
\ },
\}
" let g:fixmyjs_rc_path = '~/work/jobposting/.eslintrc'
noremap <C-p> :bprev<CR>
noremap <C-n> :bnext<CR>
vnoremap <C-n> :Commentary<CR>
nnoremap <Leader>q :Bdelete<CR>
imap <C-Return> <CR><CR><C-o>k<Tab>
command W :w
set nohlsearch
set shiftwidth=2
set expandtab
set softtabstop=2
let g:indent_guides_auto_colors = 0
let g:indent_guides_guide_size= 1
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=darkgrey
autocmd VimEnter * IndentGuidesToggle
filetype plugin on
function! s:check_back_space() abort "{{{
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction"}}}
let g:lua_compiler_name = '/usr/local/bin/luac'
let g:lua_complete_omni = 1
" let b:lua_compiler_name = '/usr/local/bin/lualint'
set completefunc=emoji#complete